mempool: logs.
This commit is contained in:
parent
3f874b31e5
commit
8ba429d76c
@ -905,7 +905,7 @@ Mempool.prototype.removeUnchecked = function removeUnchecked(entry, limit, callb
|
|||||||
self.fees.removeTX(hash);
|
self.fees.removeTX(hash);
|
||||||
|
|
||||||
if (limit) {
|
if (limit) {
|
||||||
self.logger.debug('Removed tx %s from mempool.', entry.tx.rhash);
|
self.logger.spam('Removed tx %s from mempool.', entry.tx.rhash);
|
||||||
rate = bcoin.tx.getRate(entry.sizes, entry.fees);
|
rate = bcoin.tx.getRate(entry.sizes, entry.fees);
|
||||||
rate += self.minReasonableFee;
|
rate += self.minReasonableFee;
|
||||||
if (rate > self.minFeeRate) {
|
if (rate > self.minFeeRate) {
|
||||||
@ -913,7 +913,7 @@ Mempool.prototype.removeUnchecked = function removeUnchecked(entry, limit, callb
|
|||||||
self.blockSinceBump = false;
|
self.blockSinceBump = false;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
self.logger.debug('Removed block tx %s from mempool.', entry.tx.rhash);
|
self.logger.spam('Removed block tx %s from mempool.', entry.tx.rhash);
|
||||||
}
|
}
|
||||||
|
|
||||||
self.emit('remove tx', entry.tx);
|
self.emit('remove tx', entry.tx);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user