Alter assumptions in CCoinsViewCache::BatchWrite
commit072e2f864445bc6ef3b390255f08c9e8bec2ea94
authorAlex Morcos <morcos@chaincode.com>
Thu, 26 Mar 2015 17:52:10 +0000 (26 13:52 -0400)
committerAlex Morcos <morcos@chaincode.com>
Wed, 18 Nov 2015 17:03:50 +0000 (18 12:03 -0500)
treeb1781d992e08263efa1b03b5f00f8f9c08760ac2
parent73fa5e604356ab4182971376fd758b4680737b5a
Alter assumptions in CCoinsViewCache::BatchWrite

Previously it would break if you flushed a parent cache while there was a child cache referring to it.  This change will allow the flushing of parent caches.
src/coins.cpp
src/test/coins_tests.cpp