mempool: add reset logs.
This commit is contained in:
parent
c033f5d465
commit
cd0315923b
@ -260,6 +260,8 @@ Mempool.prototype.reset = co(function* reset() {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
Mempool.prototype._reset = function reset() {
|
Mempool.prototype._reset = function reset() {
|
||||||
|
this.logger.info('Mempool reset (%d txs removed).', this.totalTX);
|
||||||
|
|
||||||
this.size = 0;
|
this.size = 0;
|
||||||
this.totalOrphans = 0;
|
this.totalOrphans = 0;
|
||||||
this.totalTX = 0;
|
this.totalTX = 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user