diff options
author | fanquake <fanquake@gmail.com> | 2021-01-14 23:02:44 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-01-14 23:35:41 +0800 |
commit | f91587f050d9dceb45fe10129a76a4a9a060a09c (patch) | |
tree | c78a58afec51a0a09ba76aa0ae8d6aae5a5ab12e /src/test/fuzz/connman.cpp | |
parent | 29d2aeb4a2b1830be4724aab3a84a62f072056f4 (diff) | |
parent | 2f463f57e3a9797236142a525703359a98fe19ea (diff) | |
download | bitcoin-f91587f050d9dceb45fe10129a76a4a9a060a09c.tar.xz |
Merge #20834: locks and docs in ATMP and CheckInputsFromMempoolAndCache
2f463f57e3a9797236142a525703359a98fe19ea [doc] for CheckInputsFromMempoolAndCache (gzhao408)
85cc6bed64dc17e3b091af9e14bc2f4d4e9bcaf1 lock annotations for MemPoolAccept functions (gzhao408)
Pull request description:
This is a very small PR that adds some lock annotations to clarify that, now, the `pool.cs` lock is held throughout tx validation for mempool. The comments in `CheckInputsFromMempoolAndCache` were unclear/outdated so I updated those as well.
~This PR is a cleanup. It removes unnecessary code that doesn't do much.~
ACKs for top commit:
sdaftuar:
utACK 2f463f57e3a9797236142a525703359a98fe19ea
jnewbery:
utACK 2f463f57e3a9797236142a525703359a98fe19ea
MarcoFalke:
cr ACK 2f463f57e3a9797236142a525703359a98fe19ea
fanquake:
ACK 2f463f57e3a9797236142a525703359a98fe19ea
Tree-SHA512: 5863a546b00ef02eba8f208c2c04c32f64671f17c967a5e3c51332fc0f472e5e9addddae075d0b91c77caebe1be9331317646b0bec802e86d9550773fd9621a9
Diffstat (limited to 'src/test/fuzz/connman.cpp')
0 files changed, 0 insertions, 0 deletions