[#CFeeRate-2constructor-04]
= xref:CFeeRate.adoc[CFeeRate]::CFeeRate
:relfileprefix: ../
:mrdocs:

Construct from a fee rate expressed as FeePerVSize&period;

== Synopsis

Declared in `&lt;policy&sol;feerate&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
CFeeRate(xref:FeePerVSize.adoc[FeePerVSize] const& feerate);
----

== Description

Lossless&colon; CFeeRate is internally a FeePerVSize, so the exact fee&sol;vsize fraction is preserved&period; A feerate whose size is less than or equal to 0 results in 0 fee rate per 0 size&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *feerate*
| Fee rate as a fee&sol;vsize fraction&period;
|===


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