aboutsummaryrefslogtreecommitdiff
path: root/src/random.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2014-10-22 09:25:08 +0200
committerWladimir J. van der Laan <[email protected]>2015-06-16 13:50:38 +0200
commit57092ed9e7edb3c60adc75823dd922ad67ddec62 (patch)
tree00762b0a09ef2761b8fa025e8227d0f9a971b038 /src/random.cpp
parentMerge pull request #6274 (diff)
downloaddiscoin-57092ed9e7edb3c60adc75823dd922ad67ddec62.tar.xz
discoin-57092ed9e7edb3c60adc75823dd922ad67ddec62.zip
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.
Diffstat (limited to 'src/random.cpp')
0 files changed, 0 insertions, 0 deletions