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

Method PositionRange

src/cluster_linearize.h:119–119  ·  view source on GitHub ↗

Get the range of positions in this DepGraph. All entries in Positions() are in [0, PositionRange() - 1]. */

Source from the content-addressed store, hash-verified

117 const SetType& Positions() const noexcept { return m_used; }
118 /** Get the range of positions in this DepGraph. All entries in Positions() are in [0, PositionRange() - 1]. */
119 DepGraphIndex PositionRange() const noexcept { return entries.size(); }
120 /** Get the number of transactions in the graph. Complexity: O(1). */
121 auto TxCount() const noexcept { return m_used.Count(); }
122 /** Get the feerate of a given transaction i. Complexity: O(1). */

Callers 12

DepGraphMethod · 0.80
SpanningForestStateMethod · 0.80
PostLinearizeFunction · 0.80
GetDepGraphIndexRangeMethod · 0.80
ApplyRemovalsMethod · 0.80
SplitMethod · 0.80
SanityCheckMethod · 0.80
TestOptimalLinearizationFunction · 0.80
FUZZ_TARGETFunction · 0.80
BuildTreeGraphFunction · 0.80
FUZZ_TARGETFunction · 0.80
SanityCheckFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by 5

TestOptimalLinearizationFunction · 0.64
FUZZ_TARGETFunction · 0.64
BuildTreeGraphFunction · 0.64
FUZZ_TARGETFunction · 0.64
SanityCheckFunction · 0.64