[#cluster_linearize-DepGraph-FeeRate-0b]
= xref:cluster_linearize.adoc[cluster&lowbar;linearize]::xref:cluster_linearize/DepGraph.adoc[DepGraph]::FeeRate
:relfileprefix: ../../
:mrdocs:

`FeeRate` overloads

== Synopses

Declared in `&lt;cluster&lowbar;linearize&period;h&gt;`

Get the feerate of a given transaction i&period; Complexity&colon; O(1)&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:FeeFrac.adoc[FeeFrac] const&
xref:cluster_linearize/DepGraph/FeeRate-03.adoc[FeeRate](xref:cluster_linearize/DepGraphIndex.adoc[DepGraphIndex] i) const noexcept;
----

[.small]#xref:cluster_linearize/DepGraph/FeeRate-03.adoc[_» more&period;&period;&period;_]#

Get the mutable feerate of a given transaction i&period; Complexity&colon; O(1)&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:FeeFrac.adoc[FeeFrac]&
xref:cluster_linearize/DepGraph/FeeRate-01.adoc[FeeRate](xref:cluster_linearize/DepGraphIndex.adoc[DepGraphIndex] i) noexcept;
----

[.small]#xref:cluster_linearize/DepGraph/FeeRate-01.adoc[_» more&period;&period;&period;_]#

Compute the aggregate feerate of a set of nodes in this graph&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:FeeFrac.adoc[FeeFrac]
xref:cluster_linearize/DepGraph/FeeRate-05.adoc[FeeRate](SetType const& elems) const noexcept;
----

[.small]#xref:cluster_linearize/DepGraph/FeeRate-05.adoc[_» more&period;&period;&period;_]#

== Return Value

* The transaction&apos;s fee and size&period;
* A mutable reference to the transaction&apos;s fee and size&period;
* The combined fee and size of the set&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *i*
| The transaction position to query&period;
| *elems*
| The set of positions to aggregate&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
