projects
/
dnsseed-rust
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e57da41
)
Allow NODE_NETWORK_LIMITED for full node consideration
author
Matt Corallo
<git@bluematt.me>
Mon, 20 May 2019 22:35:42 +0000
(18:35 -0400)
committer
Matt Corallo
<git@bluematt.me>
Mon, 20 May 2019 22:35:42 +0000
(18:35 -0400)
src/main.rs
patch
|
blob
|
history
diff --git
a/src/main.rs
b/src/main.rs
index bdb8aa1d81bc2f95b908680cfe10413c3f3fc90d..dd87140e7fe39ce471687202a1e61229f3e4deb0 100644
(file)
--- 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(());