Reconsider deriving `signature_expiration_ledger` from `getLatestLedger`

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

Maintainer thường phản hồi trong vòng 1 ngày

@duongynhi000005-oss đang làm issue này rồi.

Từ ngày 26/10/2026.

  • #2872 của @jdjioe5-cpu — đã đóng, không merge

Đá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
35/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
cli

Hướng nghiên cứu

Start by reading config/mod.rs and tracing how getLatestLedger supplies the value for signature_expiration_ledger. Clarify whether the intended outcome is an independent cap, an explicit option, or both; done means the chosen behavior makes the validity window predictable regardless of the RPC-reported ledger.

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

Mô tả

config/mod.rs sets signature_expiration_ledger = latest_ledger + 60, where latest_ledger comes from the configured RPC's getLatestLedger. This ties the signature validity window directly to a value reported by the network feed, so the window isn't predictable from the client side.

Evaluate bounding/capping the expiration window independently of the reported ledger, and/or exposing it as an explicit option, so the validity window is predictable regardless of what the endpoint returns.

Ngôn ngữ chính
Rust
Star
129
Fork
153
Merge trung bình
1 ngày 14 giờ
Pull request đã merge (30 ngày)
11

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 stellar/stellar-cli

Tất cả issue của stellar/stellar-cli

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.