aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorRussell Yanofsky <[email protected]>2020-01-21 15:00:33 -0500
committerRussell Yanofsky <[email protected]>2020-03-31 08:36:02 -0500
commitf7ba881bc669451a60fedac58a449794702a3e23 (patch)
treec7a5782b68d6f6b71fb2da9ec94530cfaaa06deb /src/httpserver.cpp
parentwallet: Avoid use of Chain::Lock in importmulti (diff)
downloaddiscoin-f7ba881bc669451a60fedac58a449794702a3e23.tar.xz
discoin-f7ba881bc669451a60fedac58a449794702a3e23.zip
wallet: Avoid use of Chain::Lock in listsinceblock
This is a step toward removing the Chain::Lock class and reducing cs_main locking. This change only affects behavior in the case where wallet last block processed falls behind the chain tip. Previously listsinceblock might not have returned all transactions up to the claimed "lastblock" value in this case, resulting in race conditions and potentially missing transactions in cases where listsinceblock was called in a loop like https://github.com/bitcoin/bitcoin/issues/14338#issuecomment-426706574
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions