diff options
author | John Newbery <john@johnnewbery.com> | 2017-01-13 14:23:59 -0500 |
---|---|---|
committer | Gregory Maxwell <greg@xiph.org> | 2017-01-14 22:17:23 +0000 |
commit | 7b5e3fe0ccb434821927c9cc2e9f2fb0d7f01dc4 (patch) | |
tree | b63cf89037cf2b2b57cf40322545f648f80184ec /src/validation.cpp | |
parent | e440ac7ef3b6f3ad1cd8fc7027cece40413202d9 (diff) |
Add assumevalid testcase
Adds a qa testcase testing the new "-assumevalid" option. The testcase builds
a chain that includes and invalid signature for one of the transactions and
sends that chain to three nodes:
- node0 has no -assumevalid parameter and rejects the invalid chain.
- node1 has -assumevalid set and accepts the invalid chain.
- node2 has -assumevalid set but the invalid block is not buried deep
enough to assume invalid, and so rejects the invalid chain.
Diffstat (limited to 'src/validation.cpp')
0 files changed, 0 insertions, 0 deletions