Implementation Tracking: Recurrence Support for BOLT12 Offers
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 18/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- rust
- 领域
- backend, blockchain
调研方向
This is an implementation-tracking issue, not a single starter task. Read the spec PR (lightning/bolts#1240) and the LDK design thread (#4476) first, then pick one unchecked rust-lightning item (BOLT12 wire fields on Offers, Invoice Requests, or Invoices). Work lives in the rust-lightning crate that already handles BOLT12 messages; LDK Node owns public APIs and outbound state. Done means the chosen checklist item plus interoperability tests, not the whole recurrence feature.
由索引模型根据 Issue 内容生成。
描述
This issue tracks the implementation progress for Recurrence.
Spec PR: https://github.com/lightning/bolts/pull/1240
LDK design discussion: #4476
Summary of Design Discussion
Based on the design discussion, Recurrence support will be split across rust-lightning and LDK Node.
rust-lightning will handle the protocol-facing pieces: wire data, a minimal API surface, and the handling logic that does not require access to saved recurrence state.
LDK Node will own the public-facing APIs and outbound recurrence state tracking.
Implementation Plan
rust-lightning
- Introduce recurrence wire fields for BOLT12 messages:
- Offers
- Invoice Requests
- Invoices
- Introduce builder support for creating an InvoiceRequest with an explicit signing pubkey
- Add handler logic:
- Payee-side InvoiceRequest handling using the recurrence token
- Payer-side Invoice handling using the BlindedPath
MessageContext
LDK Node
- Set up outbound recurrence state tracking, update, and expiry logic
- Introduce recurrence offer builder
- Introduce APIs to pay, re-pay, and cancel recurrence for recurring offers
Spec
- Run interoperability tests
- Review and merge spec
- 主要语言
- Rust
- 星标
- 1.4k
- 派生
- 482
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
lightningdevkit/rust-lightning 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 83/100
lightningdevkit/rust-lightning#4767 ·
-
难度 1/5 1 小时以内 新手友好度 65/100
lightningdevkit/rust-lightning#1849 ·
-
难度 4/5 3-5 天 新手友好度 22/100
lightningdevkit/rust-lightning#4764 · 3 条评论 ·
-
难度 5/5 一周以上 新手友好度 22/100
lightningdevkit/rust-lightning#4757 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 28/100
lightningdevkit/rust-lightning#4739 ·
查看 lightningdevkit/rust-lightning 的全部 Issue
相似的 Issue
-
bug help wanted ui
难度 2/5 1-3 小时 新手友好度 82/100
userFRM/egui-charts#4292 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 83/100
Tripstack-Corp/spyc#1352 ·
维护者通常 1 天内回复
-
marketing
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
area:tui enhancement P2
难度 2/5 1-3 小时 新手友好度 85/100
agent-of-empires/agent-of-empires#6077 ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复