Should we expose a way to unilaterally disable channels?

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
22/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
rust
Lĩnh vực
blockchain, networking

Hướng nghiên cứu

This is an open design question, not a specified change: whether to document that rejecting HTLCs on announced channels is discouraged, and whether to expose a way to unilaterally disable one side of an announced channel. Start from the issue thread and Lightning channel-update / disable semantics; there are no files or tests named. Done is a maintainer decision plus either a docs clarification or a scoped API if they agree to build it.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Now with HTLC interception users could announce a channel to then reject every / most HTLC based on some metric. This would be a huge disservice to the network, i.e., to everybody who tries to route through them.

We should strongly clarify in the docs that this is discouraged and that rejecting HTLCs over announced channels is really contradictory - if you announce a channel it holds the semantics of "will be 24/7 online for routing payments".

Apart from that, I do wonder if we should allow users to unilaterally disable their side of an announced channel to signal that no HTLCs will be routed in a direction?

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.