1
0
mirror of https://github.com/bitcoin/bips.git synced 2024-11-19 09:50:06 +01:00
Commit Graph

8 Commits

Author SHA1 Message Date
MarcoFalke
d8531483f5 bip 341/342: Replace CCompactSize with CompactSize 2020-09-03 14:37:50 -07:00
Gregory Sanders
25fe598828
be slightly more explicit about codesep_pos
Felt this could be under-defined, and if this is wrong, would be nice to have correct text in its place
2020-08-16 23:32:38 -04:00
Pieter Wuille
b9ea863727 Use consistent capitalization of tag TapSighash 2020-07-28 13:50:50 -07:00
Vis Virial (a.k.a. びりある)
9329af381f
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.
2020-02-20 16:24:06 +09:00
Pieter Wuille
9cf4038f17 fix BIP links 2020-01-20 07:35:26 -08:00
Pieter Wuille
c3b91dcc22 Fixes to headers 2020-01-19 14:48:58 -08:00
Pieter Wuille
e1914b8173 fixes 2020-01-19 14:48:58 -08:00
Pieter Wuille
1faa4b19bc Rename BIPs 2020-01-19 14:47:33 -08:00