diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2017-04-28 16:08:39 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2017-04-28 16:15:01 -0700 |
commit | db994b2de93f52c9e7bed8529ca925de5064a46f (patch) | |
tree | 37d6a59445bc81c6652afd4e162e66ab0db8793b /src/checkqueue.h | |
parent | 4c924011f535c46b3bc02bef8b7e2a8ad559d78d (diff) |
Simplify DisconnectBlock arguments/return value
DisconnectBlock currently has a complicated interface:
Situation Return value
pfClean != nullptr pfClean == nullptr
All good: true true
Failure: false false
Unclean rewind: true false
with *pfClean=false
Change this to return a tristate enum instead. As an added bonus,
remove the ValidationState& argument which was unused.
Diffstat (limited to 'src/checkqueue.h')
0 files changed, 0 insertions, 0 deletions