diff options
| author | Wladimir J. van der Laan <[email protected]> | 2018-05-03 14:43:19 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2018-05-03 15:37:41 +0200 |
| commit | 7eb7076f70078c06bef9752f22acf92fd86e616a (patch) | |
| tree | 3f16fbdd5b041ae31416a45b1899f8627039cc6c /src/net_processing.cpp | |
| parent | Merge #13148: logging: Fix potential use-after-free in LogPrintStr(...) (diff) | |
| parent | refactor: Avoid extra lookups of mapAddressBook in listunspent RPC (diff) | |
| download | discoin-7eb7076f70078c06bef9752f22acf92fd86e616a.tar.xz discoin-7eb7076f70078c06bef9752f22acf92fd86e616a.zip | |
Merge #12639: Reduce cs_main lock in listunspent
a59dac3 refactor: Avoid extra lookups of mapAddressBook in listunspent RPC (João Barbosa)
d76962e rpc: Reduce cs_main lock in listunspent (João Barbosa)
Pull request description:
On my system, where the wallet has 10000 unspents, the `cs_main` lock duration changed from 191ms to 36ms. The loop that generates the response takes around 155ms. So, the lock duration is reduced to around 20%.
Tree-SHA512: ddaae591f39da59a9d1a8e9ffe773d857687789476f566ca273d310ad531da6dacff80cac69f3334c601c251ac7c5ed4136656c725aa3d611c6bbf734111946e
Diffstat (limited to 'src/net_processing.cpp')
0 files changed, 0 insertions, 0 deletions