net: better compact block debug logs.

This commit is contained in:
Christopher Jeffrey 2017-01-29 13:19:30 -08:00
parent 5e1d8c743c
commit 4085321145
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -2445,8 +2445,8 @@ Pool.prototype.handleCmpctBlock = co(function* handleCmpctBlock(peer, packet) {
this.compactBlocks.insert(hash);
this.logger.debug(
'Received semi-full compact block %s (%s).',
block.rhash(), peer.hostname());
'Received non-full compact block %s tx=%d/%d (%s).',
block.rhash(), block.count, block.totalTX, peer.hostname());
peer.send(new packets.GetBlockTxnPacket(block.toRequest()));
});