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

Method FeeRate

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

Compute the aggregate feerate of a set of nodes in this graph. * * Complexity: O(N) where N=elems.Count(). **/

Source from the content-addressed store, hash-verified

247 * Complexity: O(N) where N=elems.Count().
248 **/
249 FeeFrac FeeRate(const SetType& elems) const noexcept
250 {
251 FeeFrac ret;
252 for (auto pos : elems) ret += entries[pos].feerate;
253 return ret;
254 }
255
256 /** Get the connected component within the subset "todo" that contains tx (which must be in
257 * todo).

Callers 15

SetInfoMethod · 0.80
SetMethod · 0.80
ChunkLinearizationFunction · 0.80
GetLinearizationMethod · 0.80
SanityCheckMethod · 0.80
PostLinearizeFunction · 0.80
GetTotalTxSizeMethod · 0.80
ExtractTransactionsMethod · 0.80
AppendTrimDataMethod · 0.80
SplitMethod · 0.80
GetIndividualFeerateMethod · 0.80
SetFeeMethod · 0.80

Calls

no outgoing calls

Tested by 9

IsOversizedMethod · 0.64
SumAllMethod · 0.64
SetTransactionFeeMethod · 0.64
FUZZ_TARGETFunction · 0.64
FindCandidateSetMethod · 0.64
BuildTreeGraphFunction · 0.64
FUZZ_TARGETFunction · 0.64
SerMethod · 0.64