aboutsummaryrefslogtreecommitdiff
path: root/src/test/main_tests.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-10-20 08:30:03 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-10-20 19:26:36 +0200
commit5ca8ef299a08aae91d5061750533694b58d810b2 (patch)
treef17086d6793903e3eedcf23909191d934f59b5ce /src/test/main_tests.cpp
parentc5875773561c249a079714f3b091a2577707eadf (diff)
libconsensus: Add input validation of flags
Makes it an error to use flags that have not been defined on the libconsensus API. There has been some confusion as to what pass to libconsensus, and (combined with mention in the release notes) this should clear it up. Using undocumented flags is a risk because their meaning, and what combinations are allowed, changes from release to release. E.g. it is no longer possible to pass (CLEANSTACK | P2SH) without running into an assertion after the segwit changes.
Diffstat (limited to 'src/test/main_tests.cpp')
0 files changed, 0 insertions, 0 deletions