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

Method getTransactionAncestry

src/node/interfaces.cpp:696–701  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

694 return TransactionError::OK == err;
695 }
696 void getTransactionAncestry(const Txid& txid, size_t& ancestors, size_t& cluster_count, size_t* ancestorsize, CAmount* ancestorfees) override
697 {
698 ancestors = cluster_count = 0;
699 if (!m_node.mempool) return;
700 m_node.mempool->GetTransactionAncestry(txid, ancestors, cluster_count, ancestorsize, ancestorfees);
701 }
702
703 std::map<COutPoint, CAmount> calculateIndividualBumpFees(const std::vector<COutPoint>& outpoints, const CFeeRate& target_feerate) override
704 {

Callers 3

AvailableCoinsFunction · 0.80
GroupOutputsFunction · 0.80
listunspentFunction · 0.80

Calls 1

Tested by

no test coverage detected