[33.0-beta0] | ScriptBuf Tag Types + Rust Miniscript Integration
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
- Issue type
- Refactor
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- rust
- Domain
- cryptography
Research direction
Start with rust-miniscript's src/descriptor/bare.rs and compare its ScriptBuf use with rust-bitcoin's primitives/src/script/mod.rs and primitives/src/script/tag.rs. Read the linked MuSig FFI context to understand the 33.0-beta0 constraint and determine how the bare descriptor output should represent both ScriptSig and WitnessScript uses. Done means an agreed ScriptBuf tagging approach that supports this integration without misrepresenting the script's valid contexts.
Written by the indexing model from the issue text.
Description
Problem
Currently I am attempting a refactor of rust-miniscript library to enable BIP-0390 musig descriptor support.
Schnorr Pk agg is not a part of rust-bitcoin 31.x FFI bindings in libsecp256k1 this leads to a problem. Updating to version 33.0-beta0 which supports these bindings uses a new tagged version of ScriptBuf which is hard to refactor into locations like this ... RustMsiniscript Bare
Where the above function does not fit the model of any of the available tags this is because the above function should return a script buffer that can be used either as a ScriptSig element or a WitnessScript which each have their own tags but not a mixed tag that represent multiple locations for use.
Thanks in advance,
PortlandHODL
- Dominant language
- Rust
- Stars
- 2.7k
- Forks
- 1.1k
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 41
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
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 rust-bitcoin/rust-bitcoin
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
rust-bitcoin/rust-bitcoin#7291 ·
Maintainers usually reply within 1 day
-
primitives: `Witness` is missing functionality to read the items in reverse orderPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
rust-bitcoin/rust-bitcoin#7176 · 8 comments ·
Maintainers usually reply within 1 day
-
p2p: `VersionMessage` decoding rejects a missing relay byte, which BIP37 makes optionalPossibly taken @nyonson claimed this 27 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
rust-bitcoin/rust-bitcoin#7073 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
rust-bitcoin/rust-bitcoin#6793 · 30 comments ·
Maintainers usually reply within 1 day
-
Use ubuntu 26 in CIPossibly taken @Yunusabdul38 claimed this 203 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
rust-bitcoin/rust-bitcoin#6175 · 3 comments ·
Maintainers usually reply within 1 day
All issues in rust-bitcoin/rust-bitcoin
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
marklauter/tsong#110 ·
-
docs enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
wasm-bindgen/wasm-bindgen#5503 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
vortex-data/vortex#12633 ·
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
marketing
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day