diff options
| author | Pieter Wuille <[email protected]> | 2017-04-28 16:08:39 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2017-04-28 16:15:01 -0700 |
| commit | db994b2de93f52c9e7bed8529ca925de5064a46f (patch) | |
| tree | 37d6a59445bc81c6652afd4e162e66ab0db8793b /src/httpserver.cpp | |
| parent | Merge #10075: Remove unused C++ code not covered by unit tests (diff) | |
| download | discoin-db994b2de93f52c9e7bed8529ca925de5064a46f.tar.xz discoin-db994b2de93f52c9e7bed8529ca925de5064a46f.zip | |
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/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions