diff options
author | Alex Morcos <morcos@chaincode.com> | 2017-03-09 15:26:05 -0500 |
---|---|---|
committer | Alex Morcos <morcos@chaincode.com> | 2017-05-10 11:45:27 -0400 |
commit | c7447ec30348b338e77bc6429fbfac9f93549ef6 (patch) | |
tree | d29e992933923be972226b92b687cd081183e504 /src/init.cpp | |
parent | 4186d3fdfd319b568b520dd587be27bdff45c53d (diff) |
Track failures in fee estimation.
Start tracking transactions which fail to confirm within the target and are then evicted or otherwise leave mempool.
Fix slight error in unit test.
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp index f06c9e1100..3a112fdc93 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -213,6 +213,7 @@ void Shutdown() if (fFeeEstimatesInitialized) { + ::feeEstimator.FlushUnconfirmed(::mempool); fs::path est_path = GetDataDir() / FEE_ESTIMATES_FILENAME; CAutoFile est_fileout(fsbridge::fopen(est_path, "wb"), SER_DISK, CLIENT_VERSION); if (!est_fileout.IsNull()) |