Skip to content

Return validity result instead of error for invalid scripts#13

Merged
stringintech merged 1 commit intomainfrom
improve-script-verify
Dec 9, 2025
Merged

Return validity result instead of error for invalid scripts#13
stringintech merged 1 commit intomainfrom
improve-script-verify

Conversation

@stringintech
Copy link
Owner

Change ScriptPubkey.Verify() to align with the C API behavior by returning a boolean validity result rather than treating invalid scripts as errors; leaving errors for when verification could not be performed due to malformed input.

Change ScriptPubkey.Verify() to align with the C API behavior by returning a boolean validity result rather than treating invalid scripts as errors.
@stringintech stringintech merged commit f0c9fab into main Dec 9, 2025
8 checks passed
@stringintech stringintech deleted the improve-script-verify branch December 10, 2025 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant