From: Matt Corallo Date: Tue, 21 Jul 2020 18:09:28 +0000 (-0400) Subject: Sort fields in size order X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=25b03a1fd55b67d995e50c2c16243456a311c4f0;p=dnsseed-rust Sort fields in size order --- diff --git a/src/main.rs b/src/main.rs index 316ca12..96a74fd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -84,6 +84,7 @@ static ALLOC: MemoryLimitingAllocator = MemoryLimitingAllocator; struct PeerState { request: Arc<(u64, BlockHash, Block)>, + pong_nonce: u64, node_services: u64, msg: (String, bool), fail_reason: AddressState, @@ -92,7 +93,6 @@ struct PeerState { recvd_pong: bool, recvd_addrs: bool, recvd_block: bool, - pong_nonce: u64, } pub fn scan_node(scan_time: Instant, node: SocketAddr, manual: bool) {