show pending jobs.
This commit is contained in:
parent
a9ec49f954
commit
9eb90dd821
@ -686,7 +686,7 @@ Pool.prototype._handleBlock = function _handleBlock(block, peer, callback) {
|
||||
if (self.chain.height % 20 === 0) {
|
||||
utils.debug(
|
||||
'Status: tip=%s ts=%s height=%d blocks=%d orphans=%d active=%d'
|
||||
+ ' queue=%d target=%s peers=%d pending=%d highest=%d',
|
||||
+ ' queue=%d target=%s peers=%d pending=%d highest=%d jobs=%d',
|
||||
block.rhash,
|
||||
new Date(block.ts * 1000).toISOString().slice(0, -5) + 'Z',
|
||||
self.chain.height,
|
||||
@ -697,7 +697,8 @@ Pool.prototype._handleBlock = function _handleBlock(block, peer, callback) {
|
||||
self.chain.getCurrentTarget(),
|
||||
self.peers.all.length,
|
||||
self.chain.pending.length,
|
||||
self.chain.bestHeight);
|
||||
self.chain.bestHeight,
|
||||
self.chain.jobs.length);
|
||||
}
|
||||
|
||||
return callback(null, true);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user