Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

PSBT dialog: adding non-final signature to input results in error

Aperta
#657 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cpp
Ambito
desktop

Direzione di ricerca

Inizia riproducendo il flusso multisig di legacy-wallet nella finestra di dialogo PSBT, quindi confronta il suo comportamento con RPC walletprocesspsbt quando viene aggiunta una firma non finale. I punti di ingresso rilevanti menzionati sono la finestra di dialogo PSBT e walletprocesspsbt; il lavoro è completato quando la GUI accetta e conserva una firma parziale invece di segnalare "Could not sign any more inputs."

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Bug Wallet

Only tried this with a legacy wallet.

Steps:

  1. Create 3 legacy wallets
  2. Call getnewaddress and getaddressinfo, note the public key (a, b, c)
  3. On each of the wallets, call addmultisigaddress 2 [a,b,c] "Multisig" legacy
  4. Copy the inferred descriptor returned by any of the previous calls, drop the origin info
  5. Create a watch-only descriptor wallet and import the descriptor
  6. Send coins to it, wait for confirmation
  7. Create a PSBT in the GUI by sending the funds elsewhere (without a change address)
  8. Open this PSBT in wallet a, b or c and try to sign it
  9. Notice the error message: "Could not sign any more inputs"
  10. Try instead to sign via RPC with walletprocesspsbt using one of the wallets
  11. Copy the processed result and open it in one of the other two wallets
  12. Now it happily signs it, because the 2nd signature makes it complete

cc @achow101

Lingua principale
C++
Stelle
747
Fork
376
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di bitcoin-core/gui

Tutte le issue di bitcoin-core/gui

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.