diff options
author | Andrew Chow <github@achow101.com> | 2022-10-13 11:52:34 -0400 |
---|---|---|
committer | Andrew Chow <github@achow101.com> | 2022-10-13 11:57:07 -0400 |
commit | 0bac04b7585017508425b21d402fd3c52e6a13d5 (patch) | |
tree | f9774eff26fbd2d6c803c91bf908d09ae680414f /test/functional/interface_rest.py | |
parent | 5ff3d1e5ce90dbb0d9f0dda3f4842052793152b2 (diff) | |
parent | 8173f160e085186c9bcc7f3506205c309ee66af6 (diff) | |
download | bitcoin-0bac04b7585017508425b21d402fd3c52e6a13d5.tar.xz |
Merge bitcoin/bitcoin#24407: fees: make the class FeeFilterRounder thread-safe
8173f160e085186c9bcc7f3506205c309ee66af6 style: rename variables to match coding style (Vasil Dimov)
8b4ad203d06c5ded6ecebbd7277b29a442d88bcf fees: make FeeFilterRounder::feeset const (Vasil Dimov)
e7a5bf6be79e341e037305a4c2d8a1a510a8d709 fees: make the class FeeFilterRounder thread-safe (Vasil Dimov)
Pull request description:
Make the class `FeeFilterRounder` thread-safe so that its methods can be called concurrently by different threads on the same object. Currently it has just one method (`round()`).
The second commit is optional, but it improves readability, showing that the `feeset` member will never be changed, thus does not need protection from concurrent access.
ACKs for top commit:
jonatack:
re-ACK 8173f160e085186c9bcc7f3506205c309ee66af6
laanwj:
Code review ACK 8173f160e085186c9bcc7f3506205c309ee66af6
promag:
Code review ACK 8173f160e085186c9bcc7f3506205c309ee66af6
Tree-SHA512: 94b809997c485c0d114fa702d0406b980be8eaaebcfefa56808ed670aa943959c2f16cfd0ef72b4752fe2a409a23af1b4b7f2f236e51212957759569e3bbbefd
Diffstat (limited to 'test/functional/interface_rest.py')
0 files changed, 0 insertions, 0 deletions