tomFlowee
bb7275466b
Stop using deprecated asio io_service
...
This ports the io-service to the source compatible io-context
class, with the most work going to the WorkerThreads which owns
that one.
2025-02-08 19:05:26 +01:00
tomFlowee
c6548c82e6
add more seeds
2024-01-30 20:50:53 +01:00
tomFlowee
17fd9b84e2
Always fetch the DNS feeds
2024-01-28 21:31:28 +01:00
tomFlowee
1c6341ff1d
The owner agreed it should be disabled for now.
...
The bchd seed owner says that since there are no bchd nodes on main-chain
due to the code being outdated, the seed is empty.
We hope this will change in the future, but for now it makes no sense to
query it since it will just generate a fail.
2023-11-03 22:18:30 +01:00
tomFlowee
64b494c97b
Simplify the statemachine int.
2023-11-03 18:28:27 +01:00
tomFlowee
c8fc2823e7
Port to non-deprecated methods.
2023-11-03 16:59:29 +01:00
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