Support for the `option_simple_close` Mutual Close Protocol

Đang mở
#3,862 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@tnull đang làm issue này rồi.

Từ ngày 16/6/2025.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

This issue is intended to provide an outline of the necessary steps to complete support for option_simple_close (cf. https://github.com/lightning/bolts/pull/1205)

  • Add the feature bit/message types/support for OP_RETURN in ShutdownScript (https://github.com/lightningdevkit/rust-lightning/pull/3861)
  • Pre-/Refactor channel closing state
    • e.g., move signer_pending_closing/pending_counterparty_closing_signed to a state enum that can be reused with respective variants for ClosingComplete/ClosingSig
  • Add handling logic for ClosingComplete/ClosingSig, adjust closing transaction construction
  • Add support for async singing (via signer_unblocked flow)
  • Add support for RBF'ing closing transactions
  • Add fuzz tests for option_simple_close
  • Drop cfg(simple_close) flag entirely, advertise optional feature by default
    • Tbd. which parts of v1 test cases we want to covert, duplicate, or leave working on v1
Ngôn ngữ chính
Rust
Star
1.4k
Fork
482
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của lightningdevkit/rust-lightning

Tất cả issue của lightningdevkit/rust-lightning

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.