aboutsummaryrefslogtreecommitdiff
path: root/src/validation.cpp
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-01-13 14:23:59 -0500
committerGregory Maxwell <greg@xiph.org>2017-01-14 22:17:23 +0000
commit7b5e3fe0ccb434821927c9cc2e9f2fb0d7f01dc4 (patch)
treeb63cf89037cf2b2b57cf40322545f648f80184ec /src/validation.cpp
parente440ac7ef3b6f3ad1cd8fc7027cece40413202d9 (diff)
downloadbitcoin-7b5e3fe0ccb434821927c9cc2e9f2fb0d7f01dc4.tar.xz
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