3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-15 11:45:51 +00:00

Peer: Log fast catchup time and height of first block to pass it.

This commit is contained in:
Andreas Schildbach 2016-08-11 21:25:14 +02:00
parent af0d2042d8
commit 7e3dbd5f5d

View File

@ -705,7 +705,9 @@ public class Peer extends PeerSocketHandler {
} else { } else {
lock.lock(); lock.lock();
try { try {
log.info("Passed the fast catchup time, discarding {} headers and requesting full blocks", log.info(
"Passed the fast catchup time ({}) at height {}, discarding {} headers and requesting full blocks",
Utils.dateTimeFormat(fastCatchupTimeSecs * 1000), blockChain.getBestChainHeight() + 1,
m.getBlockHeaders().size() - i); m.getBlockHeaders().size() - i);
this.downloadBlockBodies = true; this.downloadBlockBodies = true;
// Prevent this request being seen as a duplicate. // Prevent this request being seen as a duplicate.