MemPoolFeeRateEstimator::Write

Serialize mined-block stats without taking ownership of file.

Synopsis

Declared in <policy/fees/mempool_estimator.h>

[[requires_capability(0x7f2e403ca8e8), requires_capability(0x7f2e1404d048)]]
bool
Write(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

NameDescription
fileThe file to write the mined-block statistics to.