HomePhabricator

Merge #12639: Reduce cs_main lock and avoid extra lookups of mapAddressBook in…

Description

Merge #12639: Reduce cs_main lock and avoid extra lookups of mapAddressBook in listunspent RPC

Summary:
Reduce cs_main lock in listunspent and refactor replacing three mapAddressBook lookups with one.

Backport of Core PR12639
https://github.com/bitcoin/bitcoin/pull/12639/

Test Plan:

../configure --enable-debug
make check
test_runner.py

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc

Reviewed By: deadalnix, O1 Bitcoin ABC, #bitcoin_abc

Differential Revision: https://reviews.bitcoinabc.org/D4516

Details

Provenance
João Barbosa <joao.paulo.barbosa@gmail.com>Authored on May 3 2018, 10:32
nakihitoCommitted on Nov 26 2019, 23:24
jasonbcoxPushed on Nov 27 2019, 00:18
Reviewer
Restricted Owners Package
Differential Revision
D4516: Merge #12639: Reduce cs_main lock and avoid extra lookups of mapAddressBook in listunspent RPC
Parents
rSTAGING3e80fb1e89f0: [wallet] [rpc] Remove getlabeladdress RPC
Branches
Unknown
Tags
Unknown