tuweni / org.apache.tuweni.ethclient / PeerStatusEthSynchronizer / <init>

<init>

PeerStatusEthSynchronizer(executor: ExecutorService = Executors.newSingleThreadExecutor(), coroutineContext: CoroutineContext = executor.asCoroutineDispatcher(), repository: BlockchainRepository, client: EthRequestsManager, peerRepository: EthereumPeerRepository, adapter: WireConnectionPeerRepositoryAdapter)

Synchronizer responsible for pulling blocks until such time the highest known block is met, or close enough.

Listens to new status messages, and syncs backwards from them.