Implementation Tracking: Recurrence Support for BOLT12 Offers

オープン
#4,600 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
18/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
rust

調査の方向性

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 はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

lightningdevkit/rust-lightning のほかの issue

lightningdevkit/rust-lightning の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。