diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-07-30 16:16:16 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-07-30 16:18:23 -0400 |
commit | 84d5a6210c9c73c3e03d8b024887553051500b92 (patch) | |
tree | a6f5c51e96c86032e9e6afaa3ee6b1b726e77b46 /test/functional | |
parent | d25079ac7169b119021a06c93a0086aa3c7afc5b (diff) | |
parent | fa5ed4f8d2c4cb3507bcc2460725d483f2e5789c (diff) |
Merge #13786: refactor: Avoid locking tx pool cs thrice
fa5ed4f8d2 refactor: Avoid locking tx pool cs thrice (MarcoFalke)
Pull request description:
`addUnchecked` is (outside the tests) only called by ATMP, which already takes the tx pool read lock. So locking it twice more in both `addUnchecked` methods seems redundant.
Similarly `CalculateMemPoolAncestors` is (beside once in the wallet) only called in contexts, where the tx pool lock is already taken. So remove the lock there as well.
Tree-SHA512: fcf603b570da0fc529fe6db8add218663eae52845510732bee0d4611263d2429d3d3c9c8ae68493d67287d13504500ed51905ccbe711eb15a0af3b019edad543
Diffstat (limited to 'test/functional')
0 files changed, 0 insertions, 0 deletions