nim-eth/eth
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
..
common Fixed a bug that I just introduced in the BlockBody RLP code. (#583) 2023-01-21 14:41:30 +01:00
db kvstore: remove unnecessary EH (#592) 2023-02-22 09:03:13 +00:00
keyfile Fix some typos (#557) 2022-11-16 17:44:00 +01:00
net Use chronos isGlobal to verify public IPs for net/nat and discv5 (#588) 2023-02-21 09:34:26 +01:00
p2p Add rlpx metrics and avoid immediate peer reconnections (#585) 2023-03-16 16:45:12 +01:00
rlp Fix some typos (#557) 2022-11-16 17:44:00 +01:00
trie Propagating the del-returns-a-bool change through the trie DB code. (#578) 2023-01-17 16:39:28 -05:00
utp Improve uTP decoded packet logs + style and comment clean-up (#593) 2023-03-14 16:17:39 +00:00
async_utils.nim awaitWithTimeout for Future[void] 2021-02-04 16:45:50 +02:00
bloom.nim clean up eth_types (#531) 2022-09-02 16:57:52 +02:00
common.nim clean up eth_types (#531) 2022-09-02 16:57:52 +02:00
eip1559.nim Add a helper for calculating the EIP1559 base fee 2022-08-18 23:36:45 +03:00
keyfile.nim Add build_dcli target and add it to CI (#344) 2021-04-06 13:33:24 +02:00
keys.nim Fix some typos (#557) 2022-11-16 17:44:00 +01:00
p2p.nim add eth topic to all the logs scope (#568) 2022-12-06 14:54:03 +01:00
rlp.nim Fix some typos (#557) 2022-11-16 17:44:00 +01:00
trie.nim Add build_dcli target and add it to CI (#344) 2021-04-06 13:33:24 +02:00