MemPoolFeeRateEstimator::Write

Serialize mined-block stats without taking ownership of file.

Synopsis

Declared in <policy/fees/mempool_estimator.h>

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