aboutsummaryrefslogtreecommitdiff
path: root/src/script.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-05-09 16:24:46 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-05-09 16:24:57 +0200
commit72f754cf51d09ea9c3daec398da7a8ca7fce8d6e (patch)
tree39835783d027e3d879d9ac3fd9e94fbf049fcd5a /src/script.h
parent54f102248b183618ed7bd198c995232c89dc3152 (diff)
parent6fd7ef2bbf1f941c8dee302ffdeb44e603148723 (diff)
Merge pull request #3637
6fd7ef2 Also switch the (unused) verification code to low-s instead of even-s. (Pieter Wuille)
Diffstat (limited to 'src/script.h')
-rw-r--r--src/script.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script.h b/src/script.h
index af9c794a31..0d8a8544bd 100644
--- a/src/script.h
+++ b/src/script.h
@@ -188,7 +188,7 @@ enum
SCRIPT_VERIFY_NONE = 0,
SCRIPT_VERIFY_P2SH = (1U << 0), // evaluate P2SH (BIP16) subscripts
SCRIPT_VERIFY_STRICTENC = (1U << 1), // enforce strict conformance to DER and SEC2 for signatures and pubkeys
- SCRIPT_VERIFY_EVEN_S = (1U << 2), // enforce even S values in signatures (depends on STRICTENC)
+ SCRIPT_VERIFY_LOW_S = (1U << 2), // enforce low S values (<n/2) in signatures (depends on STRICTENC)
SCRIPT_VERIFY_NOCACHE = (1U << 3), // do not store results in signature cache (but do query it)
SCRIPT_VERIFY_NULLDUMMY = (1U << 4), // verify dummy stack item consumed by CHECKMULTISIG is of zero-length
};