rust-bitcoin / rust-bitcoin/rust-miniscript

Support for address / scriptPubKey descriptors, or expose the descriptor checksum helper

Open
#294 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

We use address descriptors downstream (because bitcoind doesn't support Miniscript descriptors yet), and we can't compute the address descriptor checksum without bitcoind short of copying the checksum code from here. (See https://github.com/revault/revaultd/pull/364.)

If rust-miniscript had support for address or scriptPubKey descriptors this would also solve the issue as we could just leverage their Display implem. It would be a preferable route if we think the checksum computation should be considered internal.

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 reviewing the existing descriptor checksum implementation referenced in the issue and revault/revaultd#364. Compare supporting address/scriptPubKey descriptors with exposing the checksum helper, then define which path fits the project's API; done means the chosen capability is available with matching checksum behavior covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cryptography
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.