MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / getPackageLimits

Method getPackageLimits

src/node/interfaces.cpp:722–730  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

720 return MiniMiner(*m_node.mempool, outpoints).CalculateTotalBumpFees(target_feerate);
721 }
722 void getPackageLimits(unsigned int& limit_ancestor_count, unsigned int& limit_descendant_count) override
723 {
724 const CTxMemPool::Limits default_limits{};
725
726 const CTxMemPool::Limits& limits{m_node.mempool ? m_node.mempool->m_opts.limits : default_limits};
727
728 limit_ancestor_count = limits.ancestor_count;
729 limit_descendant_count = limits.descendant_count;
730 }
731 util::Result<void> checkChainLimits(const CTransactionRef& tx) override
732 {
733 if (!m_node.mempool) return {};

Callers 1

AutomaticCoinSelectionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected