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

Method PullIn

src/txgraph.cpp:1693–1706  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1691}
1692
1693Cluster* TxGraphImpl::PullIn(Cluster* cluster, int level) noexcept
1694{
1695 int to_level = GetTopLevel();
1696 Assume(to_level == 1);
1697 Assume(level <= to_level);
1698 // Copy the Cluster from main to staging, if it's not already there.
1699 if (level == 0) {
1700 // Make the Cluster Acceptable before copying. This isn't strictly necessary, but doing it
1701 // now avoids doing double work later.
1702 MakeAcceptable(*cluster, level);
1703 cluster = cluster->CopyToStaging(*this);
1704 }
1705 return cluster;
1706}
1707
1708void TxGraphImpl::ApplyRemovals(int up_to_level) noexcept
1709{

Callers

nothing calls this directly

Calls 1

CopyToStagingMethod · 0.80

Tested by

no test coverage detected