opcodes like OP_VERIFY can also cause script to fail
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 55/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Stale
- Domain
- documentation
Research direction
Start with script/script.md at the linked revision, especially the failure-condition list around line 17. Add the proposed OP_VERIFY, unmatched conditional, unclosed conditional, and final false-stack cases, then review the document to confirm all suggested failure conditions are represented.
Written by the indexing model from the issue text.
Description
Suggesting :
- If the opcode functions to validate a condition and quickly terminate when that condition is not valid (ie: OP_VERIFY).
- if OP_ENDIF is reached without a previous opening OP_IF, OP_NOTIF, or OP_ELSE.
and then as the last two in this list:
- if at the end of the script, a conditional segment was not closed by OP_ENDIF.
- If after the script concludes, the top of the stack is "false" (empty or zero -- regardless of additional items below).
- 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 65/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
-
bot:ai-assisted component:compact-js status:untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
midnightntwrk/midnight-sdk#403 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
DavidAnson/markdownlint-cli2#940 ·
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
githubnext/gh-aw-workshop#3692 ·
-
agent/guide documentation hive/hosted-available-lke648397-260827-5n31
Difficulty 2/5 1-3 hours Newbie friendliness 90/100