XRP Ledger 升级移除 NFT 冗余并修复核心错误
前言
背景:XRP Ledger 正在部署 fixCleanup3_1_3 修订案,以解决长期存在的效率低下与若干正确性错误。 目的:本文解释此升级更改内容、谁需要采取行动,以及这些修复对网络健康、存储效率与借贷/会计完整性的意义。节点运营者与验证节点应特别注意,因为若未更新,修订案启用时将被断开连接。对于一般钱包用户及托管交易所客户,则无需采取任何行动。
懒人包
此更新会自动移除已过期的 NFT 报价,防止意外更改受限权限设置,强制在金库提现时遵守信任线限制,并修正贷款会计更新。 主要好处包括 减少账本膨胀、更强的权限安全,以及 更准确的借贷记录。验证节点与节点运营者必须在启用前升级,否则将被断开连接。
主体内容
The XRP Ledger, a Layer 1 blockchain that facilitates multi-currency settlements using the XRP token, is scheduled to enable an important maintenance amendment named fixCleanup3_1_3. This upgrade targets several operational and correctness issues that have accumulated over time. Its purpose is to improve ledger hygiene, tighten permission enforcement, and ensure accurate accounting in decentralized lending flows. While typical end users who only hold XRP in wallets or on exchanges are unaffected, node operators and validators must update their software before the activation deadline or risk being amendment-blocked and falling out of consensus with the network.
One of the most visible changes involves non-fungible token (NFT) offers. On the ledger, creating an offer to sell an NFT leaves a persistent record. Historically, if an offer expired or was simply ignored, it could remain on the ledger indefinitely. That residual state contributes to ledger bloat, consuming storage and increasing the workload for nodes that maintain full history. The fixCleanup3_1_3 amendment introduces automatic cleanup of expired NFT offers, effectively removing stale listings once they are no longer valid. Conceptually, this is similar to deleting expired classifieds rather than preserving them in perpetuity, and it reduces unnecessary storage and lookup overhead for nodes and indexers.
Another area corrected by the amendment is the handling of Permissioned Domains. Permissioned Domains restrict certain actions—access to assets, order books, or special settings—to a defined set of accounts. Previously, a bug allowed the possibility that failed transactions could still alter restricted settings, unintentionally changing domain configuration even when the intended operation did not succeed. The amendment tightens checks so that failed operations cannot produce side effects on permissioned settings, closing a subtle but important attack surface and helping preserve intended domain policies.
Vaults are a critical primitive on the ledger for secure custody and collateralization. When tokens move out of a vault, the receiving account can only hold up to a preconfigured maximum—its trust-line limit. Prior to this upgrade, vault withdrawal processing did not consistently verify that the recipient’s trust-line limit could accept the incoming amount, which could lead to situations where a transfer bypassed the account’s limit. fixCleanup3_1_3 ensures that vault withdrawals now respect trust-line limits during execution, preventing unintended overflows or failed post-processing states. This change reduces the likelihood of inconsistent balances and enforces account-level constraints at the time of the transfer.
Lending and loan accounting have also received targeted corrections. The XRP Ledger supports decentralized lending workflows where loans, collateral vaults, and lender records must remain synchronized. In some scenarios—such as defaults or impairments—related ledger entries (the loan record, lender balances, and collateral vaults) were not reliably updated, producing stale or mismatched accounting. The upgrade rectifies this by ensuring all dependent ledger entries are updated atomically when a loan’s status changes. Accurate, timely updates prevent confusing balances for participants and make protocol behavior more predictable for developers building lending services.
The amendment also clarifies error handling for loan overpayments and strengthens checks for specialized entities called LoanBrokers. If a loan disallows overpayments, attempts to overpay will now return a clear permission error (tecNO_PERMISSION) rather than a vague invalid flag. This explicit error improves developer and user experience by making rejections easier to interpret and handle programmatically. Additionally, LoanBrokers advertise a “CoverAvailable” amount—first-loss capital intended to protect lenders. The amendment adds a safety check to ensure the advertised CoverAvailable matches the actual assets in the broker’s protected pseudo-account, reducing the risk of mismatches between advertised protection and real backing.
Activation logistics are straightforward but strict: the amendment will be enabled on a set date, and validators and node operators must run the updated software before that moment. Nodes that do not upgrade will be amendment-blocked and fall out of sync with the ledger. Reports indicate a significant portion of the network has already applied the update, but operators should verify their nodes are running the required release to avoid interruption. For wallet users and custodial services, no manual action is required; services that operate nodes on behalf of users must, however, ensure timely upgrades.
Operationally, the changes should yield a cleaner ledger state, fewer surprising permission side effects, and more reliable accounting for lending activities—outcomes that benefit developers, node operators, and broader ecosystem participants. From a technical perspective, improvements to automatic cleanup and stricter checks reduce technical debt and lower the long-term cost of maintaining the ledger. For financial primitives like loans and vaults, ensuring correctness and explicit error signalling is essential to maintaining trust and composability across DeFi services built on the ledger.
In summary, fixCleanup3_1_3 is a maintenance-focused but impactful amendment: it reclaims storage by removing expired NFT offers, protects controlled domain settings from accidental modification, enforces trust-line constraints on vault withdrawals, and fixes loan-accounting updates and Broker checks. The collective effect is improved stability and predictability of the XRP Ledger. Node operators should upgrade promptly; everyday XRP holders and custodial users do not need to take any action.
关键洞见表
| 面向 | 说明 |
|---|---|
| 已过期的 NFT 报价 | 自动删除已过期或不活跃的 NFT 报价,以减少账本膨胀和存储开销。 |
| 受限域(Permissioned Domains) | 防止失败的交易意外更改受限域设置,提升安全性。 |
| 金库提现 | 在金库提现时强制执行接收方的信任线限制,以避免超过账户约束。 |
| 贷款会计 | 确保在贷款违约或减值时,所有相关的账本条目一致更新。 |
| 贷款超付与中介 | 对不允许超付的情形返回明确的权限错误,并检查 LoanBroker 的 CoverAvailable 是否与实际资产一致。 |
| 启用要求 | 验证节点与节点运营者必须在启用前升级,否则会被断开连接;钱包用户无需采取行动。 |
注意:本摘要侧重于 fixCleanup3_1_3 修订案引入的技术变更及其操作影响。不包含宣传性内容,旨在帮助节点运营者、开发者与感兴趣的用户理解此升级的效果。