nim-eth/eth/p2p
Kim De Mey d2ba753792
Add rlpx metrics and avoid immediate peer reconnections (#585)
* Add metrics related to devp2p peer connections

* Avoid reconnecting to peers that just failed connection

- Add SeenTable to avoid reconnecting to peers immediately after
a failed connect. Depending on the failure, the amount of time is
different. This is similar to what is done in nimbus-eth2.
- Attempt to rework rlpxConnect at the same time, in order to
make sure that errors are properly handled. The current structure
is far from ideal, but it is hopefully a small step in the right
direction. To many oddities in there right now to really rework
rlpxConnect properply.

* Fix rlpx thunk fuzzer
2023-03-16 16:45:12 +01:00
..
discoveryv5 Use chronos isGlobal to verify public IPs for net/nat and discv5 (#588) 2023-02-21 09:34:26 +01:00
private Add rlpx metrics and avoid immediate peer reconnections (#585) 2023-03-16 16:45:12 +01:00
auth.nim Fix possible crashes due to RangeErrors in rlpx auth decoding (#558) 2022-11-17 08:46:27 +01:00
bootnodes.nim Clean-up bootnodes.nim (#518) 2022-07-08 20:32:41 +02:00
discovery.nim add eth topic to all the logs scope (#568) 2022-12-06 14:54:03 +01:00
ecies.nim Fix possible crashes due to RangeErrors in rlpx auth decoding (#558) 2022-11-17 08:46:27 +01:00
enode.nim Add build_dcli target and add it to CI (#344) 2021-04-06 13:33:24 +02:00
kademlia.nim Add rlpx metrics and avoid immediate peer reconnections (#585) 2023-03-16 16:45:12 +01:00
p2p_backends_helpers.nim Revert #544 "Fix related to nim devel branch" (#551) 2022-11-09 18:57:04 +01:00
p2p_protocol_dsl.nim Fix some typos (#557) 2022-11-16 17:44:00 +01:00
p2p_tracing.nim Add build_dcli target and add it to CI (#344) 2021-04-06 13:33:24 +02:00
p2p_tracing_ctail_plugin.nim Moved eth-p2p to eth 2019-02-05 17:40:29 +02:00
peer_pool.nim Add rlpx metrics and avoid immediate peer reconnections (#585) 2023-03-16 16:45:12 +01:00
rlpx.nim Add rlpx metrics and avoid immediate peer reconnections (#585) 2023-03-16 16:45:12 +01:00
rlpxcrypt.nim Tackle some Nim warnings new since Nim 1.4 & 1.6 (#553) 2022-11-10 16:32:57 +01:00