2.2.0
版本发布时间: 2024-06-05 07:09:54
XRPLF/rippled最新发布版本:2.3.0(2024-11-26 08:17:49)
Version 2.2.0 introduces five new amendments:
-
PriceOracle amendment: Implements a price oracle as defined in the XLS-47 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. #4950 -
fixXChainRewardRounding amendment: Modifies the behavior of the XChainBridge amendment: fixes rounding so reward shares are always rounded down, even when the
fixUniversalNumber
amendment is active. #4933 -
fixPreviousTxnID 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
Note for Clio operators
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.
What's Changed
Full Release Notes for 2.2.0 (xrpl.org)
-
PriceOracle
: Price Oracle (XLS-47d) by @gregtatcam in https://github.com/XRPLF/rippled/pull/4789 - Fix gcc 13 compile error in Price Oracle unit-test by @gregtatcam in https://github.com/XRPLF/rippled/pull/4932
- Proposed 2.2.0-b1 by @seelabs in https://github.com/XRPLF/rippled/pull/4935
- Remove default constructor from SecretKey class by @ckeshava in https://github.com/XRPLF/rippled/pull/4607
- Fast base58 codec by @seelabs in https://github.com/XRPLF/rippled/pull/4327
- feat: add user version of
feature
RPC by @mvadari in https://github.com/XRPLF/rippled/pull/4781 - Add STCurrency.h to xrpl_core to fix clio build by @gregtatcam in https://github.com/XRPLF/rippled/pull/4939
- Embed patched recipe for RocksDB 6.29.5 by @thejohnfreeman in https://github.com/XRPLF/rippled/pull/4947
- fix: order book update variable swap: by @seelabs in https://github.com/XRPLF/rippled/pull/4890
- Fix workflows by @thejohnfreeman in https://github.com/XRPLF/rippled/pull/4948
- Upgrade to xxhash 0.8.2 as conan dependency, enable SIMD hashing by @Bronek in https://github.com/XRPLF/rippled/pull/4893
- Update remaining actions by @thejohnfreeman in https://github.com/XRPLF/rippled/pull/4949
- Relocate RPCErr to ripple/protocol - fix previous PR by @legleux in https://github.com/XRPLF/rippled/pull/4940
- test: env unit test RPC errors return a unique result: by @ximinez in https://github.com/XRPLF/rippled/pull/4887
- Fix workflows by @thejohnfreeman in https://github.com/XRPLF/rippled/pull/4951
- RIPD-1847 fix select query condition by @oleks-rip in https://github.com/XRPLF/rippled/pull/4955
- Add the
fixEmptyDID
amendment by @mvadari in https://github.com/XRPLF/rippled/pull/4950 - Enforce no duplicate slots from incoming connections by @Bronek in https://github.com/XRPLF/rippled/pull/4944
- Remove zaphod.alloy.ee from bootstrap by @alloynetworks in https://github.com/XRPLF/rippled/pull/4903
- Write proper
forAllApiVersions
used in NetworkOPs.cpp by @Bronek in https://github.com/XRPLF/rippled/pull/4833 - Don't reach consensus as fast if no other proposals seen. by @mtrippled in https://github.com/XRPLF/rippled/pull/4763
- Fix sidechain reward share rounding with new number class by @seelabs in https://github.com/XRPLF/rippled/pull/4933
- Proposed 2.1.1 by @seelabs in https://github.com/XRPLF/rippled/pull/4968
- chore: change Github Action triggers for build/test jobs by @ximinez in https://github.com/XRPLF/rippled/pull/4956
- Merge master (v2.1.1) into develop by @ximinez in https://github.com/XRPLF/rippled/pull/4970
- [TRIVIAL] chore: Default validator-keys-tool to build from master branch by @ximinez in https://github.com/XRPLF/rippled/pull/4943
- [TRIVIAL] Remove unused lambdas from MultiApiJson_test by @Bronek in https://github.com/XRPLF/rippled/pull/4980
- Proposed 2.2.0-b2 by @ximinez in https://github.com/XRPLF/rippled/pull/4979
- amendment fix to add
sfPreviousTxnID
/sfPreviousTxnLgrSequence
to all ledger objects by @mvadari in https://github.com/XRPLF/rippled/pull/4751 - Unit tests for AMM offer overflow fix by @Bronek in https://github.com/XRPLF/rippled/pull/4986
- Codecov coverage reporting fixes by @Bronek in https://github.com/XRPLF/rippled/pull/4977
- Increase test coverage by @thejohnfreeman in https://github.com/XRPLF/rippled/pull/4971
- AMM Unit tests: rounding down of equal asset deposit LPToken calculation by @ckeshava in https://github.com/XRPLF/rippled/pull/4982
- fix: resolve database deadlock: by @seelabs in https://github.com/XRPLF/rippled/pull/4989
- [TRIVIAL] fix: Remove redundant STAmount conversion in test by @ximinez in https://github.com/XRPLF/rippled/pull/4996
- Proposed 2.2.0-b3 by @ximinez in https://github.com/XRPLF/rippled/pull/4995
- Less contentious restructure by @thejohnfreeman in https://github.com/XRPLF/rippled/pull/4966
- Add RPC error checking support to unit tests by @ximinez in https://github.com/XRPLF/rippled/pull/4987
- [TRIVIAL] chore: fix typos in comments by @xiaoxianBoy in https://github.com/XRPLF/rippled/pull/4958
- fix: AMM swap rounding by @seelabs in https://github.com/XRPLF/rippled/pull/5002
- Proposed 2.2.0-rc1 by @ximinez in https://github.com/XRPLF/rippled/pull/5003
- Update list of maintainers: by @nbougalis in https://github.com/XRPLF/rippled/pull/4984
- Remove flow assert: by @seelabs in https://github.com/XRPLF/rippled/pull/5009
- [trivial] Add missing includes by @thejohnfreeman in https://github.com/XRPLF/rippled/pull/5011
- Add external directory for Conan recipe's exports by @legleux in https://github.com/XRPLF/rippled/pull/5006
- Price Oracle: validate input parameters and extend test coverage: by @gregtatcam in https://github.com/XRPLF/rippled/pull/5013
- Update CONTRIBUTING.md by @dangell7 in https://github.com/XRPLF/rippled/pull/4904
-
fixAMMv1_1
: improve the quality of the generated AMM offer in certain cases by @gregtatcam in https://github.com/XRPLF/rippled/pull/4983 - Fix offer crossing with transfer fee over AMM and other fixes by @gregtatcam in https://github.com/XRPLF/rippled/pull/5016
- Proposed 2.2.0-rc2 by @seelabs in https://github.com/XRPLF/rippled/pull/5018
- Fix Oracle's token pair deterministic order by @gregtatcam in https://github.com/XRPLF/rippled/pull/5021
- Add
xrpl.libpb
as an exported lib by @godexsoft in https://github.com/XRPLF/rippled/pull/5022 - Proposed 2.2.0-rc3 by @seelabs in https://github.com/XRPLF/rippled/pull/5023
- Proposed 2.2.0 by @seelabs in https://github.com/XRPLF/rippled/pull/5037
New Contributors
- @oleks-rip made their first contribution in https://github.com/XRPLF/rippled/pull/4955
- @xiaoxianBoy made their first contribution in https://github.com/XRPLF/rippled/pull/4958
- @godexsoft made their first contribution in https://github.com/XRPLF/rippled/pull/5022
Full Changelog: https://github.com/XRPLF/rippled/compare/2.1.0...2.2.0