From: Matt Corallo Date: Mon, 20 May 2019 22:35:42 +0000 (-0400) Subject: Allow NODE_NETWORK_LIMITED for full node consideration X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=dnsseed-rust;a=commitdiff_plain;h=2ff004bd87f6aee72742f3e9249ec5b21321de0e Allow NODE_NETWORK_LIMITED for full node consideration --- diff --git a/src/main.rs b/src/main.rs index bdb8aa1..dd87140 100644 --- a/src/main.rs +++ b/src/main.rs @@ -101,7 +101,7 @@ pub fn scan_node(scan_time: Instant, node: SocketAddr) { state_lock.fail_reason = AddressState::LowVersion; return future::err(()); } - if ver.services & 1 != 1 { + if ver.services & (1 | (1 << 10)) == 0 { printer.add_line(format!("Updating {} to NotFullNode (services {:x})", node, ver.services), true); state_lock.fail_reason = AddressState::NotFullNode; return future::err(());