rust-bitcoin / rust-bitcoin/rust-miniscript

Feature request: "lax" interpreter that will flag (but not fail) some issues

Open
#60 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
426
Forks
200
Avg merge
7d 17h
Merged PRs (30d)
8

Description

Our current interpreter assumes standardness rules and will fail when one is violated during evaluation (e.g. a non-null invalid signature, or a non-minimal if). Would be good if we could recover from these but somehow indicate to the user that something is wrong.

Probably ought to be prototyped in Esplora.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the current interpreter behavior and the proposed Esplora prototype area. Define which standardness violations should be recoverable and how the interpreter will indicate them without failing evaluation. Done means the scope and user-visible behavior are specified well enough to prototype and test.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
blockchain
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.