From 408532114557fd4f10f910c3b14387b8d03c4c2e Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sun, 29 Jan 2017 13:19:30 -0800 Subject: [PATCH] net: better compact block debug logs. --- lib/net/pool.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/net/pool.js b/lib/net/pool.js index 6101617e..ec09fb84 100644 --- a/lib/net/pool.js +++ b/lib/net/pool.js @@ -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())); });