| 3252 | } |
| 3253 | |
| 3254 | void 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 | |
| 3266 | std::unique_ptr<TxGraph::BlockBuilder> TxGraphImpl::GetBlockBuilder() noexcept |
| 3267 | { |
no test coverage detected