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

Method AppendTransaction

src/txgraph.cpp:944–951  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

942}
943
944DepGraphIndex GenericClusterImpl::AppendTransaction(GraphIndex graph_idx, FeePerWeight feerate) noexcept
945{
946 Assume(graph_idx != GraphIndex(-1));
947 auto ret = m_depgraph.AddTransaction(feerate);
948 m_mapping.push_back(graph_idx);
949 m_linearization.push_back(ret);
950 return ret;
951}
952
953DepGraphIndex SingletonClusterImpl::AppendTransaction(GraphIndex graph_idx, FeePerWeight feerate) noexcept
954{

Callers 2

SplitMethod · 0.80
AddTransactionMethod · 0.80

Calls 2

AddTransactionMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected