go-ethereum/p2p
Felix Lange c0746461b5 p2p/enr: updates for discovery v4 compatibility (#16679)
This applies spec changes from ethereum/EIPs#1049 and adds support for
pluggable identity schemes.

Some care has been taken to make the "v4" scheme standalone. It uses
public APIs only and could be moved out of package enr at any time.

A couple of minor changes were needed to make identity schemes work:

- The sequence number is now updated in Set instead of when signing.
- Record is now copy-safe, i.e. calling Set on a shallow copy doesn't
  modify the record it was copied from.
2024-06-28 11:30:16 +04:00
..
discover PDF-01 (#397) 2024-01-19 15:05:03 +04:00
discv5 all: use errrors.New instead of empty fmt.Errorf 2024-06-14 19:19:21 +08:00
enr p2p/enr: updates for discovery v4 compatibility (#16679) 2024-06-28 11:30:16 +04:00
nat all: use errrors.New instead of empty fmt.Errorf 2024-06-14 19:19:21 +08:00
netutil FIx Bad block error. 2021-09-17 17:59:06 +05:30
protocols all: use errrors.New instead of empty fmt.Errorf 2024-06-14 19:19:21 +08:00
simulations PDF-01 (#397) 2024-01-19 15:05:03 +04:00
testing all: use errrors.New instead of empty fmt.Errorf 2024-06-14 19:19:21 +08:00
dial.go new EVM Upgrade 2021-09-21 16:53:46 +05:30
dial_test.go new EVM Upgrade 2021-09-21 16:53:46 +05:30
message.go PDF-01 (#397) 2024-01-19 15:05:03 +04:00
message_test.go all: fix go vet warnings 2016-04-15 11:17:27 +02:00
metrics.go new EVM Upgrade 2021-09-21 16:53:46 +05:30
peer.go all: use errrors.New instead of empty fmt.Errorf 2024-06-14 19:19:21 +08:00
peer_error.go Fix of discreason type problem (#242) 2023-03-26 22:54:56 +11:00
peer_test.go FIx Bad block error. 2021-09-17 17:59:06 +05:30
protocol.go new EVM Upgrade 2021-09-21 16:53:46 +05:30
rlpx.go all: use errrors.New instead of empty fmt.Errorf 2024-06-14 19:19:21 +08:00
rlpx_test.go PDF-01 (#397) 2024-01-19 15:05:03 +04:00
server.go all: use errrors.New instead of empty fmt.Errorf 2024-06-14 19:19:21 +08:00
server_test.go new EVM Upgrade 2021-09-21 16:53:46 +05:30