39 sentinel.second.SelfRef(sentinel);
43 auto node{sentinel.second.Next()};
44 for (
const auto& expected : nodes) {
52 node = sentinel.second.Next();
53 for (
const auto& expected : nodes) {
55 auto next =
node->second.Next();
56 node->second.ClearFlags();
65 for (
auto it{nodes.begin()}; it != nodes.end(); it = nodes.erase(it)) {
94 sentinel.second.SelfRef(sentinel);
98 auto n1{nodes.begin()};
99 auto n2{std::next(n1)};
100 auto n3{std::next(n2)};
101 auto n4{std::next(n3)};
145 sentinel.second.SelfRef(sentinel);
150 n1.second.AddFlags(0, n1, sentinel);
172 n1.second.AddFlags(0, n1, sentinel);
188 n1.second.ClearFlags();
196 n1.second.ClearFlags();
204 n1.second.AddFlags(0, n1, sentinel);
@ FRESH
FRESH means the parent cache does not have this coin or that it is a spent coin in the parent cache.
@ DIRTY
DIRTY means the CCoinsCacheEntry is potentially different from the version in the parent cache.