[#MemPoolFeeRateEstimatorCache-Update]
= xref:MemPoolFeeRateEstimatorCache.adoc[MemPoolFeeRateEstimatorCache]::Update
:relfileprefix: ../
:mrdocs:

Update the cache with new estimates computed on tip&lowbar;hash&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
Update(
    xref:FeePerVSize.adoc[FeePerVSize] conservative,
    xref:FeePerVSize.adoc[FeePerVSize] economical,
    xref:uint256.adoc[uint256] const& tip&lowbar;hash);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *conservative*
| The conservative fee rate estimate to store&period;
| *economical*
| The economical fee rate estimate to store&period;
| *tip&lowbar;hash*
| Hash of the chain tip the estimates were computed on&period;
|===


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