aboutsummaryrefslogtreecommitdiff
path: root/src/test/data/script_valid.json
diff options
context:
space:
mode:
authorPatrick Lodder <[email protected]>2015-08-10 13:41:55 +0200
committerRoss Nicoll <[email protected]>2015-10-18 13:28:59 +0000
commitbc4aebb8a76839132352d3af8ca6053811fe0656 (patch)
treefdb82f687241f5d9f048b8de1d90d11c194b8c9e /src/test/data/script_valid.json
parentUse the same time-based constraints as in 1.10 (diff)
downloaddiscoin-bc4aebb8a76839132352d3af8ca6053811fe0656.tar.xz
discoin-bc4aebb8a76839132352d3af8ca6053811fe0656.zip
Only test supermajority for block rejects against v3 blocks
Since v2 and v1 blocks will be rejected at exactly the same time, only check for supermajority once to save 2000 iterations over blockheaders per block. Also moves the version check to AcceptBlockHeader() rather than AcceptBlock() to be able to reject early on.
Diffstat (limited to 'src/test/data/script_valid.json')
0 files changed, 0 insertions, 0 deletions