nim-eth/tests/p2p
Kim De Mey d7577f59d7
Rework of ENR decoding code (#709)
- Rework to have exception raise only at rlp decoding and use
result types from then onwards
- Adjust the current API to have result versions and deprecated
the ones which had var Record + bool
- Add PublickKey to the Record object, as this allows us to skip
fromRaw calls whenever access is needed to the public key
- Add a TypedRecord.fromRecord which cannot fail and deprecate
the old one
- Some other minor clean-up & re-ordering
2024-06-27 15:15:23 +02:00
..
all_discv5_tests.nim Add raises annotations to discovery.nim 2021-04-27 21:11:54 +02:00
all_tests.nim move eth1 specific code to where it belongs 2022-10-11 14:52:25 +07:00
config.nims CI: test with multiple Nim version (#429) 2021-12-11 19:12:55 +01:00
discv5_test_helper.nim Use results.Opt instead of option in discv5, utp and nat (#705) 2024-06-18 18:09:27 +02:00
eth_protocol.nim Fix improper yield usage in rlpx and refine exception handling (#679) 2024-02-19 14:16:33 +07:00
p2p_test_helper.nim move eth1 specific code to where it belongs 2022-10-11 14:52:25 +07:00
test_auth.nim Fix possible crashes due to RangeErrors in rlpx auth decoding (#558) 2022-11-17 08:46:27 +01:00
test_crypt.nim --styleCheck:error (#520) 2022-07-21 08:58:17 +00:00
test_discovery.nim Fix some typos (#557) 2022-11-16 17:44:00 +01:00
test_discoveryv5.nim Overhaul of ENR implementation - part I (#707) 2024-06-24 14:57:39 +02:00
test_discoveryv5_encoding.nim Use results.Opt instead of option in discv5, utp and nat (#705) 2024-06-18 18:09:27 +02:00
test_ecies.nim Refactor p2pProtocol internals (#657) 2024-01-22 16:47:46 +07:00
test_enode.nim Remove unused bootnodes and add Holesky bootnodes (#644) 2023-10-25 11:07:55 +07:00
test_enr.nim Rework of ENR decoding code (#709) 2024-06-27 15:15:23 +02:00
test_hkdf.nim CI: test with multiple Nim version (#429) 2021-12-11 19:12:55 +01:00
test_ip_vote.nim Use results.Opt instead of option in discv5, utp and nat (#705) 2024-06-18 18:09:27 +02:00
test_lru.nim CI: test with multiple Nim version (#429) 2021-12-11 19:12:55 +01:00
test_protocol_handlers.nim Refactor p2pProtocol internals (#657) 2024-01-22 16:47:46 +07:00
test_rlpx_thunk.json rlp: refresh code (#683) 2024-05-26 09:58:24 +02:00
test_rlpx_thunk.nim avoid use of shallow (#636) 2023-09-20 09:24:24 +02:00
test_routing_table.nim Use results.Opt instead of option in discv5, utp and nat (#705) 2024-06-18 18:09:27 +02:00