mempool: add reset logs.

This commit is contained in:
Christopher Jeffrey 2016-11-26 06:18:31 -08:00
parent c033f5d465
commit cd0315923b
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -260,6 +260,8 @@ Mempool.prototype.reset = co(function* reset() {
*/
Mempool.prototype._reset = function reset() {
this.logger.info('Mempool reset (%d txs removed).', this.totalTX);
this.size = 0;
this.totalOrphans = 0;
this.totalTX = 0;