Package org.bitcoinj.core.listeners
Interface ChainDownloadStartedEventListener
- All Known Subinterfaces:
BlockchainDownloadEventListener,PeerDataEventListener
- All Known Implementing Classes:
DownloadProgressTracker
public interface ChainDownloadStartedEventListener
-
Method Summary
Modifier and TypeMethodDescriptionvoidonChainDownloadStarted(Peer peer, int blocksLeft) Called when a download is started with the initial number of blocks to be downloaded.
-
Method Details
-
onChainDownloadStarted
Called when a download is started with the initial number of blocks to be downloaded.- Parameters:
peer- the peer receiving the blockblocksLeft- the number of blocks left to download
-