diff options
author | Péter Szilágyi <peterke@gmail.com> | 2019-07-08 23:53:47 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-08 23:53:47 +0800 |
commit | 983f92368bdd79c65082ac2c98cbc0d58b28b22b (patch) | |
tree | cc0decc510e52366f0f44288667b6b9bfdbbe8f6 /p2p/enr | |
parent | cc0f0e27a673fa7c0d14ab36ed0847314bdb3e2c (diff) | |
download | go-tangerine-983f92368bdd79c65082ac2c98cbc0d58b28b22b.tar go-tangerine-983f92368bdd79c65082ac2c98cbc0d58b28b22b.tar.gz go-tangerine-983f92368bdd79c65082ac2c98cbc0d58b28b22b.tar.bz2 go-tangerine-983f92368bdd79c65082ac2c98cbc0d58b28b22b.tar.lz go-tangerine-983f92368bdd79c65082ac2c98cbc0d58b28b22b.tar.xz go-tangerine-983f92368bdd79c65082ac2c98cbc0d58b28b22b.tar.zst go-tangerine-983f92368bdd79c65082ac2c98cbc0d58b28b22b.zip |
core/forkid: implement the forkid EIP, announce via ENR (#19738)
* eth: chain config (genesis + fork) ENR entry
* core/forkid, eth: protocol independent fork ID, update to CRC32 spec
* core/forkid, eth: make forkid a struct, next uint64, enr struct, RLP
* core/forkid: change forkhash rlp encoding from int to [4]byte
* eth: fixup eth entry a bit and update it every block
* eth: fix lint
* eth: fix crash in ethclient tests
Diffstat (limited to 'p2p/enr')
-rw-r--r-- | p2p/enr/enr_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/enr/enr_test.go b/p2p/enr/enr_test.go index 434685e0b..96a9ced5c 100644 --- a/p2p/enr/enr_test.go +++ b/p2p/enr/enr_test.go @@ -70,7 +70,7 @@ func TestGetSetIPv6(t *testing.T) { assert.Equal(t, ip, ip2) } -// TestGetSetDiscPort tests encoding/decoding and setting/getting of the DiscPort key. +// TestGetSetUDP tests encoding/decoding and setting/getting of the UDP key. func TestGetSetUDP(t *testing.T) { port := UDP(30309) var r Record |