nim-eth/tests/p2p
Kim De Mey 22757db83b
Fix logDistance for BE arch and remove toBytes for NodeId (#427)
toBytes for NodeId wasn't selected by compiler byt if it does
get selected, it will fail on the test cases due to the
countdown that is done in logDistance.
Set to toBytesBE properly now and do countup, that should make
it correct also for BE architecture.

Removed toBytes to avoid confusion and avoid this one being
selected ever. The only place toBytes for NodeId was used is in
sessions.nim makeKey func and there also the stint one
(thus native endianness) was selected in Nim 1.2.x.
Native endianness is fine there as it is only an internal
representation.
2021-11-17 22:55:19 +01:00
..
les Adjust for chronosStrictException usage in rest of eth/p2p 2021-05-06 17:20:54 +02:00
all_discv5_tests.nim Add raises annotations to discovery.nim 2021-04-27 21:11:54 +02:00
all_tests.nim Remove portal wire code which was moved to nimbus-eth1 repo (#370) 2021-07-09 22:14:31 +02:00
bzz_basic_client.nim Add build_dcli target and add it to CI (#344) 2021-04-06 13:33:24 +02:00
config.nims Fixed appveyor test compilation (#4) 2019-02-07 17:11:38 +01:00
disabled_test_shh_connect_mocked.nim Add build_dcli target and add it to CI (#344) 2021-04-06 13:33:24 +02:00
discv5_test_helper.nim Make the custom distances call somewhat more accessible (#404) 2021-10-07 16:03:12 +02:00
p2p_test_helper.nim Fix several compiler warnings 2021-05-11 09:24:23 +02:00
shh_basic_client.nim Add build_dcli target and add it to CI (#344) 2021-04-06 13:33:24 +02:00
test_auth.nim Push raises Defect to rlpx and accompanying changes (#373) 2021-07-14 10:35:35 +02:00
test_crypt.nim Push raises Defect to rlpx and accompanying changes (#373) 2021-07-14 10:35:35 +02:00
test_discovery.nim Allow for discv4 chronos strict usage 2021-04-27 10:09:54 +02:00
test_discoveryv5.nim Fix logDistance for BE arch and remove toBytes for NodeId (#427) 2021-11-17 22:55:19 +01:00
test_discoveryv5_encoding.nim Log distance to uint16 and add public neighbours calls (#371) 2021-07-13 10:05:46 +02:00
test_ecies.nim Allow for discv4 chronos strict usage 2021-04-27 10:09:54 +02:00
test_enode.nim Allow for discv4 chronos strict usage 2021-04-27 10:09:54 +02:00
test_enr.nim Make ENR $ call print the IP address prettier (#409) 2021-10-19 14:13:09 +02:00
test_hkdf.nim Add build_dcli target and add it to CI (#344) 2021-04-06 13:33:24 +02:00
test_ip_vote.nim Add build_dcli target and add it to CI (#344) 2021-04-06 13:33:24 +02:00
test_lru.nim Add build_dcli target and add it to CI (#344) 2021-04-06 13:33:24 +02:00
test_protocol_handlers.nim Adjust for chronosStrictException usage in rest of eth/p2p 2021-05-06 17:20:54 +02:00
test_rlpx_thunk.json Make msgId fixed int32 2019-10-23 09:35:33 +09:00
test_rlpx_thunk.nim Adjust for chronosStrictException usage in rest of eth/p2p 2021-05-06 17:20:54 +02:00
test_routing_table.nim Clean-up routing table object constructions (#395) 2021-09-07 11:56:16 +02:00
test_shh.nim Adjust for chronosStrictException usage in rest of eth/p2p 2021-05-06 17:20:54 +02:00
test_shh_config.nim Adjust for chronosStrictException usage in rest of eth/p2p 2021-05-06 17:20:54 +02:00
test_shh_connect.nim Adjust for chronosStrictException usage in rest of eth/p2p 2021-05-06 17:20:54 +02:00
tserver.nim Add build_dcli target and add it to CI (#344) 2021-04-06 13:33:24 +02:00