mempool. static int.

This commit is contained in:
Christopher Jeffrey 2016-06-15 17:50:49 -07:00
parent 7e2185dfd6
commit aba92e4a7f
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -1066,9 +1066,6 @@ Mempool.prototype.verify = function verify(entry, callback) {
if (self.limitFree && modFee < minRelayFee) {
now = utils.now();
if (!self.lastTime)
self.lastTime = now;
// Use an exponentially decaying ~10-minute window:
self.freeCount *= Math.pow(1 - 1 / 600, now - self.lastTime);
self.lastTime = now;