package
5.6.3-darwinv2-rc0+incompatible
Repository: https://github.com/scroll-tech/go-ethereum.git
Documentation: pkg.go.dev

# Functions

NewBlockFetcher creates a block fetcher to retrieve blocks based on hash announcements.
NewTxFetcher creates a transaction fetcher to retrieve transaction based on hash announcements.
NewTxFetcherForTests is a testing method to mock out the realtime clock with a simulated version and the internal randomness with a deterministic one.

# Structs

BlockFetcher is responsible for accumulating block announcements from various peers and scheduling them for retrieval.
TxFetcher is responsible for retrieving new transaction based on announcements.

# Type aliases

HeaderRetrievalFn is a callback type for retrieving a header from the local chain.