rust-bitcoin / rust-bitcoin/rust-bitcoin

Documentation of PSBT non_witness_utxo field

Open
#2,175 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
2.7k
Forks
1k
Avg merge
4d 1h
Merged PRs (30d)
88

Description

Should only be Option::Some for inputs which spend non-segwit outputs or if it is unknown whether an input spends a segwit output.

This seems wrong due to the "segwit bug"

I think both trezor and ledger hardware wallet for example refuse to sign a PSBT if the non_witness_utxo isn't Some for segwit inputs

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

Locate the documentation for the PSBT non_witness_utxo field and compare its wording with the cited Trezor and Ledger behavior and the segwit bug. Done means the documentation accurately states when the field should be present, including the case described in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
blockchain, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.