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

Method calculateCombinedBumpFee

src/node/interfaces.cpp:715–721  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

713 }
714
715 std::optional<CAmount> calculateCombinedBumpFee(const std::vector<COutPoint>& outpoints, const CFeeRate& target_feerate) override
716 {
717 if (!m_node.mempool) {
718 return 0;
719 }
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{};

Callers 3

CheckFeeRateFunction · 0.80
ChooseSelectionResultFunction · 0.80
sendallFunction · 0.80

Calls 2

MiniMinerClass · 0.85

Tested by

no test coverage detected