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

Method DeleteCluster

src/txgraph.cpp:1667–1673  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1665}
1666
1667void TxGraphImpl::DeleteCluster(Cluster& cluster, int level) noexcept
1668{
1669 // Extract the cluster from where it currently resides.
1670 auto cluster_ptr = ExtractCluster(level, cluster.m_quality, cluster.m_setindex);
1671 // And throw it away.
1672 cluster_ptr.reset();
1673}
1674
1675std::pair<Cluster*, int> TxGraphImpl::FindClusterAndLevel(GraphIndex idx, int level) const noexcept
1676{

Callers

nothing calls this directly

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected