tomFlowee
dbeb0ff32d
Wait longer for the 'getaddr'
...
Peers take a good amount of time to respond, so wait longer before
connecting to a different peer.
We now wait 60 seconds before creating more connections.
2023-04-17 19:22:05 +02:00
tomFlowee
3fd358be4d
Don't ask for addresses from all peers
...
Make sure we only ask a peer that we know is on our chain.
2023-02-25 11:05:13 +01:00
tomFlowee
a298d86f5f
This seed has 1 IP which is currently offline.
...
For now lets just disable it.
2022-07-14 10:52:00 +02:00
tomFlowee
9a65a2f9c9
Remove empty and sometimes hanging DNS
2021-11-19 14:16:41 +01:00
tomFlowee
7647dde2b5
Handle DNS feeds better.
...
Avoid issues when the DNS is slow.
Increase the score of an IP that is part of a feed.
2021-01-13 18:15:33 +01:00
TomZ
9397ab54e6
Accept less peers for non-mainnet chains.
2020-11-05 17:42:51 +01:00
TomZ
8e2e343695
Fix out-of-range
...
This makes the fetching of DNS based entries work much better and
actively avoids an off-by-one issue when accessing the vector.
2020-11-05 16:55:38 +01:00
TomZ
3f5fe41534
P2PNet: Support multiple chains.
...
This adds support for the testnet4 chain.
2020-10-29 21:47:53 +01:00
TomZ
158a70ca12
Increase requirement for DB size now we persist them
2020-05-16 12:17:24 +02:00
TomZ
43ea10d9ef
Prioritize the actually maintained seed
2020-04-27 11:39:57 +02:00
TomZ
25ffc84f80
Introduce new lib p2p
...
We reuse the NetworkManager lower level code in order to connect
to the Bitcoin P2P network.
This implements the basics for anyone wanting to be a player on
this network.
2020-04-20 21:49:03 +02:00