From f11f4091f58e2a45d508d3445f6a65ca8c4c416e Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Fri, 6 May 2016 22:54:32 -0700 Subject: [PATCH] ignore orphans. --- lib/bcoin/mempool.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/bcoin/mempool.js b/lib/bcoin/mempool.js index 37b08775..85af20c6 100644 --- a/lib/bcoin/mempool.js +++ b/lib/bcoin/mempool.js @@ -612,15 +612,12 @@ Mempool.prototype.addTX = function addTX(tx, callback, force) { return callback(err); if (!tx.hasCoins()) { - // if (tx.getSize() > 5000) - // return callback(); if (self.totalSize > constants.mempool.MAX_MEMPOOL_SIZE) { return callback(new VerifyError(tx, 'insufficientfee', 'mempool full', 0)); } - bcoin.debug('Added orphan %s to mempool.', tx.rhash); return self.storeOrphan(tx, callback); }