here is my attempt in this. Still doesnt pick up the percentage update.

DownloadProgressTracker bListener = new DownloadProgressTracker() {
    @Override
    public void doneDownload() {
        System.out.println("blockchain downloaded");
    }
    public void progress(double pct, int blocksSoFar, Date date) {
        System.out.println("blockchain "+(int)pct+"% completed");
    }
};
kit.setDownloadListener(bListener).setBlockingStartup(false);

-- 
You received this message because you are subscribed to the Google Groups 
"bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to