tuweni / org.apache.tuweni.ethclient / FromBestBlockSynchronizer

FromBestBlockSynchronizer

class FromBestBlockSynchronizer : Synchronizer (source)

Constructors

<init>

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

Functions

start

fun start(): Unit

stop

fun stop(): Unit