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

未關閉
#4,075 4 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
28/100
Issue 類型
重構
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
rust
領域
backend, payments

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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.
主要語言
Rust
星號
1.4k
分支
482
PR 合併指標
30 天內沒有已合併 PR

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

lightningdevkit/rust-lightning 的其他 Issue

查看 lightningdevkit/rust-lightning 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。