16 static const auto testing_setup = MakeNoLogFileContext<>();
23 CAutoFile fuzzed_auto_file = fuzzed_auto_file_provider.
open();
26 if (block_policy_estimator.
Read(fuzzed_auto_file)) {
27 block_policy_estimator.
Write(fuzzed_auto_file);
Non-refcounted RAII wrapper for FILE*.
The BlockPolicyEstimator is used for estimating the feerate needed for a transaction to be included i...
bool Read(CAutoFile &filein)
Read estimation data from a file.
bool Write(CAutoFile &fileout) const
Write estimation data to a file.
FUZZ_TARGET_INIT(policy_estimator_io, initialize_policy_estimator_io)
void initialize_policy_estimator_io()
FuzzedAutoFileProvider ConsumeAutoFile(FuzzedDataProvider &fuzzed_data_provider) noexcept