public DownloadListener progressBarUpdater() { return model.getDownloadListener(); }
@SuppressWarnings("unused") private void initBlockChainDownload(DownloadListener listener) throws IOException, InterruptedException, TimeoutException{ this.listener.onStatusChange("Discovering ... "); vPeerGroup.startBlockChainDownload(listener); listener.await(); }