Allow unconfidential destination addresses to support interaction with Simplicity smart contracts

Aperta
#224 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
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
cpp
Ambito
backend

Direzione di ricerca

Nell’issue non sono indicati file o test. Individua la validazione che rifiuta gli indirizzi di destinazione non riservati e segui il flusso esistente di avviso o conferma della transazione; il lavoro è completato quando tali destinazioni possono procedere con un avviso sulla privacy appropriato, mentre le destinazioni riservate mantengono il comportamento attuale.

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

Descrizione

(Migrated from green_qt issue at https://github.com/Blockstream/green_qt/issues/185)

For a long time Green has deliberately prevented sending assets to unconfidential addresses in order to promote the use of CT.

With the advent of Simplicity in Liquid, this restriction appears too restrictive. There are many use cases in which Simplicity contracts require unblinded amount and asset information because they need to examine it in order to enforce policies related to the details of a transaction. The Simplicity contract has nowhere to store secrets, so the transaction details will sometimes need to be unblinded prior to sending them to the contract. We got a bug report about this from a contract developer who was hoping to fund a contract instance via a Blockstream App and could not complete the transaction due to the contract's address being unconfidential.

There are other possible solutions related to whitelisting Simplicity contracts (which may interact with future designs for UI around contract interaction), but I think the best case for now would be to change the strict prohibition on unconfidential destinations to a warning (that could say that the unconfidential transaction may reduce privacy unnecessarily if the recipient is an individual or organization, but that it may be appropriate if the destination is a smart contract).

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

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 Blockstream/gdk

Tutte le issue di Blockstream/gdk

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.