diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-07-14 09:29:59 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-07-14 09:30:02 +0200 |
commit | 07c83ce0399a2811bdd764b0cce347ba3bdbe37c (patch) | |
tree | c1c0a7ab0e1c1b7ed3b184dcea7a7d14d8a211ca /src | |
parent | 90b5fc9ce41117b3a85170e6fc129e87bbd15f48 (diff) | |
parent | d842e6ac965b528f0d704f54aceb91eae84085fb (diff) |
Merge #19268: doc: Add non-thread-safe note to FeeFilterRounder::round()
d842e6ac965b528f0d704f54aceb91eae84085fb doc: Add non-thread-safe note to FeeFilterRounder::round() (Hennadii Stepanov)
Pull request description:
The `FastRandomContext` class is documented as not thread-safe.
This PR adds a relevant note to the `FeeFilterRounder::round()` function declaration.
Close #19254
ACKs for top commit:
MarcoFalke:
self ACK d842e6ac965b528f0d704f54aceb91eae84085fb
practicalswift:
ACK d842e6ac965b528f0d704f54aceb91eae84085fb: explicit is better than implicit
naumenkogs:
ACK d842e6a
Tree-SHA512: 538508f24b9cb29baece6a64108e2c5fc3960768c6475c4f2baf48a4a7bdb96dcef1a74d21a4822e1f8635e1375362986da4e3a20f5644129046a354c4b0a8a0
Diffstat (limited to 'src')
-rw-r--r-- | src/policy/fees.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/policy/fees.h b/src/policy/fees.h index e445c1590d..e79dbc9868 100644 --- a/src/policy/fees.h +++ b/src/policy/fees.h @@ -273,7 +273,7 @@ public: /** Create new FeeFilterRounder */ explicit FeeFilterRounder(const CFeeRate& minIncrementalFee); - /** Quantize a minimum fee for privacy purpose before broadcast **/ + /** Quantize a minimum fee for privacy purpose before broadcast. Not thread-safe due to use of FastRandomContext */ CAmount round(CAmount currentMinFee); private: |