diff --git a/pushtx/src/p2p/client.rs b/pushtx/src/p2p/client.rs index aaf85ef..0637531 100644 --- a/pushtx/src/p2p/client.rs +++ b/pushtx/src/p2p/client.rs @@ -48,21 +48,21 @@ pub fn client(socks_proxy: Option, network: crate::Network) -> Clien network: network.into(), join_handle, our_version: VersionMessage { - version: 70015, + version: 70016, services: bitcoin::p2p::ServiceFlags::NONE, - timestamp: crate::posix_time() as i64, + timestamp: 0, receiver: bitcoin::p2p::Address { - services: bitcoin::p2p::ServiceFlags::default(), + services: bitcoin::p2p::ServiceFlags::NONE, address: [0; 8], - port: 8333, + port: 0, }, sender: bitcoin::p2p::Address { - services: bitcoin::p2p::ServiceFlags::default(), + services: bitcoin::p2p::ServiceFlags::NONE, address: [0; 8], port: 0, }, nonce: fastrand::u64(..), - user_agent: "".to_string(), + user_agent: "/pynode:0.0.1/".to_string(), start_height: 0, relay: false, },