diff options
| author | practicalswift <[email protected]> | 2018-12-02 21:28:53 +0100 |
|---|---|---|
| committer | practicalswift <[email protected]> | 2018-12-03 00:14:33 +0100 |
| commit | dae1423e5aaa9923f1b11be4650e343f3235d46a (patch) | |
| tree | 4be1cf878780ffdd9bb17d00fc32a1df36020267 /src/policy/fees.cpp | |
| parent | scripted-diff: Rename from cs_feeEstimator to m_cs_fee_estimator (diff) | |
| download | discoin-dae1423e5aaa9923f1b11be4650e343f3235d46a.tar.xz discoin-dae1423e5aaa9923f1b11be4650e343f3235d46a.zip | |
Add locking annotations to feeStats, shortStats and longStats
Diffstat (limited to 'src/policy/fees.cpp')
| -rw-r--r-- | src/policy/fees.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/policy/fees.cpp b/src/policy/fees.cpp index b958270c3..c49b9fa36 100644 --- a/src/policy/fees.cpp +++ b/src/policy/fees.cpp @@ -710,6 +710,7 @@ CFeeRate CBlockPolicyEstimator::estimateRawFee(int confTarget, double successThr unsigned int CBlockPolicyEstimator::HighestTargetTracked(FeeEstimateHorizon horizon) const { + LOCK(m_cs_fee_estimator); switch (horizon) { case FeeEstimateHorizon::SHORT_HALFLIFE: { return shortStats->GetMaxConfirms(); |