diff options
author | ismaelsadeeq <ask4ismailsadiq@gmail.com> | 2023-11-03 18:34:58 +0100 |
---|---|---|
committer | ismaelsadeeq <ask4ismailsadiq@gmail.com> | 2023-11-22 11:48:21 +0100 |
commit | 714523918ba2b853fc69bee6b04a33ba0c828bf5 (patch) | |
tree | 68b3e867887839f2f2f65e440a5e316a03ed0101 /src/test/fuzz/package_eval.cpp | |
parent | dff5ad3b9944cbb56126ba37a8da180d1327ba39 (diff) | |
download | bitcoin-714523918ba2b853fc69bee6b04a33ba0c828bf5.tar.xz |
tx fees, policy: CBlockPolicyEstimator update from `CValidationInterface` notifications
`CBlockPolicyEstimator` will implement `CValidationInterface` and
subscribe to its notification to process transactions added and removed
from the mempool.
Re-delegate calculation of `validForFeeEstimation` from validation to fee estimator.
Also clean up the validForFeeEstimation arg thats no longer needed in `CTxMempool`.
Co-authored-by: Matt Corallo <git@bluematt.me>
Diffstat (limited to 'src/test/fuzz/package_eval.cpp')
-rw-r--r-- | src/test/fuzz/package_eval.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/fuzz/package_eval.cpp b/src/test/fuzz/package_eval.cpp index 021acc02f2..08b8be26e7 100644 --- a/src/test/fuzz/package_eval.cpp +++ b/src/test/fuzz/package_eval.cpp @@ -121,7 +121,6 @@ CTxMemPool MakeMempool(FuzzedDataProvider& fuzzed_data_provider, const NodeConte mempool_opts.expiry = std::chrono::hours{fuzzed_data_provider.ConsumeIntegralInRange<unsigned>(0, 999)}; nBytesPerSigOp = fuzzed_data_provider.ConsumeIntegralInRange<unsigned>(1, 999); - mempool_opts.estimator = nullptr; mempool_opts.check_ratio = 1; mempool_opts.require_standard = fuzzed_data_provider.ConsumeBool(); |