`lightning-liquidity::lsps2::event::LSPS2ServiceEvent::OpenChannel` is incredibly unclear

Aperta
#4,075 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
28/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
rust
Ambito
backend, payments

Direzione di ricerca

Start at lightning-liquidity::lsps2::event::LSPS2ServiceEvent::OpenChannel and the fields named in the issue (amt_to_forward_msat, opening_fee_msat, user_channel_id, intercept_scid). Read how those values are set and consumed so you can tell whether this is docs, renames, or dropping user_channel_id. Done means the event is unambiguous for implementers; this is API design, not a one-file first issue, and the thread has been idle for about a year.

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

Descrizione

lightning-liquidity
  • What is amt_to_forward_msat, is that what I should use as push_msat (its not, but it really reads like it, in fact its not something the user has to deal with at all!)?
  • The name opening_fee_msat sounds like what I should use for the tx fee, but should really be opening_fee_earned_msat
  • Why is LSPS2 involved in user_channel_id at all? It should have no problem tracking everything by intercept_scid. We shouldn't even be relying on user_channel_id being globally unique cause it isn't required to be.
Lingua principale
Rust
Stelle
1.4k
Fork
482
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 lightningdevkit/rust-lightning

Tutte le issue di lightningdevkit/rust-lightning

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.