mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-04 22:18:40 +00:00
eth/protocols/snap: introduce snapv2 skeleton (#35098)
This PR is a prerequisite for landing snap v2, the BAL-healing snap sync algorithm. It duplicates much of the snap v1 skeleton, which is expected to be deprecated once v2 is enabled. The code duplication is acceptable as a short-term tradeoff, simplifying development and reducing integration complexity.
This commit is contained in:
parent
02dd66dfc0
commit
77a2816468
2 changed files with 3123 additions and 0 deletions
1959
eth/protocols/snap/syncv2.go
Normal file
1959
eth/protocols/snap/syncv2.go
Normal file
File diff suppressed because it is too large
Load diff
1164
eth/protocols/snap/syncv2_test.go
Normal file
1164
eth/protocols/snap/syncv2_test.go
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue