diff options
| author | Patrick Lodder <[email protected]> | 2015-08-10 13:41:55 +0200 |
|---|---|---|
| committer | Ross Nicoll <[email protected]> | 2015-10-18 13:28:59 +0000 |
| commit | bc4aebb8a76839132352d3af8ca6053811fe0656 (patch) | |
| tree | fdb82f687241f5d9f048b8de1d90d11c194b8c9e /src/test/data/script_valid.json | |
| parent | Use the same time-based constraints as in 1.10 (diff) | |
| download | discoin-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