public interface ChainDownloadStartedEventListener
Modifier and Type | Method and Description |
---|---|
void |
onChainDownloadStarted(Peer peer,
int blocksLeft)
Called when a download is started with the initial number of blocks to be downloaded.
|
void onChainDownloadStarted(Peer peer, int blocksLeft)
peer
- the peer receiving the blockblocksLeft
- the number of blocks left to download