Pieter Wuille 21180ff734 Simplify return values of GetCoin/HaveCoin(InCache)
This removes the possibility for GetCoin/HaveCoin/HaveCoinInCache to return
true while the respective coin is spent. By doing it across all calls, some
extra checks can be eliminated.

coins_tests is modified to call HaveCoin sometimes before and sometimes
after AccessCoin. A further change is needed because the semantics for
GetCoin slightly changed, causing a pruned entry in the parent cache to not
be pulled into the child in FetchCoin.
2017-06-26 16:16:26 -07:00
..
2017-06-05 00:52:36 +02:00
2017-06-22 19:18:10 +03:00
2017-06-22 19:18:10 +03:00
2017-06-22 20:46:37 +02:00
2017-06-22 19:18:10 +03:00
2017-04-13 02:31:44 +02:00
2017-06-09 10:25:26 +02:00
2017-06-22 19:18:10 +03:00
2017-06-09 10:25:26 +02:00
2017-06-22 19:18:10 +03:00
2017-06-09 10:25:26 +02:00
2017-06-09 10:25:26 +02:00
2017-06-05 16:33:35 -04:00
2017-06-22 19:18:10 +03:00
2017-04-21 05:58:31 -07:00
2017-06-05 20:14:53 +02:00
2017-06-09 10:25:26 +02:00
2017-06-22 19:18:10 +03:00
2017-06-01 11:56:06 -07:00
2017-06-22 19:18:10 +03:00