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

Create new BlockPolicyEstimator and initialize stats tracking classes with default values&period;

== Synopsis

Declared in `&lt;policy&sol;fees&sol;block&lowbar;policy&lowbar;estimator&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
CBlockPolicyEstimator(
    xref:fs/path.adoc[fs::path] const& estimation&lowbar;filepath,
    bool read&lowbar;stale&lowbar;estimates);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *estimation&lowbar;filepath*
| Path to the file used to persist fee estimation data&period;
| *read&lowbar;stale&lowbar;estimates*
| Whether to load an estimation file older than MAX&lowbar;FILE&lowbar;AGE&period;
|===


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