summaryrefslogtreecommitdiff
path: root/bip-0011.mediawiki
diff options
context:
space:
mode:
authorVis Virial (a.k.a. びりある) <visvirial@users.noreply.github.com>2020-02-20 16:24:06 +0900
committerGitHub <noreply@github.com>2020-02-20 16:24:06 +0900
commit9329af381f02d5fcf38f4db6b185c73beae3c930 (patch)
treee78fca34a5ed869d95b319cace5b66af759df104 /bip-0011.mediawiki
parentb38171d14e8a9827239c3147521f617477f3a8d8 (diff)
Fix "Using a single OP_CHECKSIGADD-based script"
1. CHECKSIG / CHECKSIGADD is confused Only the first OP-code for the first public key should be "CHECKSIG" and the following (second to n-th) OP-codes should be "CHECKSIGADD". It is confusing because it is only specified the first and last OP-codes, so I specified the second OP-code clearly. (I recommend to describe why only the first OP-code should be "CHECKSIG", not "CHECKSIGADD".) 2. Order of the signatures in witness In the original sentence, the stack status after the all witness elements are pushed will be | w_n | | : | | w_1 | and then, the first element of the script, "<pubkey_1>" will be pushed to the stack | pubkey_1 | | w_n | | : | | w_1 | so the "pubkey_1" and "w_n" won't match. The order of either "pubkey_i"s or "w_i"s should be inverted.
Diffstat (limited to 'bip-0011.mediawiki')
0 files changed, 0 insertions, 0 deletions