HomePhabricator

rpc: make `gettxoutsettinfo` run lock-free
57092ed9e7edUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

rpc: make gettxoutsettinfo run lock-free

For leveldb "An iterator operates on a snapshot of the database taken
when the iterator is created". This means that it is unnecessary to
lock out other threads while computing statistics, and neither to hold
cs_main for the whole time. Let the thread run free.

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on Oct 22 2014, 07:25
deadalnixPushed on May 14 2017, 22:04
Parents
rABCc1fb0e1075f6: Merge pull request #6274
Branches
Unknown
Tags
Unknown

Event Timeline

Wladimir J. van der Laan <laanwj@gmail.com> committed rABC57092ed9e7ed: rpc: make `gettxoutsettinfo` run lock-free (authored by Wladimir J. van der Laan <laanwj@gmail.com>).Jun 16 2015, 11:50