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

Method MakeStagingTransactionsMissing

src/txgraph.cpp:2409–2418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2407}
2408
2409void GenericClusterImpl::MakeStagingTransactionsMissing(TxGraphImpl& graph) noexcept
2410{
2411 // Mark all transactions of a Cluster missing, needed when aborting staging, so that the
2412 // corresponding Locators don't retain references into aborted Clusters.
2413 for (auto ci : m_linearization) {
2414 GraphIndex idx = m_mapping[ci];
2415 auto& entry = graph.m_entries[idx];
2416 entry.m_locator[1].SetMissing();
2417 }
2418}
2419
2420void SingletonClusterImpl::MakeStagingTransactionsMissing(TxGraphImpl& graph) noexcept
2421{

Callers 1

AbortStagingMethod · 0.80

Calls 1

SetMissingMethod · 0.80

Tested by

no test coverage detected