Files
blackcoin-more/src/test/data
Peter Todd 03914234b3 Discourage NOPs reserved for soft-fork upgrades
NOP1 to NOP10 are reserved for future soft-fork upgrades. In the event
of an upgrade such NOPs have *VERIFY behavior, meaning that if their
arguments are not correct the script fails. Discouraging these NOPs by
rejecting transactions containing them from the mempool ensures that
we'll never accept transactions, nor mine blocks, with scripts that are
now invalid according to the majority of hashing power even if we're not
yet upgraded. Previously this wasn't an issue as the IsStandard() rules
didn't allow upgradable NOPs anyway, but 7f3b4e95 relaxed the
IsStandard() rules for P2SH redemptions allowing any redeemScript to be
spent.

We *do* allow upgradable NOPs in scripts so long as they are not
executed. This is harmless as there is no opportunity for the script to
be invalid post-upgrade.
2014-11-17 22:22:33 -05:00
..
2014-08-19 10:28:58 -04:00
2014-03-18 10:20:55 +01:00
2014-03-31 11:19:19 -03:00
2014-08-19 23:15:58 -04:00
2014-08-19 23:15:58 -04:00
2014-08-19 23:15:58 -04:00
2014-08-19 23:15:58 -04:00
2014-06-02 10:54:20 +02:00
2014-08-19 23:15:58 -04:00

Description

This directory contains data-driven tests for various aspects of Bitcoin.

License

The data files in this directory are

Copyright (c) 2012-2014 The Bitcoin Core developers
Distributed under the MIT/X11 software license, see the accompanying
file COPYING or http://www.opensource.org/licenses/mit-license.php.