core, eth: split eth package, implement snap protocol (#21482)
This commit splits the eth package, separating the handling of eth and snap protocols. It also includes the capability to run snap sync (https://github.com/ethereum/devp2p/blob/master/caps/snap.md) , but does not enable it by default. Co-authored-by: NMarius van der Wijden <m.vanderwijden@live.de> Co-authored-by: NMartin Holst Swende <martin@swende.se>
Showing
此差异已折叠。
eth/handler_eth.go
0 → 100644
eth/handler_eth_test.go
0 → 100644
此差异已折叠。
eth/handler_snap.go
0 → 100644
此差异已折叠。
eth/helper_test.go
已删除
100644 → 0
此差异已折叠。
eth/peerset.go
0 → 100644
eth/protocol_test.go
已删除
100644 → 0
此差异已折叠。
eth/protocols/eth/broadcast.go
0 → 100644
eth/protocols/eth/discovery.go
0 → 100644
eth/protocols/eth/handler.go
0 → 100644
此差异已折叠。
eth/protocols/eth/handler_test.go
0 → 100644
此差异已折叠。
eth/protocols/eth/handshake.go
0 → 100644
此差异已折叠。
此差异已折叠。
eth/protocols/eth/peer.go
0 → 100644
此差异已折叠。
eth/protocols/eth/peer_test.go
0 → 100644
此差异已折叠。
此差异已折叠。
eth/protocols/snap/discovery.go
0 → 100644
eth/protocols/snap/handler.go
0 → 100644
此差异已折叠。
eth/protocols/snap/peer.go
0 → 100644
此差异已折叠。
eth/protocols/snap/protocol.go
0 → 100644
此差异已折叠。
eth/protocols/snap/sync.go
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
文件已添加
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
trie/notary.go
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
想要评论请 注册 或 登录