aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2016-12-05 18:30:46 -0500
committerRussell Yanofsky <russ@yanofsky.org>2016-12-05 18:30:46 -0500
commit07df40babb0231b2e8a2f42341805b4bbcc4e284 (patch)
tree2d1afcf8a7eadc040c2728a6d11abc04883ca52c /src/init.cpp
parent7f72568e6b15fc139323fb200591a50762f6df0b (diff)
downloadbitcoin-07df40babb0231b2e8a2f42341805b4bbcc4e284.tar.xz
[test] Add CCoinsViewCache Access/Modify/Write tests
Add more comprehensive unit tests for CCoinsViewCache. Right now it is hard to refactor caching code or fix bugs in the caching logic because you have to try to mentally enumerate all the different states the cache might be in to make sure a change doesn't cause unintended consequences. The new tests explicitly enumerate relevant cache states, documenting and verifying the behavior in each state, so it will be safer and easier to make changes to the caching code in the future.
Diffstat (limited to 'src/init.cpp')
0 files changed, 0 insertions, 0 deletions