mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
Introduce REQUIRED_SERVICES constant
This commit is contained in:
parent
ee06e04369
commit
ecd7fd37c8
3 changed files with 4 additions and 2 deletions
|
|
@ -1596,7 +1596,7 @@ void ThreadOpenConnections()
|
|||
continue;
|
||||
|
||||
// only connect to full nodes
|
||||
if (!(addr.nServices & NODE_NETWORK))
|
||||
if ((addr.nServices & REQUIRED_SERVICES) != REQUIRED_SERVICES)
|
||||
continue;
|
||||
|
||||
// only consider very recently tried nodes after 30 failed attempts
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue