OP_CHECKSIGADD order of the stack elements
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 65/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Stale
- Domain
- documentation
Research direction
Start with opcodes/OP_CHECKSIGADD.md and compare its stack-order description with the OP_CHECKSIGADD section of BIP-342. Correct the documented pop order to match the BIP and verify that the explanation reflects the witness signature's position on the stack.
Written by the indexing model from the issue text.
Description
OP_CHECKSIGADD says that:
Pop 3 items from the stack:
- Signature (top)
- Public key
- An integer counter
But BIP-342 Rules for signature opcodes says:
For OP_CHECKSIGADD,
- the public key (top element),
- a CScriptNum n (second to top element), and
- a signature (third to top element)
are popped from the stack.
The signature (witness) has to go first on the stack, so it has to be the third one, as the BIP says.
- Dominant language
- JavaScript
- Stars
- 38
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from thunderbiscuit/opcodeexplained.com
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
Add favicon Open
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
OP_SUCCESS Open
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
thunderbiscuit/opcodeexplained.com#3 · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
All issues in thunderbiscuit/opcodeexplained.com
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·