MCPcopy Create free account
hub / github.com/ElementsProject/elements / getTransactionAncestry

Method getTransactionAncestry

src/node/interfaces.cpp:599–604  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

597 return TransactionError::OK == err;
598 }
599 void getTransactionAncestry(const uint256& txid, size_t& ancestors, size_t& descendants, size_t* ancestorsize, CAmount* ancestorfees) override
600 {
601 ancestors = descendants = 0;
602 if (!m_node.mempool) return;
603 m_node.mempool->GetTransactionAncestry(txid, ancestors, descendants, ancestorsize, ancestorfees);
604 }
605 void getPackageLimits(unsigned int& limit_ancestor_count, unsigned int& limit_descendant_count) override
606 {
607 limit_ancestor_count = gArgs.GetIntArg("-limitancestorcount", DEFAULT_ANCESTOR_LIMIT);

Callers 2

GroupOutputsFunction · 0.80
listunspentFunction · 0.80

Calls 1

Tested by

no test coverage detected