mempool: max size and logs.
This commit is contained in:
parent
ebcfe66638
commit
77502ca496
@ -716,8 +716,10 @@ Mempool.prototype.removeUnchecked = function removeUnchecked(entry, limit) {
|
||||
// being removed for a block. The spenders
|
||||
// are still spending valid coins (which
|
||||
// now exist on the blockchain).
|
||||
if (limit)
|
||||
if (limit) {
|
||||
this._removeSpenders(entry);
|
||||
this.logger.debug('Evicting %s from the mempool.', tx.rhash);
|
||||
}
|
||||
|
||||
this.untrackEntry(entry);
|
||||
|
||||
|
||||
@ -461,7 +461,7 @@ exports.mempool = {
|
||||
* Maximum mempool size in bytes.
|
||||
*/
|
||||
|
||||
MAX_MEMPOOL_SIZE: 300 * 1000000,
|
||||
MAX_MEMPOOL_SIZE: 100 * 1000000,
|
||||
|
||||
/**
|
||||
* The time at which transactions
|
||||
|
||||
Loading…
Reference in New Issue
Block a user