Version 3.5.0 of xrpld, the reference server implementation of the XRP Ledger protocol, is now available.
This release introduces one new amendment and changes the status of three existing amendments:
- fixCleanup3_5_0: Bundles amendment-gated fixes.
- fixAMMv1_1: This amendment is retired, making it a permanent part of the protocol.
- XChainBridge and fixXChainRewardRounding: These amendments are marked obsolete. Servers running 3.5.0 no longer vote for them.
The release also adds pagination to the account_currencies and noripple_check methods, MPT issuance subscriptions to subscribe, full ledger_entry support for checks, NFT offers, payment channels, and signer lists, and new [disabled_public_rpcs], [local_load_fee_updates], and [ledger_build] configuration options. For the full list of API changes, see the API changelog.
If you run an XRP Ledger server, upgrade to version 3.5.0 as soon as possible to ensure service continuity.
On supported platforms, see the instructions on installing or updating xrpld.
| Package | SHA-256 |
|---|---|
| RPM for Red Hat / CentOS (x86-64) | bb7f327aaf528ba97aab9e2517028aa8863823cdaab624095c438f8856ed0d3f |
| DEB for Ubuntu / Debian (x86-64) | 4b0b5a2782f1edb254cc46b889a26d629d619283b9a7aa8787d8266515e3cb2c |
For other platforms, please build from source. Check out the 3.5.0 tag. As of this release, the build takes its version from the tag.
- fixCleanup3_5_0: Bundles these fixes for the 3.5.0 release: (#8174)
- Rejects known-invalid Ed25519 public key encodings wherever a transaction supplies a public key: signing keys, the
MessageKeyinAccountSet, the public key inPaymentChannelCreateandPaymentChannelClaim, and the public key in XChain attestation transactions. It also rejects a multi-signedSponsorSignature,CounterpartySignature, orBatchSignerthat has a present but emptySigningPubKey, withtemBAD_SIGNATURE. (ae2c8c62c) - Rejects
Paymenttransactions that contain non-canonical path elements, withtemBAD_PATH. (17d7dd302) - Rejects an all-or-nothing
Batchin the open ledger when an inner transaction uses a Sequence or Ticket that is already consumed, so the batch no longer pays its outer fee and then always fails. (9f1535de1) - Detects int64 overflow in XRP and MPT amounts, clamps invalid XRP amounts in
Quality, and uses exact integer arithmetic for MPT costs inPayment, so a payment cannot charge more thanSendMax. (#8453, #8480, #8302) - Requires an account to be authorized for both pool assets before it can spend LPTokens in
AMMBidor acquire LPTokens withOfferCreate, removes LPToken offers whose owner is no longer authorized, and refuses anAMMBidwhose price or burn rounds to zero LPTokens, instead of granting the slot for free. (9660c6069,0641a6607,f342fbfbf) - Stops a passive
OfferCreatefrom admitting every offer when the taker's price is not representable. (2e915e047) - Rejects malformed conditions and fulfillments in
EscrowFinishpreflight. (#8523,89ebe442c) - Charges the asset's transfer fee when
VaultWithdrawsends assets to a different account than the one withdrawing, rejectsVaultClawbackfor a holder that doesn't exist before charging the transaction fee, and rejects vault and lending amounts that are out of range for the asset. (#8267, #8470, #8527) - Enforces asset authorization on
LoanBrokerDelete, waivesCanTransferon loan default and loan broker deletion, and rejectsLoanSetoverpayment charges of 100% or more. (#8204, #8231,cea79d017) - Rejects a zero object ID in
SponsorshipTransferand a zeroBookDirectoryinLedgerStateFix. (#8254,b397cccaf) - Enforces new invariants: a pseudo-account may own only entries that belong to its AMM, vault, or loan broker, and no transaction may clear an MPT issuance flag. (#8181, #8152)
- Rejects a
PaymentChannelClaimthat has aPublicKeybut noSignature, withtemMALFORMED. (1ab0d4220) - Rejects an
AMMBidthat would burn the AMM's LPToken balance belowsqrt(asset1 * asset2) / 10,000, withtecAMM_FAILED. (291be0270) - Keeps a funded offer in the order book when a strand marked it for removal only because an earlier pass of the same payment used up its owner's funds. (
4f1af6369) - Ranks payment strands again when an unusable offer at the top of a book skewed the earlier ranking, so a multi-path payment fills strands in ranking order. (
7307ec804) - Leaves a payment strand out of the ranking when its top offer's quality overflows once the transfer fee is applied, instead of failing the transaction with
tecINTERNAL. (2e915e047) - Fails a payment strand cleanly when IOU step amounts overflow as they are summed. (
5bdfe6329)
- Rejects known-invalid Ed25519 public key encodings wherever a transaction supplies a public key: signing keys, the
- The
fixAMMv1_1amendment is retired. (#8226) - The
XChainBridgeandfixXChainRewardRoundingamendments are marked obsolete. (0861e7f61)
- Added four counters for the manifest intake queue to the
peerssection of theprintoutput:manifest_queue_peak_size,manifest_overflow_drops,manifest_dead_peer_drops, andmanifest_per_peer_cap_hits. (1d952bdc2) - Tracked validations by the NodeID of the master key, so rotated signing keys work correctly. A validator whose own signing key a manifest revokes or replaces now stops validating. (
252bf7bcc) - Checked validation duplicates before parsing, and rejected validations with non-canonical field order. (
d58e19e42) - Added
ledger_entrylookups for checks, NFT offers, payment channels, and signer lists. (#6319) - Added an
mpt_issuancesfield tosubscribeandunsubscribeto stream MPT issuance transactions. (#5671)
These changes can affect existing clients. For the complete list of API changes, see the API changelog.
account_currenciesandnoripple_checkare now paginated. Follow themarkerin each response, and pass it back unchanged, to get complete results. An invalidlimitormarkernow returnsinvalidParams;account_currenciesignored both fields before. (efb3a1eb8)- The deprecated
owner_infomethod is now admin-only. Useaccount_objectsinstead. (c849e95ea) - A WebSocket request larger than 1,000,000 bytes is refused by closing the connection with code 1009, without an error reply. A request that is not valid JSON still gets a
jsonInvaliderror, but itsvaluefield now echoes at most the first 256 bytes of the request, and the request counts against the sender's rate limit. (c05e52edf) - A JSON-RPC
batchrequest may hold at most 100 entries, including on admin connections. A larger request is refused with HTTP 400Batch has too many entries. A batch now stops at the first entry the client is too loaded to serve, so a reply can hold fewer entries than the request. (c26b553f0) subscribelimits each connection tomax_subscriptions_per_connectionsubscriptions (default 100,000) and each request to 100 order book snapshots, and returnsinvalidParamsbeyond that. Requests that name many accounts or MPT issuances now count more heavily against the client's rate limit, and order book snapshots count by page. A request with a malformedbooksentry now fails as a whole instead of subscribing to the entries before it, and a book that appears more than once is subscribed once. (06ab08fc9,9a94a263a,da202c948)- When
sign_foris called withsignature_target, the target object no longer contains an emptySigningPubKey; the field is absent. After thefixCleanup3_5_0amendment is enabled, a multi-signedSponsorSignature,CounterpartySignature, orBatchSignerwith a present but emptySigningPubKeyis rejected withtemBAD_SIGNATURE. Withsignature_target, thealreadySingleSigandalreadyMultisigchecks now look at the target object, so a signature at the top level oftx_jsonno longer blocks signing into it. (c2b95e777) - Restoring keys from an RFC-1751 mnemonic that contains the word
YOUnow returns the original seed. Before, the server treated such a mnemonic as an ordinary passphrase and derived a different seed without any error. An account funded from a seed derived that way remains accessible with itsmaster_seedormaster_seed_hex, but no longer with the mnemonic. (6704bab97) - Several methods now return
invalidParamsfor values of the wrong type: a non-booleanfail_hardinsubmit_multisigned,sign, andsign_for(before,"false"enabledfail_hard), a non-stringchannel_idinchannel_authorizeandchannel_verify, a non-stringsignatureinchannel_verify, and a non-booleanvetoedinfeature.deposit_authorizedreturnsbadCredentialsfor an all-zero credential ID. (8241d0907, #8533, #7583, #7582) - For a request with more than one problem, several
account_*methods (account_currencies,account_nfts,account_offers,account_info,account_lines, andaccount_channels) may now report a different one of the errors. A request with a single problem returns the same error as before. (#8345, #8484, #8561, #8573) - The maximum size of a transaction is now 918,744 bytes, down from 1 MiB.
xrpldno longer parses a larger transaction. Over the API, the 1,000,000-byte request limit already keeps a hextx_blobwell below this size, so this mainly affects transactions received from peers. (c1e6c265f) xrpldnow refuses to apply or relay a transaction in which an array field holds an element of the wrong type, such as aMemosarray that contains aSigner, or in whichPathsis not in canonical form. This is a local check. ThefixCleanup3_5_0amendment adds matching checks to transaction processing. (17d7dd302,d7560e2c2)subscribewithaccount_history_tx_streamnow returnsnoPermissionon connections that are not admin connections. This stream is experimental. (80d5b568b)signandsubmit(in sign-and-submit mode) withbuild_pathnow returninvalidParamsiftx_json.Amountortx_json.SendMaxis not a valid asset, such as an invalid currency or an MPT whose issuer is the XRP account. (e591f1386)channel_verifynow returnspublicMalformedfor an Ed25519public_keythat has a known invalid encoding. (166263dfb,ae2c8c62c)
- Added the
[ledger_build]stanza. Itsmax_cached_itemsoption sets how many parsed ledger entries the server caches while it builds a ledger. The default is 250,000, which usually takes under 500 MB,0turns the cache off, and the maximum is 10,000,000. A value outside that range stops the server from starting. (aa479f18c) - Added the
[disabled_public_rpcs]stanza, a list of RPC methods that the server refuses to run for non-admin users, with anotSupportederror. A line that is not a method name stops the server from starting. (12a1d6fd7) - Added the
[local_load_fee_updates]stanza. Set it to0to stop the server from raising its local load fee when its job queue is overloaded. The default is1. (e30982c3c) [max_subscriptions_per_connection]now also counts MPT issuance and order book subscriptions. A book subscribed withbothcounts as two. The default is 100,000. (06ab08fc9,da202c948)maximum_txn_per_accountin[transaction_queue]now also limits how many transactions from the network the server holds for one account to retry in the next open ledger. (a2e85db56)max_untrusted_countin[overlay]now sets how many manifests the server relays and serves for validators it does not list. The server also holds manifests for unlisted validators in a local probation tier, four times that size, until it sees the validator validating. The default is 300. (3d0dfea2b,1d952bdc2)- With
[relay_proposals]and[relay_validations]set totrusted, the server now also relays untrusted proposals and validations that come from cluster peers. With[relay_validations]set toall, it relays untrusted validations from cluster peers too. (2540c3e65) - The
--ledgerfileoption now rejects a ledger file whoseclose_time_resolutionis not 10, 20, 30, 60, 90, or 120 seconds. (0c9096760)
- Fixed
transaction_entryreturninginternalinstead ofmalformedRequestfor an array or objecttx_hash. (#8484) - Updated the local load fee on every load manager tick. (
e30982c3c) - Fixed an MPT offer overflow, and rejected paths where an issuer sends its own MPT through an order book. (#8468)
- Rejected payments of vault shares frozen through the vault's underlying asset. (#8478)
- Fixed a
Clawbackof a small IOU amount failing the invariant check on rounding. (#8475) - Hardened ledger acquisition against malformed ledger headers and SHAMaps from peers. (#8086, #8085, #8084, #8083, #8476, #8082)
- Skipped bootstrap DNS lookups in standalone mode. (#8583)
- Allowed WASM transactions in simulate only in admin mode. (#8568)
- Fixed MPT
OfferCreatewhen a transfer fee pushes an amount past 64 bits, withMPTokensV2enabled. (#8211) - Stopped blocking MPToken deletion on unrelated confidential balances. (#8209)
- Used the large
Numbermantissa wheneverMPTokensV2is enabled. (#8330) - Paginated
account_lines,account_offers, andaccount_channelspast the new owner directory entry types. (#8274) - Fixed a memory leak when converting the last strong intrusive pointer reference to a weak one. (#8328)
- Counted cluster traffic only from cluster members. (#8319)
- Queued a transaction hash only for peers that asked for it. (#8309)
- Rounded up MPT owner cost in book_offers running balance. (#8213)
- Counted cluster messages as cluster traffic. (#8308)
- Added CTID to ledger command expanded transactions. (#6401)
- Fixed SHAMap traversal to derive node IDs from the branch it descended. (#7942)
- Set the peer limit total when per-direction limits are configured. (#8220)
- Updated
noripple_checkto excludetransactionsfield on error responses. (#6303) - Refined issuer attribution in the
TransfersNotFrozeninvariant. (d04440b93,f9714cc74) - Made ledger replay replies fail with an error response instead of throwing when a ledger node is missing. (
9b393c243) - Held only transactions with an authorized signer, and capped them per account with
maximum_txn_per_account. (a2e85db56) - Made a transaction with oversized metadata apply as
tecOVERSIZE(ortefTOO_BIG) instead of failing at ledger close. (dd67307e5) - Rejected a non-string
currencyormpt_issuance_idin book parsing. (97b601951) - Caught exceptions thrown while applying transactions through the transaction queue. (
7396c2e84) - Stopped tracking validations from signers that are neither trusted nor on any validator list. (
19000f18d) - Unsubscribed
account_history_tx_streamand sent an internal error when its job fails. (8a00eee8f) - Saved publisher revocation manifests to the wallet database so revoked publishers stay revoked after a restart. (
2628ee6a7) - Capped the potential spend of queued transactions at the total XRP supply. (
344b392d2) - Stopped keeping transactions that fail with a
temresult in the local transaction set for retry. (8241d0907) - Sampled inner
Batchtransactions at the parent batch's fee level when computing fee metrics. (cddc9cef2,e6d4aaa14) - Fixed
path_findsubscriptions not updating on a new ledger after an open-ledger update. (297552465)
- Queued manifests in a bounded queue with a single job, dropping them and charging peers on overflow. (
1d952bdc2) - Rejected validator list manifests that are oversized, malformed, badly signed, or mismatched. (
a41c0679f) - Treated repeats of single-use fields in peer messages as unknown fields. (
b93a7249f) - Asked peers that did not announce a transaction set for it after one empty retry. (
ee216bc48) - Counted only received bytes in traffic accounting for messages dropped from the header. (
a12eb8a9b) - Skipped parsing data for a complete or failed transaction set. (
485a5d689) - Removed loan payment assertions on the size of a rounded step. (
2c4f9ce6c) - Rebuilt the read buffer instead of shrinking it in place. (
a6a82fecf) - Parsed each ledger entry once while building a ledger. (
aa479f18c) - Stopped charging peers for ledger data that older relays forward without checking. (
e6137b4f8) - Counted a transaction set acquisition as progressing only on new nodes. (
552bf4e0c) - Skipped unreadable entries in the order book index with a warning. (
463779a15) - Charged peers for the bytes of object and fetch pack replies that the server did not use. (
514f295f9) - Tracked each peer's send queue in bytes, and dropped or disconnected peers over the limit. (
b44db94fe,d160d1f9c) - Removed unused and deprecated fields from the peer protocol messages. (
a67732e9d,2c63f99ec) - Armed the peer timer on open peers and activated it after the handshake. (
6f5643057) - Checked message size and repeated entries against per-type limits before parsing. (
1571eeb04) - Logged the failure reason and full consensus state for a failed consensus round. (
b541c1728) - Avoided copying metadata when adding synthetic fields in transJson. (
467421337) - Made ledger mismatch logging tolerate transactions and metadata that cannot be parsed. (
599c4f658) - Discarded data for ledgers no longer being acquired, and checked SHAMap item size at run time. (
e91e17413) - Capped TMGetObjectByHash replies by bytes, and charged peers by reply size. (
76e2ddd91) - Charged relayed TMGetLedger requests by the size of their reply. (
677472aa7) - Made the transaction and ledger object parser throw on a nested array that has no end marker. (
de786eadd) - Limited each peer to squelching 1,000 validators, and dropped out-of-range squelches. (
4ac50000b) - Bounded the size of TMGetLedger replies and refused to serialize messages too large for a frame header. (
b8dedb8aa) - Rejected malformed ledger headers and corrupted local ledger records during acquisition. (
58cf8c5f5) - Accepted TMGetObjectByHash replies and fetch packs only when requested. (
5fdfbc988) - Started the NFToken page walk from the current page key. (
b0d74afe2) - Caught a failure to build the consensus ledger. (
aea0c6284) - Clamped resource balances so a large accumulated charge can no longer overflow. (
ebc499e90) - Made a failed ledger acquisition setup fail cleanly and log through the node journal. (
0baab3b60) - Tidied up LoanPay. (
7826d8bc6) - Simplified the transaction relay path. (
96997ae48) - Moved validator list broadcasts and trust-change notifications outside the validator list lock. (
fbbad31e7) - Used getTrustedKey() in the proposal and validation handlers. (
16b144b42) - Sped up finding the next ledger entry after a long run of deleted entries. (
7b22c2667) - Aligned Slot::update() and deleteIdlePeer() with deletePeer(). (
973cebd06) - Tracked whether a Work has started. (
836b437c7) - Updated path finding for MPT amount support. (
de292e28d) - Held the PathRequest consumer by value. (
719768796) - Clamped remaining liquidity at zero in path finding, and returned no paths if it throws. (
ee94aee6c) - Reworked the peer read path and simplified the stream adapters. (
fc2c4658d,e48ecf1b5,47c3541eb,d30422a02,5eea4e1f2,c6a6f3889) - Rejected compressed peer messages that declare an inflated size larger than LZ4 can produce. (
e3791b278) - Optimized the binary layout of Number. (#8550)
- Moved RPC handler parameter parsing to the generated
rpc-speccode. See Breaking Changes. (#8573, #8561, #8484, #8345, #8284) - Split
TxQ::applyinto smaller helper functions. (#8064) - Decoupled LedgerHistory from TaggedCache internals. (#5874)
- Used DepositPreauthEntry everywhere. (#8364)
- Used CheckEntry everywhere. (#8349)
- Used AmendmentsEntry everywhere. (#8368)
- Used NegativeUNLEntry everywhere. (#8365)
- Used LedgerHashesEntry everywhere. (#8369)
- Used EscrowEntry everywhere. (#8354)
- Used FeeSettingsEntry everywhere. (#8370)
- Built Throw messages with std::format. (#8474)
- Made the config name constants constexpr string views. (#8332)
- Unified
upperBoundandlowerBoundintoboundHelper. (#7943) - Added initial wrapper classes for all SLEs. (#7886)
- Removed a dead unwrap from the WebSocket success path. (#8252)
- Renamed vault accrual accounting to instant interest recognition. (#8237)
- Built the RPC dispatch and command-line tables at compile time. (#8006)
- Added Cluster::isMember, a membership query that copies nothing. (#8221)
- Kept instrumentation inside the peer read handler's no-throw path. (
175816194)
- Added tests for ConnectAttempt. (
7ae057575) - Checked error consistently in rpc handlers. (#8604)
- Added more
checkSigntests for Sponsor. (#8331) - Declared, rather than defined, entry instantiations in the SLEBase test. (#8357)
- Added more tests for granular permissions. (#8459)
- Migrated three beast suites from beast::unit_test to gtest. (#7993)
- Restored config test environment variables with a guard. (#8333)
- Added source location to MPTTester. (#8275)
- Cleaned up ConfidentialTransfer test helpers. (#8265)
- Shared peer test doubles across the overlay and app suites. (#8246)
- Added a reusable peer harness for acquisition tests. (#8310)
- Opened the acquisition seams its tests need. (#8081)
- Exposed a SHAMapAddNode verdict as counts. (#8080)
- Extracted escrow lock helpers and paychan test helpers. (#7882)
- Extracted common tx-building helpers for ConfidentialMPT in MPTTester. (#8135)
- Clarified getOwnerDirPage and account_currencies walk. (
b2e2f20f9) - Added todo comment for key rotation zkproof. (#8589)
- Clarified OS and toolchain requirements. (#8588)
- Clarified freeze on large changes 2 weeks before first RC. (#8574)
- Documented new release process. (#8467)
- Documented the LedgerMaster class. (#8160)
- Added notes about common acronyms. (#8298)
- Corrected three comments about null-terminated views. (#8253)
- Fixed clang-tidy failure. (
450af16c8) - Used node lts in pre-commit. (
b40a32f39) - Ran check-release on
editedevent. (f0eaec3ea) - Fixed an issue that breaks CLion. (#8619)
- Fixed release/staging branches running conditions. (#8615)
- Fixed running pre-commit after clang-tidy. (#8601)
- Fixed unity build by addressing name clashes. (#8599)
- Unified clang variables. (#8581)
- Fixed rpm installation problems. (#8575)
- Bumped pyparsing from 3.3.2 to 3.3.3 in /cmake/scripts/codegen in the codegen-dependencies group. (#8572)
- Updated codegen requirements. (#8570)
- Bumped cxx from 1.0.202 to 1.0.203 in /crates in the rust-dependencies group. (#8564)
- Fixed readability-trailing-comma. (#8545)
- Bumped the github-actions group across 1 directory with 2 updates. (#8562)
- Fixed misc-const-correctness. (#8546)
- Updated XRPLF/actions to use pip from python3.14 explicitly. (#8560)
- Reduced number of conan logs. (#8548)
- Fixed readability-redundant-lambda-parameter-list. (#8544)
- Updated clang-tidy image to v23. (#8536)
- Split multiple-in-one into individual tests. (#8025)
- Used images with Clang 23 except for clang-tidy. (#8530)
- Updated pre-commit hooks and image. (#8528)
- Used LLVM 23. (#8522)
- Made conan retry with Conan Center's source backups. (#8524)
- Updated docker images and linked Conan-built tools with a static runtime. (#8520)
- Made clang-tools custom in Nix, to match what's being built. (#8521)
- Defined XRPL_ASAN, XRPL_TSAN, and XRPL_UBSAN compile definitions. (#8483)
- Updated nix flake file. (#8479)
- Added ignore revs for recent style changes. (#8463)
- Made release always go into stable channel. (#8469)
- Added more guardrails for merging releases back to develop. (#8466)
- Determined version based on tags only. (#8457)
- Pushed docker image for antithesis with voidstar. (#8341)
- Added guardrails for release backporting. (#8449)
- Applied CamelCase naming to typedef and using declarations in
clang-tidy. (#8177) - Supported custom release channel. (#8326)
- Published a Docker image from GitHub. (#8322)
- Bumped cxx from 1.0.199 to 1.0.202 in /crates in the rust-dependencies group across 1 directory. (#8224)
- Bumped codecov/codecov-action from 7.0.0 to 7.1.1 in the github-actions group across 1 directory. (#8251)
- Made package publishing say when it is a dry run. (#8247)
- Published packages through packages-upload.xrplf.org. (#8241)
- Bumped version to 3.5.0-b0. (
638ae08eeb) - Excluded Rust unit tests from code coverage. (#8203)
- Added nightly Rust toolchain to the CI image. (#8182)
- Bumped actions/deploy-pages from 5.0.0 to 5.0.1 in the github-actions group across 1 directory. (#8180)
- Added lean toolchain to nix. (#8186)
- Updated
images/prepare-runnerto not trust eMudhra certificates. (#8631) - Grouped binaries in subdirectories. (#8535)
- Updated pre-commit hooks. (#8456)
- Added a pre-commit hook that checks gtest naming. (#8026)
The following RippleX teams and GitHub users contributed to this release:
- RippleX Engineering
- RippleX Docs
- RippleX Product
- @Kassaking7
- @dangell7
- @harshitgupta62
- @mrtcnk
- @v3lmx
We welcome reviews of the xrpld code and urge researchers to responsibly disclose any issues they may find.
For more information, see: