diff options
author | Anthony Towns <aj@erisian.com.au> | 2020-02-11 13:20:21 +1000 |
---|---|---|
committer | Anthony Towns <aj@erisian.com.au> | 2020-03-17 11:33:07 +1000 |
commit | fa5894f7f581718ea28bb34b52fcd3b33ff3e644 (patch) | |
tree | ba8b04b40f0bec26f7cd4aab1177b95e5bb430b8 /test/functional/tool_wallet.py | |
parent | 646f0ada0205ae4b3952107e3b1542f06adda32b (diff) |
DNS seeds: wait for 5m instead of 11s if 1000+ peers are known
If 1000 potential peers are known, wait for 5m before querying DNS seeds
for more peers, since eventually the addresses we already know should
get us connected. Also check every 11s whether we've got enough active
outbounds that DNS seeds aren't worth querying, and exit the dnsseed
thread early if so.
Diffstat (limited to 'test/functional/tool_wallet.py')
0 files changed, 0 insertions, 0 deletions