diff --git a/src/main.cpp b/src/main.cpp index 169124334..7b885f081 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1732,22 +1732,6 @@ bool AcceptToMemoryPool(CTxMemPool& pool, CValidationState &state, const CTransa tiptime = (uint32_t)time(NULL); else tiptime = (uint32_t)chainActive.LastTip()->nTime; - /* - // Node operator can choose to reject tx by number of transparent inputs - static_assert(std::numeric_limits::max() >= std::numeric_limits::max(), "size_t too small"); - const size_t limit = 0; //(size_t) GetArg("-mempooltxinputlimit", 0); - // Limit is ignored if Overwinter is active, which is the case on HUSH3 and all HAC's - if (NetworkUpgradeActive(nextBlockHeight, Params().GetConsensus(), Consensus::UPGRADE_OVERWINTER)) { - limit = 0; - } - if (limit > 0) { - size_t n = tx.vin.size(); - if (n > limit) { - LogPrint("mempool", "Dropping txid %s : too many transparent inputs %zu > limit %zu\n", tx.GetHash().ToString(), n, limit ); - return false; - } - } - */ auto verifier = libzcash::ProofVerifier::Strict(); if (!CheckTransaction(tiptime,tx, state, verifier, 0, 0))