net: better compact block debug logs.
This commit is contained in:
parent
5e1d8c743c
commit
4085321145
@ -2445,8 +2445,8 @@ Pool.prototype.handleCmpctBlock = co(function* handleCmpctBlock(peer, packet) {
|
|||||||
this.compactBlocks.insert(hash);
|
this.compactBlocks.insert(hash);
|
||||||
|
|
||||||
this.logger.debug(
|
this.logger.debug(
|
||||||
'Received semi-full compact block %s (%s).',
|
'Received non-full compact block %s tx=%d/%d (%s).',
|
||||||
block.rhash(), peer.hostname());
|
block.rhash(), block.count, block.totalTX, peer.hostname());
|
||||||
|
|
||||||
peer.send(new packets.GetBlockTxnPacket(block.toRequest()));
|
peer.send(new packets.GetBlockTxnPacket(block.toRequest()));
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user