The XRPL gets an upgrade and increased decentralization
Published by leonidas on April 13, 2020
On March 31st, the XRP Ledger (rippled server) version 1.5.0 was released. The rippled 1.5.0 release introduced several improvements and new features, including support for gRPC API, API versioning, UNL propagation via the peer network, new RPC methods validator_info and manifest, augmented submit method, improved tx method, improved CLI parsing, improved protocol-level handshaking protocol, improved package building, and various other minor bug fixes and improvements.
1.5.0 New and Updated Features
RequireFullyCanonicalSigamendment which changes the signature requirements for the XRP Ledger protocol so that non-fully-canonical signatures are no longer valid. This protects against transaction malleability on all transactions, instead of just transactions with the tfFullyCanonicalSig flag enabled. Without this amendment, a transaction is malleable if it uses a secp256k1 signature and does not have tfFullyCanonicalSig enabled. Most signing utilities enable tfFullyCanonicalSig by default, but there are exceptions. With this amendment, no single-signed transactions are malleable. (Multi-signed transactions may still be malleable if signers provide more signatures than are necessary.) All transactions must use the fully canonical form of the signature, regardless of the tfFullyCanonicalSig flag. Signing utilities that do not create fully canonical signatures are not supported. All of Ripple’s signing utilities have been providing fully-canonical signatures exclusively since at least 2014. For more information.
- Native gRPC API support. Currently, this API provides a subset of the full
rippledAPI. You can enable the gRPC API on your server with a new configuration stanza.
- API Versioning which allows for future breaking change of RPC methods to co-exist with existing versions.
- Nodes now receive and broadcast UNLs over the peer network under various conditions.
submitmethod to include additional details on the status of the command.
txmethod response with additional details on ledgers searched.
validator_infomethod which returns information pertaining to the current validator’s keys, manifest sequence, and domain.
manifestmethod which looks up manifest information for the specified key (either master or ephemeral).
- Introduce handshake protocol for compression negotiation (compression is not implemented at this point) and other minor improvements.
- Remove various old conditionals introduced by amendments.
getRippledInfoinfo gathering script to
1.5.0 Bug Fixes
fixQualityUpperBoundamendment which fixes a bug in unused code for estimating the ratio of input to output of individual steps in cross-currency payments.
txmethod now properly fetches all historical tx if they are incorporated into a validated ledger under rules that applied at the time.
- Fix to how
fail_hardflag is handled with the
submitmethod – transactions that are submitted with the
fail_hardflag that result in any TER code besides tesSUCCESS are neither queued nor held.
- Remove unused
- Lag ratchet code fix to use proper ephemeral public keys instead of the long-term master public keys.
Xpring course of action
On Wednesday, 2020-04-15,
rippled version 1.5.0 will be deployed on the XRP Ledger Testnet, which is also hosted by the Xpring team at Ripple, to give developers an environment for testing their applications with faux XRP that mirrors the latest stable version running on XRP Ledger Mainnet.
Lastly, on Wednesday, 2020-04-15, the Xpring team will be updating its own XRP Ledger Mainnet
rippled servers, including clusters and validators, to version 1.5.0. At this time, Xpring also plans to starting voting in favor of the following Amendments, which are proposed fixes to the
fixQualityUpperBound(introduced in version 1.5.0)
fixCheckThreading(introduced in version 1.4.0)
fixPayChanRecipientOwnerDir(introduced in version 1.4.0)
rippled server operators to review the proposed upgrade to
rippled version 1.5.0, learn more about the Amendments above, and upgrade to
rippled version 1.5.0 by Wednesday 2020-04-29 in order to ensure service continuity.
At the time of writing, almost a third of the network has upgraded to 1.5.0.
Last week, rippled version 1.6.0-b1, the first beta of the 1.6.0 release, was made available. The XRP Ledger Devnet, which is hosted by the Xpring team at Ripple, has been upgraded, giving developers early access to the latest unstable beta version of rippled.
New dUNL validator
On April 8th, a new validator joined the dUNL, taking the number of non-Ripple dUNL validators to 30, as opposed to Ripple’s 6. The new validator is Okonto, a fully licensed digital assets platform registered in Estonia since 2011. Okonto has been running an XRPL validator since August 2019.