@@ -30,7 +30,7 @@ class TxGraphImpl;
3030
3131/* * Position of a DepGraphIndex within a Cluster::m_linearization. */
3232using LinearizationIndex = uint32_t ;
33- /* * Position of a Cluster within Graph ::ClusterSet::m_clusters. */
33+ /* * Position of a Cluster within TxGraphImpl ::ClusterSet::m_clusters. */
3434using ClusterSetIndex = uint32_t ;
3535
3636/* * Quality levels for cached cluster linearizations. */
@@ -105,7 +105,7 @@ class Cluster
105105 using SetType = BitSet<MAX_CLUSTER_COUNT_LIMIT>;
106106 /* * The quality level of m_linearization. */
107107 QualityLevel m_quality{QualityLevel::NONE};
108- /* * Which position this Cluster has in Graph ::ClusterSet::m_clusters[m_quality]. */
108+ /* * Which position this Cluster has in TxGraphImpl ::ClusterSet::m_clusters[m_quality]. */
109109 ClusterSetIndex m_setindex{ClusterSetIndex (-1 )};
110110 /* * Sequence number for this Cluster (for tie-breaking comparison between equal-chunk-feerate
111111 transactions in distinct clusters). */
@@ -168,7 +168,7 @@ class Cluster
168168 /* * Figure out what level this Cluster exists at in the graph. In most cases this is known by
169169 * the caller already (see all "int level" arguments below), but not always. */
170170 virtual int GetLevel (const TxGraphImpl& graph) const noexcept = 0;
171- /* * Only called by Graph ::SwapIndexes. */
171+ /* * Only called by TxGraphImpl ::SwapIndexes. */
172172 virtual void UpdateMapping (DepGraphIndex cluster_idx, GraphIndex graph_idx) noexcept = 0;
173173 /* * Push changes to Cluster and its linearization to the TxGraphImpl Entry objects. */
174174 virtual void Updated (TxGraphImpl& graph, int level) noexcept = 0;
@@ -553,7 +553,7 @@ class TxGraphImpl final : public TxGraph
553553 Cluster* FindCluster (GraphIndex idx, int level) const noexcept { return FindClusterAndLevel (idx, level).first ; }
554554 /* * Like FindCluster, but also return what level the match was found in (-1 if not found). */
555555 std::pair<Cluster*, int > FindClusterAndLevel (GraphIndex idx, int level) const noexcept ;
556- /* * Extract a Cluster from its ClusterSet. */
556+ /* * Extract a Cluster from its ClusterSet, and set its quality to QualityLevel::NONE . */
557557 std::unique_ptr<Cluster> ExtractCluster (int level, QualityLevel quality, ClusterSetIndex setindex) noexcept ;
558558 /* * Delete a Cluster. */
559559 void DeleteCluster (Cluster& cluster, int level) noexcept ;
0 commit comments