Package org.bitcoinj.core.listeners
Interface ChainDownloadStartedEventListener
-
- All Known Subinterfaces:
BlockchainDownloadEventListener
,PeerDataEventListener
- All Known Implementing Classes:
DownloadProgressTracker
public interface ChainDownloadStartedEventListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onChainDownloadStarted(Peer peer, int blocksLeft)
Called when a download is started with the initial number of blocks to be downloaded.
-
-
-
Method Detail
-
onChainDownloadStarted
void onChainDownloadStarted(Peer peer, int blocksLeft)
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
-
-