Files
bitcoin/src
Wladimir J. van der Laan 7eb7076f70 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
2018-05-03 15:37:41 +02:00
..
2018-04-16 13:24:14 -07:00
2018-04-16 13:24:14 -07:00
2018-04-26 15:33:11 +02:00
2018-04-16 13:24:14 -07:00
2018-04-16 13:24:14 -07:00
2018-04-16 13:24:14 -07:00
2018-04-27 16:09:59 -07:00