erigon-pulse/p2p/discover
battlmonstr 0242b5a4e2
Discovery: refactor public key to node ID conversions. (#3634)
Encode and hash logic was duplicated in multiple places.
* Move encoding to p2p/discover/v4wire
* Move hashing to p2p/enode/idscheme

* Change newRandomLookup to create a proper random key on a curve.
2022-03-03 21:58:31 +07:00
..
v4wire Discovery: refactor public key to node ID conversions. (#3634) 2022-03-03 21:58:31 +07:00
v5wire Inner errors (#2774) 2021-10-04 22:16:52 +07:00
common.go Discovery: add Context to Listen. (#3577) 2022-02-22 18:18:43 +00:00
lookup.go rename (#1978) 2021-05-20 19:25:53 +01:00
node.go Discovery: refactor public key to node ID conversions. (#3634) 2022-03-03 21:58:31 +07:00
ntp.go Clean up DEBUG category logs (#2776) 2021-10-05 08:14:04 +07:00
table_test.go less qcheck iterations (#3622) 2022-02-25 13:47:48 +07:00
table_util_test.go Discovery: refactor public key to node ID conversions. (#3634) 2022-03-03 21:58:31 +07:00
table.go Rename log/logger to follow conventions. (#3579) 2022-02-22 18:17:15 +00:00
v4_lookup_test.go Discovery: refactor public key to node ID conversions. (#3634) 2022-03-03 21:58:31 +07:00
v4_udp_test.go Discovery: refactor public key to node ID conversions. (#3634) 2022-03-03 21:58:31 +07:00
v4_udp.go Discovery: refactor public key to node ID conversions. (#3634) 2022-03-03 21:58:31 +07:00
v5_udp_test.go Discovery: refactor public key to node ID conversions. (#3634) 2022-03-03 21:58:31 +07:00
v5_udp.go Discovery: add Context to Listen. (#3577) 2022-02-22 18:18:43 +00:00