diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-02-28 22:49:18 +0700 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-02-28 22:49:29 +0700 |
commit | e5753fa4e808aab0f10641a5ed4d53fa1ae0e141 (patch) | |
tree | ce96cad876d162419947d34ed2ac07a17d6aeced /src/util/validation.cpp | |
parent | eae48ec84c4deacfe92139d07ee80e51136cb766 (diff) | |
parent | 5ffaf883b93fb8d3d841c36e808b90d61d39d492 (diff) | |
download | bitcoin-e5753fa4e808aab0f10641a5ed4d53fa1ae0e141.tar.xz |
Merge #17921: test: test OP_CSV empty stack fail in feature_csv_activation.py
5ffaf883b93fb8d3d841c36e808b90d61d39d492 test: eliminiated magic numbers in feature_csv_activation.py (Sebastian Falbesoner)
09f706ab8e47ddfdfa41418f2e7cb6d87661147a test: check for OP_CSV empty stack fail reject reason in feature_csv_activation.py (Sebastian Falbesoner)
cbd345a75c2be26e17fce4c65c0c1ca19a3eb9e0 test: test OP_CSV empty stack fail in feature_csv_activation.py (Sebastian Falbesoner)
Pull request description:
Adds an empty stack failure check for OP_CSV (BIP112) to the functional test `feature_csv_activation.py` by prepending a valid scriptSig with `OP_CHECKSEQUENCEVERIFY`.
If BIP112 is inactive, the operator just behaves as a NOP (for both tx versions 1 and 2) and the transaction remains valid -- if it is active, the tx is invalid due to an empty stack (for both tx versions 1 and 2, as well).
Top commit has no ACKs.
Tree-SHA512: 81102aaead5be11e02b894867fa9a9cc17358ec0eb2f21ce2d3db845b87691d305e6ed7c525f9c7e5bcb3c5c609eb28deca0fbaa3d5e9ff928cecd3b91ff129a
Diffstat (limited to 'src/util/validation.cpp')
0 files changed, 0 insertions, 0 deletions