mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
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:
2
src/pseudo_peer/consts.rs
Normal file
2
src/pseudo_peer/consts.rs
Normal file
@ -0,0 +1,2 @@
|
||||
pub const MAX_CONCURRENCY: usize = 100;
|
||||
pub const DEFAULT_S3_BUCKET: &str = "hl-mainnet-evm-blocks";
|
||||
Reference in New Issue
Block a user