diff options
| author | MarcoFalke <[email protected]> | 2020-07-14 09:29:59 +0200 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2020-07-14 09:30:02 +0200 |
| commit | 07c83ce0399a2811bdd764b0cce347ba3bdbe37c (patch) | |
| tree | c1c0a7ab0e1c1b7ed3b184dcea7a7d14d8a211ca | |
| parent | Merge #19495: ci: Disable macOS functional tests on forked repos to avoid tim... (diff) | |
| parent | doc: Add non-thread-safe note to FeeFilterRounder::round() (diff) | |
| download | discoin-07c83ce0399a2811bdd764b0cce347ba3bdbe37c.tar.xz discoin-07c83ce0399a2811bdd764b0cce347ba3bdbe37c.zip | |
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
| -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 e445c1590..e79dbc986 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: |