aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2017-04-28 16:08:39 -0700
committerPieter Wuille <[email protected]>2017-04-28 16:15:01 -0700
commitdb994b2de93f52c9e7bed8529ca925de5064a46f (patch)
tree37d6a59445bc81c6652afd4e162e66ab0db8793b /src/httpserver.cpp
parentMerge #10075: Remove unused C++ code not covered by unit tests (diff)
downloaddiscoin-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