[#MemPoolFeeRateEstimator-Write] = xref:MemPoolFeeRateEstimator.adoc[MemPoolFeeRateEstimator]::Write :relfileprefix: ../ :mrdocs: Serialize mined‐block stats without taking ownership of file. == Synopsis Declared in `<policy/fees/mempool_estimator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e403ca8e8), requires_capability(0x7f2e1404d048)]] bool Write(xref:AutoFile.adoc[AutoFile]& file) const; ---- == Description Callers must explicitly close file and check for errors after writing. == Return Value true if the statistics were written successfully. == Parameters [cols="1,4"] |=== | Name| Description | *file* | The file to write the mined‐block statistics to. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#