aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorMatt Corallo <[email protected]>2017-09-29 17:33:50 -0400
committerMatt Corallo <[email protected]>2017-09-30 14:17:51 -0400
commitbb8376bbc3d96af727444f90e5f60d47105609dc (patch)
treec77c03c9559a52d645a1ff56e6cb291d368ccdcf /src/httpserver.cpp
parentMerge #11319: [qa] Fix error introduced into p2p-segwit.py, and prevent futur... (diff)
downloaddiscoin-bb8376bbc3d96af727444f90e5f60d47105609dc.tar.xz
discoin-bb8376bbc3d96af727444f90e5f60d47105609dc.zip
Verify DBWrapper iterators are taking snapshots
The LevelDB docs seem to indicate that an iterator will not take snapshots (even providing instructions on how to do so yourself). In several of the places we use them, we assume snapshots to have been taken. In order to make sure LevelDB doesn't change out from under us (and to prevent the next person who reads the docs from having the same fright I did), verify that snapshots are taken in our tests.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions