MemPoolFeeRateEstimator::Write

Serialize mined-block stats without taking ownership of file.

Synopsis

Declared in <policy/fees/mempool_estimator.h>

[[requires_capability(0x7fd7637e6d48), requires_capability(0x7fd752780908)]]
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.