nim-eth/tests/p2p
Kim De Mey 7f20d79945
Overhaul of ENR implementation - part I (#707)
- Rework adding and updating of fields by having an insert call
that gets used everywhere. Avoiding also duplicate keys. One
side-effect of this is that ENR sequence number will always get
updated on an update call, even if nothing changes.
- Deprecate initRecord as it is only used in tests and is flawed
- Assert when predefined keys go into the extra custom pairs.
Any of the predefined keys are only to be passed now via specific
parameters to make sure that the correct types are stored in ENR.
- Clearify the Opt.none behaviour for Record.update
- When setting ipv6, allow for tcp/udp port fields to be used
default
- General clean-up
- Rework/clean-up completely the ENR tests.
2024-06-24 14:57:39 +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 Overhaul of ENR implementation - part I (#707) 2024-06-24 14:57:39 +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