Introducing XRP Ledger version 2.2.0
Version 2.2.0 of rippled
, the reference server implementation of the XRP Ledger protocol, is now available. This release adds performance optimizations, several bug fixes, and introduces the featurePriceOracle
, fixEmptyDID
, fixXChainRewardRounding
, fixPreviousTxnID
, and fixAMMv1_1
amendments.
Sign Up for Future Release Announcements
Action Required
Five new amendments are now open for voting according to the XRP Ledger's amendment process, which enables protocol changes following two weeks of >80% support from trusted validators.
If you operate an XRP Ledger server, upgrade to version 2.2.0 by June 17, 2024 to ensure service continuity. The exact time that protocol changes take effect depends on the voting decisions of the decentralized network.
If you operate a Clio server, Clio needs to be updated to 2.1.2 before updating to rippled 2.2.0. Clio will be blocked if it is not updated.
Install / Upgrade
On supported platforms, see the instructions on installing or updating rippled
.
Package | SHA-256 |
---|---|
RPM for Red Hat / CentOS (x86-64) | aeee54f2cafb651c42d12791ea62ebd20786b94165723ae5f405a089f7eec80a |
DEB for Ubuntu / Debian (x86-64) | 1bd26cea8e289e40368542eb370cec95b42905855f9ada8ece361a43134834c9 |
Portable Builds (Linux x86-64) | (Use signature verification) |
For other platforms, please build from source. The most recent commit in the git log should be the change setting the version:
commit 2df635693d54b8c17c428faf6ef99da2f14a9382 Author: seelabs <[email protected]> Date: Mon Jun 3 21:48:05 2024 -0400 Set version to 2.2.0
Changelog
Amendments and New Features
(These are changes which may impact or be useful to end users. For example, you may be able to update your code/workflow to take advantage of these changes.)
featurePriceOracle amendment: Implements a price oracle as defined in the XLS-0047 spec. A Price Oracle is used to bring real-world data, such as market prices, onto the blockchain, enabling dApps to access and utilize information that resides outside the blockchain. #4789
fixEmptyDID amendment: Modifies the behavior of the DID amendment: adds an additional check to ensure that DIDs are non-empty when created, and returns a
tecEMPTY_DID
error if the DID would be empty. #4950fixXChainRewardRounding amendment: Modifies the behavior of the XChainBridge amendment: fixes rounding so reward shares are always rounded down, even when the
fixUniversalNumber
amendment is active. #4933fixPreviousTxnID amendment: Adds
PreviousTxnID
andPreviousTxnLgrSequence
as fields to all ledger entries that did not already have them included (DirectoryNode
,Amendments
,FeeSettings
,NegativeUNL
, andAMM
). Existing ledger entries will gain the fields whenever transactions modify those entries. #4751.fixAMMv1_1 amendment: Fixes AMM offer rounding and low quality order book offers from blocking the AMM. #4983
Add a non-admin version of
feature
API method. #4781
Bug Fixes and Performance Improvements
(These are behind-the-scenes improvements, such as internal changes to the code, which are not expected to impact end users.)
Optimize the base58 encoder and decoder. The algorithm is now about 10 times faster for encoding and 15 times faster for decoding. #4327
Optimize the
account_tx
SQL query. #4955Don't reach consensus as quickly if no other proposals are seen. #4763
Fix a potential deadlock in the database module. #4989
Enforce no duplicate slots from incoming connections. #4944
Fix an order book update variable swap. #4890
Docs and Build System
GitHub
The public source code repository for rippled
is hosted on GitHub.
We welcome all contributions and invite everyone to join the community of XRP Ledger developers to help build the Internet of Value.
Credits
The following people contributed directly to this release:
- Alex Kremer [email protected]
- Alloy Networks [email protected]
- Bronek Kozicki [email protected]
- Chenna Keshava [email protected]
- Denis Angell [email protected]
- Ed Hennis [email protected]
- Gregory Tsipenyuk [email protected]
- Howard Hinnant [email protected]
- John Freeman [email protected]
- Mark Travis [email protected]
- Mayukha Vadari [email protected]
- Michael Legleux [email protected]
- Nik Bougalis [email protected]
- Olek [email protected]
- Scott Determan [email protected]
- Snoppy [email protected]
Bug Bounties and Responsible Disclosures:
We welcome reviews of the rippled
code and urge researchers to responsibly disclose any issues they may find.
To report a bug, please send a detailed report to: [email protected].