erigon-pulse/p2p/enode
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
..
idscheme_test.go rename (#1978) 2021-05-20 19:25:53 +01:00
idscheme.go Discovery: refactor public key to node ID conversions. (#3634) 2022-03-03 21:58:31 +07:00
iter_test.go rename (#1978) 2021-05-20 19:25:53 +01:00
iter.go hide file exists err (#2218) 2021-06-22 11:09:45 +01:00
localnode_test.go rename (#1978) 2021-05-20 19:25:53 +01:00
localnode.go Clean up DEBUG category logs (#2776) 2021-10-05 08:14:04 +07:00
node_test.go rename (#1978) 2021-05-20 19:25:53 +01:00
node.go rename (#1978) 2021-05-20 19:25:53 +01:00
nodedb_test.go Genesis sync from existing snapshots (#3087) 2021-12-05 09:03:08 +07:00
nodedb.go close nodes db on server start error (#3424) 2022-02-04 13:04:37 +07:00
urlv4_test.go rename (#1978) 2021-05-20 19:25:53 +01:00
urlv4.go Discovery: refactor public key to node ID conversions. (#3634) 2022-03-03 21:58:31 +07:00