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:
rjl493456442 2026-06-02 14:48:26 +08:00 committed by GitHub
parent 02dd66dfc0
commit 77a2816468
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3123 additions and 0 deletions

1959
eth/protocols/snap/syncv2.go Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff