feat: Pseudo peer and staged sync

For simplicity, we use with_pow() + pseudo peer that connects to reth itself, so that it can support 1. StateFetcher via NetworkState 2. Block announcement (which requires with_pow()).

For block announcement, another way was using ImportService like before, or calling engine_api. But for simplicitiy, for now we just publish from pseudo peer like pre-PoS, hence with_pow().
This commit is contained in:
sprites0
2025-06-27 19:38:53 +00:00
parent 2c6e989ad0
commit ba8dfc4d96
18 changed files with 2112 additions and 130 deletions

View File

@ -94,6 +94,9 @@ tracing = "0.1"
rmp-serde = "1.0.0"
lz4_flex = "0.11.3"
ureq = "3.0.12"
aws-sdk-s3 = "1.93.0"
aws-config = "1.8.0"
rayon = "1.10.0"
[target.'cfg(unix)'.dependencies]
@ -138,4 +141,4 @@ client = [
"jsonrpsee/client",
"jsonrpsee/async-client",
"reth-rpc-eth-api/client",
]
]