mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-11-16 12:27:24 +00:00
Make BuildCheckpoints print a bit sooner that it's doing something.
This commit is contained in:
@@ -62,7 +62,9 @@ public class BuildCheckpoints {
|
||||
final BlockStore store = new MemoryBlockStore(PARAMS);
|
||||
final BlockChain chain = new BlockChain(PARAMS, store);
|
||||
final PeerGroup peerGroup = new PeerGroup(PARAMS, chain);
|
||||
peerGroup.addAddress(InetAddress.getLocalHost());
|
||||
final InetAddress peerAddress = InetAddress.getLocalHost();
|
||||
System.out.println("Connecting to " + peerAddress + "...");
|
||||
peerGroup.addAddress(peerAddress);
|
||||
long now = new Date().getTime() / 1000;
|
||||
peerGroup.setFastCatchupTimeSecs(now);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user