Skip to content

Commit 07c83ce

Browse files
author
MarcoFalke
committed
Merge #19268: doc: Add non-thread-safe note to FeeFilterRounder::round()
d842e6a 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 d842e6a practicalswift: ACK d842e6a: explicit is better than implicit naumenkogs: ACK d842e6a Tree-SHA512: 538508f24b9cb29baece6a64108e2c5fc3960768c6475c4f2baf48a4a7bdb96dcef1a74d21a4822e1f8635e1375362986da4e3a20f5644129046a354c4b0a8a0
2 parents 90b5fc9 + d842e6a commit 07c83ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/policy/fees.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ class FeeFilterRounder
273273
/** Create new FeeFilterRounder */
274274
explicit FeeFilterRounder(const CFeeRate& minIncrementalFee);
275275

276-
/** Quantize a minimum fee for privacy purpose before broadcast **/
276+
/** Quantize a minimum fee for privacy purpose before broadcast. Not thread-safe due to use of FastRandomContext */
277277
CAmount round(CAmount currentMinFee);
278278

279279
private:

0 commit comments

Comments
 (0)