nim-eth/tests/p2p
Jacek Sieka bb5cb6a4d0
rlp: refresh code (#683)
A first step in cleaning up RLP, which has lots of interesting issues -
the next step would be to clean up the exception handling as well
(Resultify?)

* remove `RlpNode` (unused)
* single-pass parsing for most functionality via RlpItem
* stricter conformance to spec
  * remove float support
  * warn about signed integers
  * raise on invalid RLP earlier
* avoid several pointless allocations, in particular in `listLen`,
`listElem` etc
* include spec docs
2024-05-26 09:58:24 +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 Remove usage of stew/shim/net (#670) 2024-01-24 09:09:11 +01: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 Remove usage of stew/shim/net (#670) 2024-01-24 09:09:11 +01:00
test_discoveryv5_encoding.nim Remove usage of stew/shim/net (#670) 2024-01-24 09:09:11 +01: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 Remove usage of stew/shim/net (#670) 2024-01-24 09:09:11 +01:00
test_hkdf.nim CI: test with multiple Nim version (#429) 2021-12-11 19:12:55 +01:00
test_ip_vote.nim Remove usage of stew/shim/net (#670) 2024-01-24 09:09:11 +01: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 switch NAT module from ValidIpAddress to IpAddress (#647) 2023-11-10 09:28:21 +03:00