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

Method Skip

src/txgraph.cpp:3254–3264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3252}
3253
3254void BlockBuilderImpl::Skip() noexcept
3255{
3256 // When skipping a chunk we need to not include anything more of the cluster, as that could make
3257 // the result topologically invalid. However, don't do this if the chunk is known to be the last
3258 // chunk of the cluster. This may significantly reduce the size of m_excluded_clusters,
3259 // especially when many singleton clusters are ignored.
3260 if (m_cur_cluster != nullptr && !m_known_end_of_cluster) {
3261 m_excluded_clusters.insert(m_cur_cluster->m_sequence);
3262 }
3263 Next();
3264}
3265
3266std::unique_ptr<TxGraph::BlockBuilder> TxGraphImpl::GetBlockBuilder() noexcept
3267{

Callers 1

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected