ElementsProject / ElementsProject/elements

OP_CTV support for elements

Aperta
#1,015 2 commenti 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
1.2k
Fork
416
Merge medio
1g 23h
PR unite (30g)
15

Descrizione

Copied from https://github.com/ElementsProject/elements/pull/949#issuecomment-870125117

Challenges:

- Directly migrating OP_CTV is tricky because fees in elements are output UTXO. The value cannot be known statically while receiving money in CTV controlled output. We would have to modify the template w.r.t to not include fee outputs.
- It might require more thinking about how the templating would interact with confidential assets. Just directly using the same template from bitcoin BIP 119 might not be the best way.
- All the functionality which OP_CTV allows is permitted by the current design. You can directly fix the transaction structure by looking at the outputs themselves. The solution is more generic and flexible than a fixed template. You can emulate any specific template that you want here.
- The best selling point about BIP119 is IMO the tooling around it(Sapio). But I don't think we have the bandwidth to extend/maintain Sapio for elements.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Non sono indicati file sorgente, test o punto di ingresso. Inizia esaminando la discussione collegata su BIP 119 e le problematiche elencate relative alle commissioni e agli asset riservati; i criteri di completamento per il supporto di OP_CTV in Elements devono ancora essere definiti.

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

Valutazione

Stack tecnologico
cpp
Ambito
blockchain
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.