-
Notifications
You must be signed in to change notification settings - Fork 46
Miniscript validity and Script decoding checks #72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dc402a9
to
fdb032b
Compare
fdb032b
to
2102ccd
Compare
Merged
1aa89c0
to
f06412c
Compare
Added a note in the |
f06412c
to
0172c97
Compare
sipa
reviewed
Sep 28, 2021
0172c97
to
39356e4
Compare
sipa
reviewed
Sep 28, 2021
sipa
reviewed
Sep 28, 2021
39356e4
to
c1ecd13
Compare
Addressed the comment, and reorganized the diff which i again got mixed up between the commits and the two repos. |
ACK c1ecd13 |
POst merge ACK c1ecd13 |
sipa
added a commit
that referenced
this pull request
Sep 29, 2021
253172e compiler: use IsSane in place of ad hoc sanity checks (Antoine Poinsot) e27282e miniscript: only check "s" at top level for IsSane, rename IsSafe -> IsSane (Antoine Poinsot) fa2fa68 miniscript: IsSafe() implies IsValid(), separate IsSafe() and IsSafeTopLevel() (Antoine Poinsot) Pull request description: Based on #72 this separates `IsSafe` and `IsSafeTopLevel` as suggested in #41 (comment) . ACKs for top commit: sipa: ACK 253172e Tree-SHA512: 5f1bbff0e9092e13f1df6a9166dc8738e694cb6b78b07bc50ec0968ecc07a74e8f73405ba4932753c70cb58a3ff9c62de1b7fe8468f4a4c6295541de557c4457
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This makes Miniscripts which script is invalid by standradness invalid and check nodes are valid when decoding from Script.