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

Method calculateIndividualBumpFees

src/node/interfaces.cpp:703–713  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

701 }
702
703 std::map<COutPoint, CAmount> calculateIndividualBumpFees(const std::vector<COutPoint>& outpoints, const CFeeRate& target_feerate) override
704 {
705 if (!m_node.mempool) {
706 std::map<COutPoint, CAmount> bump_fees;
707 for (const auto& outpoint : outpoints) {
708 bump_fees.emplace(outpoint, 0);
709 }
710 return bump_fees;
711 }
712 return MiniMiner(*m_node.mempool, outpoints).CalculateBumpFees(target_feerate);
713 }
714
715 std::optional<CAmount> calculateCombinedBumpFee(const std::vector<COutPoint>& outpoints, const CFeeRate& target_feerate) override
716 {

Callers 2

FetchSelectedInputsFunction · 0.80
AvailableCoinsFunction · 0.80

Calls 3

MiniMinerClass · 0.85
emplaceMethod · 0.80
CalculateBumpFeesMethod · 0.80

Tested by

no test coverage detected