Reconsider deriving `signature_expiration_ledger` from `getLatestLedger`

未关闭
#2,780 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@duongynhi000005-oss 已经在做这个了。

开始于 2026年10月26日。

  • #2872 来自 @jdjioe5-cpu —— 已关闭,未合并

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
活跃
技术栈
rust
领域
cli

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
Rust
星标
129
派生
153
平均合并
1 天 14 小时
30 天内合并 PR
11

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

stellar/stellar-cli 的其他 Issue

查看 stellar/stellar-cli 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。