Skip to content

Latest commit

 

History

History
2937 lines (1817 loc) · 153 KB

RELEASENOTES.md

File metadata and controls

2937 lines (1817 loc) · 153 KB

Release Notes

Ripple

This document contains the release notes for rippled, the reference server implementation of the Ripple protocol. To learn more about how to build and run a rippled server, visit https://ripple.com/build/rippled-setup/

Do you work at a digital asset exchange or wallet provider?

Please contact us. We can help guide your integration.

Updating rippled

If you are using Red Hat Enterprise Linux 7 or CentOS 7, you can update using yum. For other platforms, please compile from source.

Releases

Version 1.4.0

The rippled 1.4.0 release introduces several improvements and new features, including support for deleting accounts, improved peer slot management, improved CI integration and package building and support for C++17 and Boost 1.71. Finally, this release removes the code for the SHAMapV2 amendment which failed to gain majority support and has been obsoleted by other improvements.

New and Updated Features

  • The DeletableAccounts amendment which, if enabled, will make it possible for users to delete unused or unneeded accounts, recovering the account's reserve.
  • Support for improved management of peer slots and the ability to add and removed reserved connections without requiring a restart of the server.
  • Tracking and reporting of cumulative and instantaneous peer bandwidth usage.
  • Preliminary support for post-processing historical shards after downloading to index their contents.
  • Reporting the master public key alongside the ephemeral public key in the validation stream subscriptions.
  • Reporting consensus phase changes in the server stream subscription.

Bug Fixes

  • The fixPayChanRecipientOwnerDir amendment which corrects a minor technical flaw that would cause a payment channel to not appear in the recipient's owner directory, which made it unnecessarily difficult for users to enumerate all their payment channels.
  • The fixCheckThreading amendment which corrects a minor technical flaw that caused checks to not be properly threaded against the account of the check's recipient.
  • Respect the ssl_verify configuration option in the SSLHTTPDownloader and HTTPClient classes.
  • Properly update the server_state when a server detects a disagreement between itself and the network.
  • Allow Ed25519 keys to be used with the channel_authorize command.

Version 1.3.1

The rippled 1.3.1 release improves the built-in deadlock detection code, improves logging during process startup, changes the package build pipeline and improves the build documentation.

New and Updated Features

This release has no new features.

Bug Fixes

  • Add a LogicError when a deadlock is detected (355a7b04)
  • Improve logging during process startup (7c24f7b1)

Version 1.3.0

The rippled 1.3.0 release introduces several new features and overall improvements to the codebase, including the fixMasterKeyAsRegularKey amendment, code to adjust the timing of the consensus process and support for decentralized validator domain verification. The release also includes miscellaneous improvements including in the transaction censorship detection code, transaction validation code, manifest parsing code, configuration file parsing code, log file rotation code, and in the build, continuous integration, testing and package building pipelines.

New and Updated Features

  • The fixMasterKeyAsRegularKey amendment which, if enabled, will correct a technical flaw that allowed setting an account's regular key to the account's master key.
  • Code that allows validators to adjust the timing of the consensus process in near-real-time to account for connection delays.
  • Support for decentralized validator domain verification by adding support for a "domain" field in manifests.

Bug Fixes

  • Improve ledger trie ancestry tracking to reduce unnecessary error messages.
  • More efficient detection of dry paths in the payment engine. Although not a transaction-breaking change, this should reduces spurious error messages in the log files.

Version 1.2.4

The rippled 1.2.4 release improves the way that shard crawl requests are routed and the robustness of configured validator list retrieval by imposing a 20 second timeout.

New and Updated Features

This release has no new features.

Bug Fixes

  • Use public keys when routing shard crawl requests
  • Enforce a 20s timeout when making validator list requests (RIPD-1737)

Version 1.2.3

The rippled 1.2.3 release corrects a technical flaw which in some circumstances can cause a null pointer dereference that can crash the server.

New and Updated Features

This release has no new features.

Bug Fixes

  • Fix a technical flaw which in some circumstances can cause a null pointer dereference that can crash the server.

Version 1.2.2

The rippled 1.2.2 release corrects a technical flaw in the fee escalation engine which could cause some fee metrics to be calculated incorrectly. In some circumstances this can potentially cause the server to crash.

New and Updated Features

This release has no new features.

Bug Fixes

  • Fix a technical flaw in the fee escalation engine which could cause some fee metrics to be calculated incorrectly (4c06b3f86)

Version 1.2.1

The rippled 1.2.1 release introduces several fixes including a change in the information reported via the enhanced crawl functionality introduced in the 1.2.0 release, a fix for a potential race condition when processing a status change message for a peer, and for a technical flaw that could cause a server to not properly detect that it had lost all its peers.

The release also adds the delivered_amount field to more responses to simplify the handling of payment or check cashing transactions.

New and Updated Features

This release has no new features.

Bug Fixes

  • Fix a race condition during TMStatusChange handling (c8249981)
  • Properly transition state to disconnected (9d027394)
  • Display validator status only in response to admin requests (2d6a518a)
  • Add the delivered_amount to more RPC commands (f2756914)

Version 1.2.0

The rippled 1.2.0 release introduces the MultisignReserve Amendment, which reduces the reserve requirement associated with signer lists. This release also includes incremental improvements to the code that handles offers. Furthermore, rippled now also has the ability to automatically detect transaction censorship attempts and issue warnings of increasing severity for transactions that should have been included in a closed ledger after several rounds of consensus.

New and Updated Features

  • Reduce the account reserve for a Multisign SignerList (6572fc8)
  • Improve transaction error condition handling (4104778)
  • Allow servers to automatically detect transaction censorship attempts (945493d)
  • Load validator list from file (c1a0244)
  • Add RPC command shard crawl (17e0d09)
  • Add RPC Call unit tests (eeb9d92)
  • Grow the open ledger expected transactions quickly (7295cf9)
  • Avoid dispatching multiple fetch pack threads (4dcb3c9)
  • Remove unused function in AutoSocket.h (8dd8433)
  • Update TxQ developer docs (e14f913)
  • Add user defined literals for megabytes and kilobytes (cd1c5a3)
  • Make the FeeEscalation Amendment permanent (58f786c)
  • Remove undocumented experimental options from RPC sign (a96cb8f)
  • Improve RPC error message for fee command (af1697c)
  • Improve ledger_entry command’s inconsistent behavior (63e167b)

Bug Fixes

  • Accept redirects from validator list sites (7fe1d4b)
  • Implement missing string conversions for JSON (c0e9418)
  • Eliminate potential undefined behavior (c71eb45)
  • Add safe_cast to sure no overflow in casts between enums and integral types (a7e4541)

Version 1.1.2

The rippled 1.1.2 release introduces a fix for an issue that could have prevented cluster peers from successfully bypassing connection limits when connecting to other servers on the same cluster. Additionally, it improves logic used to determine what the preferred ledger is during suboptimal network conditions.

New and Updated Features

This release has no new features.

Bug Fixes

  • Properly bypass connection limits for cluster peers (#2795, #2796)
  • Improve preferred ledger calculation (#2784)

Version 1.1.1

The rippled 1.1.1 release adds support for redirections when retrieving validator lists and changes the way that validators with an expired list behave. Additionally, informational commands return more useful information to allow server operators to determine the state of their server

New and Updated Features

  • Enhance status reporting when using the server_info and validators commands (#2734)
  • Accept redirects from validator list sites: (#2715)

Bug Fixes

  • Properly handle expired validator lists when validating (#2734)

Version 1.1.0

The rippled 1.1.0 release release includes the DepositPreAuth amendment, which combined with the previously released DepositAuth amendment, allows users to pre-authorize incoming transactions to accounts, by whitelisting sender addresses. The 1.1.0 release also includes incremental improvements to several previously released features (fix1515 amendment), deprecates support for the sign and sign_for commands from the rippled API and improves invariant checking for enhanced security.

Ripple recommends that all server operators upgrade to XRP Ledger version 1.1.0 by Thursday, 2018-09-27, to ensure service continuity.

New and Updated Features

  • Add DepositPreAuth ledger type and transaction (#2513)
  • Increase fault tolerance and raise validation quorum to 80%, which fixes issue 2604 (#2613)
  • Support ipv6 for peer and RPC comms (#2321)
  • Refactor ledger replay logic (#2477)
  • Improve Invariant Checking (#2532)
  • Expand SQLite potential storage capacity (#2650)
  • Replace UptimeTimer with UptimeClock (#2532)
  • Don’t read Amount field if it is not present (#2566)
  • Remove Transactor:: mFeeDue member variable (#2586)
  • Remove conditional check for using Boost.Process (#2586)
  • Improve charge handling in NoRippleCheckLimits test (#2629)
  • Migrate more code into the chrono type system (#2629)
  • Supply ConsensusTimer with milliseconds for finer precision (#2629)
  • Refactor / modernize Cmake (#2629)
  • Add delimiter when appending to cmake_cxx_flags (#2650)
  • Remove using namespace declarations at namespace scope in headers (#2650)

Bug Fixes

  • Deprecate the ‘sign’ and ‘sign_for’ APIs (#2657)
  • Use liquidity from strands that consume too many offers, which will be enabled on fix1515 Amendment (#2546)
  • Fix a corner case when decoding base64 (#2605)
  • Trim space in Endpoint::from_string (#2593)
  • Correctly suppress sent messages (#2564)
  • Detect when a unit test child process crashes (#2415)
  • Handle WebSocket construction exceptions (#2629)
  • Improve JSON exception handling (#2605)
  • Add missing virtual destructors (#2532)

Version 1.0.0.

The rippled 1.0.0 release includes incremental improvements to several previously released features.

New and Updated Features

  • The history sharding functionality has been improved. Instances can now use the shard store to satisfy ledger requests.
  • Change permessage-deflate and compress defaults (RIPD-506)
  • Update validations on UNL change (RIPD-1566)

Bug Fixes

  • Add check, escrow, and pay_chan to ledger_entry (RIPD-1600)
  • Clarify Escrow semantics (RIPD-1571)

Version 0.90.1

The rippled 0.90.1 release includes fixes for issues reported by external security researchers. These issues, when exploited, could cause a rippled instance to restart or, in some circumstances, stop executing. While these issues can result in a denial of service attack, none affect the integrity of the XRP Ledger and no user funds, including XRP, are at risk.

New and Updated Features

This release has no new features.

Bug Fixes

  • Address issues identified by external review:
    • Verify serialized public keys more strictly before using them (RIPD-1617, RIPD-1619, RIPD-1621)
    • Eliminate a potential out-of-bounds memory access in the base58 encoding/decoding logic (RIPD-1618)
    • Avoid invoking undefined behavior in memcpy (RIPD-1616)
    • Limit STVar recursion during deserialization (RIPD-1603)
  • Use lock when creating a peer shard rangeset

Version 0.90.0

The rippled 0.90.0 release introduces several features and enhancements that improve the reliability, scalability and security of the XRP Ledger.

Highlights of this release include:

  • The DepositAuth amendment, which lets an account strictly reject any incoming money from transactions sent by other accounts.
  • The Checks amendment, which allows users to create deferred payments that can be cancelled or cashed by their intended recipients.
  • History Sharding, which allows rippled servers to distribute historical ledger data if they agree to dedicate storage for segments of ledger history.
  • New Preferred Ledger by Branch semantics which improve the logic that allow a server to decide which ledger it should base future ledgers on when there are multiple candidates.

New and Updated Features

  • Add support for Deposit Authorization account root flag (#2239)
  • Implement history shards (#2258)
  • Preferred ledger by branch (#2300)
  • Redesign Consensus Simulation Framework (#2209)
  • Tune for higher transaction processing (#2294)
  • Optimize queries for account_tx to work around SQLite query planner (#2312)
  • Allow Journal to be copied/moved (#2292)
  • Cleanly report invalid [server] settings (#2305)
  • Improve log scrubbing (#2358)
  • Update rippled-example.cfg (#2307)
  • Force json commands to be objects (#2319)
  • Fix cmake clang build for sanitizers (#2325)
  • Allow account_objects RPC to filter by “check” (#2356)
  • Limit nesting of json commands (#2326)
  • Unit test that sign_for returns a correct hash (#2333)
  • Update Visual Studio build instructions (#2355)
  • Force boost static linking for MacOS builds (#2334)
  • Update MacOS build instructions (#2342)
  • Add dev docs generation to Jenkins (#2343)
  • Poll if process is still alive in Test.py (#2290)
  • Remove unused beast::currentTimeMillis() (#2345)

Bug Fixes

  • Improve error message on mistyped command (#2283)
  • Add missing includes (#2368)
  • Link boost statically only when requested (#2291)
  • Unit test logging fixes (#2293)
  • Fix Jenkins pipeline for branches (#2289)
  • Avoid AppVeyor stack overflow (#2344)
  • Reduce noise in log (#2352)

Version 0.81.0

The rippled 0.81.0 release introduces changes that improve the scalability of the XRP Ledger and transitions the recommended validator configuration to a new hosted site, as described in Ripple's Decentralization Strategy Update post.

New and Updated Features

  • New hosted validator configuration.

Bug Fixes

  • Optimize queries for account_tx to work around SQLite query planner (#2312)

Version 0.80.2

The rippled 0.80.2 release introduces changes that improve the scalability of the XRP Ledger.

New and Updated Features

This release has no new features.

Bug Fixes

  • Do not dispatch a transaction received from a peer for processing if it has already been dispatched within the past ten seconds.
  • Increase the number of transaction handlers that can be in flight in the job queue and decrease the relative cost for peers to share transaction and ledger data.
  • Make better use of resources by adjusting the number of threads we initialize, by reverting commit #68b8ffd.

Version 0.80.1

The rippled 0.80.1 release provides several enhancements in support of published validator lists and corrects several bugs.

New and Updated Features

  • Allow including validator manifests in published list (#2278)
  • Add validator list RPC commands (#2242)
  • Support SNI when querying published list sites and use Windows system root certificates (#2275)
  • Grow TxQ expected size quickly, shrink slowly (#2235)

Bug Fixes

  • Make consensus quorum unreachable if validator list expires (#2240)
  • Properly use ledger hash to break ties when determing working ledger for consensus (#2257)
  • Explictly use std::deque for missing node handler in SHAMap code (#2252)
  • Verify validator token manifest matches private key (#2268)

Version 0.80.0

The rippled 0.80.0 release introduces several enhancements that improve the reliability, scalability and security of the XRP Ledger.

Highlights of this release include:

  • The SortedDirectories amendment, which allows the entries stored within a page to be sorted, and corrects a technical flaw that could, in some edge cases, prevent an empty intermediate page from being deleted.
  • Changes to the UNL and quorum rules
    • Use a fixed size UNL if the total listed validators are below threshold
    • Ensure a quorum of 0 cannot be configured
    • Set a quorum to provide Byzantine fault tolerance until a threshold of total validators is exceeded, at which time the quorum is 80%

New and Updated Features

  • Improve directory insertion and deletion (#2165)
  • Move consensus thread safety logic from the generic implementation in Consensus into the RCL adapted version RCLConsensus (#2106)
  • Refactor Validations class into a generic version that can be adapted (#2084)
  • Make minimum quorum Byzantine fault tolerant (#2093)
  • Make amendment blocked state thread-safe and simplify a constructor (#2207)
  • Use ledger hash to break ties (#2169)
  • Refactor RangeSet (#2113)

Bug Fixes

  • Fix an issue where setAmendmentBlocked is only called when processing the EnableAmendment transaction for the amendment (#2137)
  • Track escrow in recipient's owner directory (#2212)

Version 0.70.2

The rippled 0.70.2 release corrects an emergent behavior which causes large numbers of transactions to get stuck in different nodes' open ledgers without being passed on to validators, resulting in a spike in the open ledger fee on those nodes.

New and Updated Features

This release has no new features.

Bug Fixes

  • Recent fee rises and TxQ issues (#2215)

Version 0.70.1

The rippled 0.70.1 release corrects a technical flaw in the newly refactored consensus code that could cause a node to get stuck in consensus due to stale votes from a peer, and allows compiling rippled under the 1.1.x releases of OpenSSL.

New and Updated Features

This release has no new features.

Bug Fixes

  • Allow compiling against OpenSSL 1.1.0 (#2151)
  • Log invariant check messages at "fatal" level (2154)
  • Fix the consensus code to update all disputed transactions after a node changes a position (2156)

Version 0.70.0

The rippled 0.70.0 release introduces several enhancements that improve the reliability, scalability and security of the network.

Highlights of this release include:

  • The FlowCross amendment, which streamlines offer crossing and autobrigding logic by leveraging the new “Flow” payment engine.
  • The EnforceInvariants amendment, which can safeguard the integrity of the XRP Ledger by introducing code that executes after every transaction and ensures that the execution did not violate key protocol rules.
  • fix1373, which addresses an issue that would cause payments with certain path specifications to not be properly parsed.

New and Updated Features

  • Implement and test invariant checks for transactions (#2054)
  • TxQ: Functionality to dump all queued transactions (#2020)
  • Consensus refactor for simulation/cleanup (#2040)
  • Payment flow code should support offer crossing (#1884)
  • make Config init extensible via lambda (#1993)
  • Improve Consensus Documentation (#2064)
  • Refactor Dependencies & Unit Test Consensus (#1941)
  • feature RPC test (#1988)
  • Add unit Tests for handlers/TxHistory.cpp (#2062)
  • Add unit tests for handlers/AccountCurrenciesHandler.cpp (#2085)
  • Add unit test for handlers/Peers.cpp (#2060)
  • Improve logging for Transaction affects no accounts warning (#2043)
  • Increase logging in PeerImpl fail (#2043)
  • Allow filtering of ledger objects by type in RPC (#2066)

Bug Fixes

  • Fix displayed warning when generating brain wallets (#2121)
  • Cmake build does not append '+DEBUG' to the version info for non-unity builds
  • Crossing tiny offers can misbehave on RCL
  • asfRequireAuth flag not always obeyed (#2092)
  • Strand creating is incorrectly accepting invalid paths
  • JobQueue occasionally crashes on shutdown (#2025)
  • Improve pseudo-transaction handling (#2104)

Version 0.60.3

The rippled 0.60.3 release helps to increase the stability of the network under heavy load.

New and Updated Features

This release has no new features.

Bug Fixes

Server overlay improvements (#2110)

Version 0.60.2

The rippled 0.60.2 release further strengthens handling of cases associated with a previously patched exploit, in which NoRipple flags were being bypassed by using offers.

New and Updated Features

This release has no new features.

Bug Fixes

Prevent the ability to bypass the NoRipple flag using offers (#7cd4d78)

Version 0.60.1

The rippled 0.60.1 release corrects a technical flaw that resulted from using 32-bit space identifiers instead of the protocol-defined 16-bit values for Escrow and Payment Channel ledger entries. rippled version 0.60.1 also fixes a problem where the WebSocket timeout timer would not be cancelled when certain errors occurred during subscription streams. Ripple requires upgrading to rippled version 0.60.1 immediately.

New and Updated Feature

This release has no new features.

Bug Fixes

Correct calculation of Escrow and Payment Channel indices. Fix WebSocket timeout timer issues.

Version 0.60.0

The rippled 0.60.0 release introduces several enhancements that improve the reliability and scalability of the Ripple Consensus Ledger (RCL), including features that add ledger interoperability by improving Interledger Protocol compatibility. Ripple recommends that all server operators upgrade to version 0.60.0 by Thursday, 2017-03-30, for service continuity.

Highlights of this release include:

  • Escrow (previously called SusPay) which permits users to cryptographically escrow XRP on RCL with an expiration date, and optionally a hashlock crypto-condition. Ripple expects Escrow to be enabled via an Amendment named Escrow on Thursday, 2017-03-30. See below for details.
  • Dynamic UNL Lite, which allows rippled to automatically adjust which validators it trusts based on recommended lists from trusted publishers.

New and Updated Features

  • Add Escrow support (#2039)
  • Dynamize trusted validator list and quorum (#1842)
  • Simplify fee handling during transaction submission (#1992)
  • Publish server stream when fee changes (#2016)
  • Replace manifest with validator token (#1975)
  • Add validator key revocations (#2019)
  • Add SecretKey comparison operator (#2004)
  • Reduce LEDGER_MIN_CONSENSUS (#2013)
  • Update libsecp256k1 and Beast B30 (#1983)
  • Make Config extensible via lambda (#1993)
  • WebSocket permessage-deflate integration (#1995)
  • Do not close socket on a foreign thread (#2014)
  • Update build scripts to support latest boost and ubuntu distros (#1997)
  • Handle protoc targets in scons ninja build (#2022)
  • Specify syntax version for ripple.proto file (#2007)
  • Eliminate protocol header dependency (#1962)
  • Use gnu gold or clang lld linkers if available (#2031)
  • Add tests for lookupLedger (#1989)
  • Add unit test for get_counts RPC method (#2011)
  • Add test for transaction_entry request (#2017)
  • Unit tests of RPC "sign" (#2010)
  • Add failure only unit test reporter (#2018)

Bug Fixes

  • Enforce rippling constraints during payments (#2049)
  • Fix limiting step re-execute bug (#1936)
  • Make "wss" work the same as "wss2" (#2033)
  • Config test uses unique directories for each test (#1984)
  • Check for malformed public key on payment channel (#2027)
  • Send a websocket ping before timing out in server (#2035)

Version 0.50.3

The rippled 0.50.3 release corrects a reported exploit that would allow a combination of trust lines and order books in a payment path to bypass the blocking effect of the NoRipple flag. Ripple recommends that all server operators immediately upgrade to version 0.50.3.

New and Updated Features

This release has no new features.

Bug Fixes

Correct a reported exploit that would allow a combination of trust lines and order books in a payment path to bypass the blocking effect of the “NoRipple” flag.

Version 0.50.2

The rippled 0.50.2 release adjusts the default TLS cipher list and corrects a flaw that would not allow an SSL handshake to properly complete if the port was configured using the wss keyword. Ripple recommends upgrading to 0.50.2 only if server operators are running rippled servers that accept client connections over TLS.

New and Updated Features

This release has no new features.

Bug Fixes

Adjust the default cipher list and correct a flaw that would not allow an SSL handshake to properly complete if the port was configured using the wss keyword (#1985)

Version 0.50.0

The rippled 0.50.0 release includes TickSize, which allows gateways to set a "tick size" for assets they issue to help promote faster price discovery and deeper liquidity, as well as reduce transaction spam and ledger churn on RCL. Ripple expects TickSize to be enabled via an Amendment called TickSize on Tuesday, 2017-02-21.

You can update to the new version on Red Hat Enterprise Linux 7 or CentOS 7 using yum. For other platforms, please compile the new version from source.

New and Updated Features

Tick Size

Currently, offers on RCL can differ by as little as one part in a quadrillion. This means that there is essentially no value to placing an offer early, as an offer placed later at a microscopically better price gets priority over it. The TickSize Amendment solves this problem by introducing a minimum tick size that a price must move for an offer to be considered to be at a better price. The tick size is controlled by the issuers of the assets involved.

This change lets issuers quantize the exchange rates of offers to use a specified number of significant digits. Gateways must enable a TickSize on their account for this feature to benefit them. A single AccountSet transaction may set a TickSize parameter. Legal values are 0 and 3-15 inclusive. Zero removes the setting. 3-15 allow that many decimal digits of precision in the pricing of offers for assets issued by this account. It will still be possible to place an offer to buy or sell any amount of an asset and the offer will still keep that amount as exactly as it does now. If an offer involves two assets that each have a tick size, the smaller number of significant figures (larger ticks) controls.

For asset pairs with XRP, the tick size imposed, if any, is the tick size of the issuer of the non-XRP asset. For asset pairs without XRP, the tick size imposed, if any, is the smaller of the two issuer's configured tick sizes.

The tick size is imposed by rounding the offer quality down to the nearest tick and recomputing the non-critical side of the offer. For a buy, the amount offered is rounded down. For a sell, the amount charged is rounded up.

The primary expected benefit of the TickSize amendment is the reduction of bots fighting over the tip of the order book, which means:

  • Quicker price discovery as outpricing someone by a microscopic amount is made impossible (currently bots can spend hours outbidding each other with no significant price movement)
  • A reduction in offer creation and cancellation spam
  • Traders can't outbid by a microscopic amount
  • More offers left on the books as priority

We also expect larger tick sizes to benefit market makers in the following ways:

  • They increase the delta between the fair market value and the trade price, ultimately reducing spreads
  • They prevent market makers from consuming each other's offers due to slight changes in perceived fair market value, which promotes liquidity
  • They promote faster price discovery by reducing the back and forths required to move the price by traders who don't want to move the price more than they need to
  • They reduce transaction spam by reducing fighting over the tip of the order book and reducing the need to change offers due to slight price changes
  • They reduce ledger churn and metadata sizes by reducing the number of indexes each order book must have
  • They allow the order book as presented to traders to better reflect the actual book since these presentations are inevitably aggregated into ticks

Hardened TLS configuration

This release updates the default TLS configuration for rippled. The new release supports only 2048-bit DH parameters and defines a new default set of modern ciphers to use, removing support for ciphers and hash functions that are no longer considered secure.

Server administrators who wish to have different settings can configure custom global and per-port cipher suites in the configuration file using the ssl_ciphers directive.

0.50.0 Change Log

Remove websocketpp support (#1910)

Increase OpenSSL requirements & harden default TLS cipher suites (#1913)

Move test support sources out of ripple directory (#1916)

Enhance ledger header RPC commands (#1918)

Add support for tick sizes (#1922)

Port discrepancy-test.coffee to c++ (#1930)

Remove redundant call to clearNeedNetworkLedger (#1931)

Port freeze-test.coffee to C++ unit test. (#1934)

Fix CMake docs target to work if BOOST_ROOT is not set (#1937)

Improve setup for account_tx paging test (#1942)

Eliminate npm tests (#1943)

Port uniport js test to cpp (#1944)

Enable amendments in genesis ledger (#1944)

Trim ledger data in Discrepancy_test (#1948)

Add current_ledger field to fee result (#1949)

Cleanup unit test support code (#1953)

Add ledger save / load tests (#1955)

Remove unused websocket files (#1957)

Update RPC handler role/usage (#1966)

Bug Fixes

Validator's manifest not forwarded beyond directly connected peers (#1919)

Upcoming Features

We expect the previously announced Suspended Payments feature, which introduces new transaction types to the Ripple protocol that will permit users to cryptographically escrow XRP on RCL, to be enabled via the SusPay Amendment on Tuesday, 2017-02-21.

Also, we expect support for crypto-conditions, which are signature-like structures that can be used with suspended payments to support ILP integration, to be included in the next rippled release scheduled for March.

Lastly, we do not have an update on the previously announced changes to the hash tree structure that rippled uses to represent a ledger, called SHAMapV2. At the time of activation, this amendment will require brief scheduled allowable unavailability while the changes to the hash tree structure are computed by the network. We will keep the community updated as we progress towards this date (TBA).

Version 0.40.1

The rippled 0.40.1 release increases SQLite database limits in all rippled servers. Ripple recommends upgrading to 0.40.1 only if server operators are running rippled servers with full-history of the ledger. There are no new or updated features in the 0.40.1 release.

You can update to the new version on Red Hat Enterprise Linux 7 or CentOS 7 using yum. For other platforms, please compile the new version from source.

New and Updated Features

This release has no new features.

Bug Fixes

Increase SQLite database limits to prevent full-history servers from crashing when restarting. (#1961)

Version 0.40.0

The rippled 0.40.0 release includes Suspended Payments, a new transaction type on the Ripple network that functions similar to an escrow service, which permits users cryptographically escrow XRP on RCL with an expiration date. Ripple expects Suspended Payments to be enabled via an Amendment named SusPay on Tuesday, 2017-01-17.

You can update to the new version on Red Hat Enterprise Linux 7 or CentOS 7 using yum. For other platforms, please compile the new version from source.

New and Updated Features

Previously, Ripple announced the introduction of Payment Channels during the release of rippled version 0.33.0, which permit scalable, off-ledger checkpoints of high volume, low value payments flowing in a single direction. This was the first step in a multi-phase effort to make RCL more scalable and to support Interledger Protocol (ILP). Ripple expects Payment Channels to be enabled via an Amendment called PayChan on a future date to be determined.

In the second phase towards making RCL more scalable and compatible with ILP, Ripple is introducing Suspended Payments, a new transaction type on the Ripple network that functions similar to an escrow service, which permits users to cryptographically escrow XRP on RCL with an expiration date. Ripple expects Suspended Payments to be enabled via an Amendment named SusPay on Tuesday, 2017-01-17.

A Suspended Payment can be created, which deducts the funds from the sending account. It can then be either fulfilled or canceled. It can only be fulfilled if the fulfillment transaction makes it into a ledger with a CloseTime lower than the expiry date of the transaction. It can be canceled with a transaction that makes it into a ledger with a CloseTime greater than the expiry date of the transaction.

In the third phase towards making RCL more scalable and compatible with ILP, Ripple plans to introduce additional library support for crypto-conditions, which are distributable event descriptions written in a standard format that describe how to recognize a fulfillment message without saying exactly what the fulfillment is. Fulfillments are cryptographically verifiable messages that prove an event occurred. If you transmit a fulfillment, then everyone who has the condition can agree that the condition has been met. Fulfillment requires the submission of a signature that matches the condition (message hash and public key). This format supports multiple algorithms, including different hash functions and cryptographic signing schemes. Crypto-conditions can be nested in multiple levels, with each level possibly having multiple signatures.

Lastly, we do not have an update on the previously announced changes to the hash tree structure that rippled uses to represent a ledger, called SHAMapV2. This will require brief scheduled allowable downtime while the changes to the hash tree structure are propagated by the network. We will keep the community updated as we progress towards this date (TBA).

Consensus refactor (#1874)

Bug Fixes

Correct an issue in payment flow code that did not remove an unfunded offer (#1860)

Sign validator manifests with both ephemeral and master keys (#1865)

Correctly parse multi-buffer JSON messages (#1862)

Version 0.33.0

The rippled 0.33.0 release includes an improved version of the payment code, which we expect to be activated via Amendment on Wednesday, 2016-10-20 with the name Flow. We are also introducing XRP Payment Channels, a new structure in the ledger designed to support Interledger Protocol trust lines as balances get substantial, which we expect to be activated via Amendment on a future date (TBA) with the name PayChan. Lastly, we will be introducing changes to the hash tree structure that rippled uses to represent a ledger, which we expect to be available via Amendment on a future date (TBA) with the name SHAMapV2.

You can update to the new version on Red Hat Enterprise Linux 7 or CentOS 7 using yum. For other platforms, please compile the new version from source.

** New and Updated Features **

A fixed version of the new payment processing engine, which we initially announced on Friday, 2016-07-29, is expected to be available via Amendment on Wednesday, 2016-10-20 with the name Flow. The new payments code adds no new features, but improves efficiency and robustness in payment handling.

The Flow code may occasionally produce slightly different results than the old payment processing engine due to the effects of floating point rounding.

We will be introducing changes to the hash tree structure that rippled uses to represent a ledger, which we expect to be activated via Amendment on a future date (TBA) with the name SHAMapV2. The new structure is more compact and efficient than the previous version. This affects how ledger hashes are calculated, but has no other user-facing consequences. The activation of the SHAMapV2 amendment will require brief scheduled allowable downtime, while the changes to the hash tree structure are propagated by the network. We will keep the community updated as we progress towards this date (TBA).

In an effort to make RCL more scalable and to support Interledger Protocol (ILP) trust lines as balances get more substantial, we’re introducing XRP Payment Channels, a new structure in the ledger, which we expect to be available via Amendment on a future date (TBA) with the name PayChan.

XRP Payment Channels permit scalable, intermittent, off-ledger settlement of ILP trust lines for high volume payments flowing in a single direction. For bidirectional channels, an XRP Payment Channel can be used in each direction. The recipient can claim any unpaid balance at any time. The owner can top off the channel as needed. The owner must wait out a delay to close the channel to give the recipient a chance to supply any claims. The total amount paid increases monotonically as newer claims are issued.

The initial concept behind payment channels was discussed as early as 2011 and the first implementation was done by Mike Hearn in bitcoinj. Recent work being done by Lightning Network has showcased examples of the many use cases for payment channels. The introduction of XRP Payment Channels allows for a more efficient integration between RCL and ILP to further support enterprise use cases for high volume payments.

Added getInfoRippled.sh support script to gather health check for rippled servers [RIPD-1284]

The account_info command can now return information about queued transactions - [RIPD-1205]

Automatically-provided sequence numbers now consider the transaction queue - [RIPD-1206]

The server_info and server_state commands now include the queue-related escalated fee factor in the load_factor field of the response - [RIPD-1207]

A transaction with a high transaction cost can now cause transactions from the same sender queued in front of it to get into the open ledger if the transaction costs are high enough on average across all such transactions. - [RIPD-1246]

Reorganization: Move LoadFeeTrack to app/tx and clean up functions - [RIPD-956]

Reorganization: unit test source files - [RIPD-1132]

Reorganization: NuDB stand-alone repository - [RIPD-1163]

Reorganization: Add BEAST_EXPECT to Beast - [RIPD-1243]

Reorganization: Beast 64-bit CMake/Bjam target on Windows - [RIPD-1262]

** Bug Fixes **

PaymentSandbox::balanceHook can return the wrong issuer, which could cause the transfer fee to be incorrectly by-passed in rare circumstances. [RIPD-1274, #1827]

Prevent concurrent write operations in websockets [#1806]

Add HTTP status page for new websocket implementation [#1855]

Version 0.32.1

The rippled 0.32.1 release includes an improved version of the payment code, which we expect to be available via Amendment on Wednesday, 2016-08-24 with the name FlowV2, and a completely new implementation of the WebSocket protocol for serving clients.

You can update to the new version on Red Hat Enterprise Linux 7 or CentOS 7 using yum. For other platforms, please compile the new version from source.

New and Updated Features

An improved version of the payment processing engine, which we expect to be available via Amendment on Wednesday, 2016-08-24 with the name “FlowV2”. The new payments code adds no new features, but improves efficiency and robustness in payment handling.

The FlowV2 code may occasionally produce slightly different results than the old payment processing engine due to the effects of floating point rounding. Once FlowV2 is enabled on the network then old servers without the FlowV2 amendment will lose sync more frequently because of these differences.

Beast WebSocket

A completely new implementation of the WebSocket protocol for serving clients is available as a configurable option for rippled administrators. To enable this new implementation, change the “protocol” field in rippled.cfg from “ws” to “ws2” (or from “wss” to “wss2” for Secure WebSockets), as illustrated in this example:

[port_ws_public]
port = 5006
ip = 0.0.0.0
protocol = wss2

The new implementation paves the way for increased reliability and future performance when submitting commands over WebSocket. The behavior and syntax of commands should be identical to the previous implementation. Please report any issues to support@ripple.com. A future version of rippled will remove the old WebSocket implementation, and use only the new one.

Bug fixes

Fix a non-exploitable, intermittent crash in some client pathfinding requests (RIPD-1219)

Fix a non-exploitable crash caused by a race condition in the HTTP server. (RIPD-1251)

Fix bug that could cause a previously fee queued transaction to not be relayed after being in the open ledger for an extended time without being included in a validated ledger. Fix bug that would allow an account to have more than the allowed limit of transactions in the fee queue. Fix bug that could crash debug builds in rare cases when replacing a dropped transaction. (RIPD-1200)

Remove incompatible OS X switches in Test.py (RIPD-1250)

Autofilling a transaction fee (sign / submit) with the experimental x-queue-okay parameter will use the user’s maximum fee if the open ledger fee is higher, improving queue position, and giving the tx more chance to succeed. (RIPD-1194)

Version 0.32.0

The rippled 0.32.0 release improves transaction queue which now supports batching and can hold up to 10 transactions per account, allowing users to queue multiple transactions for processing when the network load is high. Additionally, the server_info and server_state commands now include information on transaction cost multipliers and the fee command is available to unprivileged users. We advise rippled operators to upgrade immediately.

You can update to the new version on Red Hat Enterprise Linux 7 or CentOS 7 using yum. For other platforms, please compile the new version from source.

New and Updated Features

  • Allow multiple transactions per account in transaction queue (RIPD-1048). This also introduces a new transaction engine code, telCAN_NOT_QUEUE.
  • Charge pathfinding consumers per source currency (RIPD-1019): The IP address used to perform pathfinding operations is now charged an additional resource increment for each source currency in the path set.
  • New implementation of payment processing engine. This implementation is not yet enabled by default.
  • Include amendments in validations subscription
  • Add C++17 compatibility
  • New WebSocket server implementation with Beast.WebSocket library. The new library offers a stable, high-performance websocket server implementation. To take advantage of this implementation, change websocket protocol under rippled.cfg from wss and ws to wss2 and ws2 under [port_wss_admin] and [port_ws_public] stanzas:
     [port_wss_admin]
     port = 51237
     ip = 127.0.0.1
     admin = 127.0.0.1
     protocol = wss2

     [port_ws_public]
     port = 51233
     ip = 0.0.0.0
     protocol = wss2, ws2
  • The fee command is now public (RIPD-1113)
  • The fee command checks open ledger rules (RIPD-1183)
  • Log when number of available file descriptors is insufficient (RIPD-1125)
  • Publish all validation fields for signature verification
  • Get quorum and trusted master validator keys from validators.txt
  • Standalone mode uses temp DB files by default (RIPD-1129): If a [database_path] is configured, it will always be used, and tables will be upgraded on startup.
  • Include config manifest in server_info admin response (RIPD-1172)

Bug fixes

  • Fix history acquire check (RIPD-1112)
  • Correctly handle connections that fail security checks (RIPD-1114)
  • Fix secured Websocket closing
  • Reject invalid MessageKey in SetAccount handler (RIPD-308, RIPD-990)
  • Fix advisory delete effect on history acquisition (RIPD-1112)
  • Improve websocket send performance (RIPD-1158)
  • Fix XRP bridge payment bug (RIPD-1141)
  • Improve error reporting for wallet_propose command. Also include a warning if the key used may be an insecure, low-entropy key. (RIPD-1110)

Deprecated features

  • Remove obsolete sendGetPeers support (RIPD-164)
  • Remove obsolete internal command (RIPD-888)

Version 0.31.2

The rippled 0.31.2 release corrects issues with the fee escalation algorithm. We advise rippled operators to upgrade immediately.

You can update to the new version on Red Hat Enterprise Linux 7 or CentOS 7 using yum. For other platforms, please compile the new version from source.

New and Updated Features

This release has no new features.

Bug Fixes

  • A defect in the fee escalation algorithm that caused network fees to escalate more rapidly than intended has been corrected. (RIPD-1177)
  • The minimum local fee advertised by validators will no longer be adjusted upwards.

Version 0.31.1

The rippled 0.31.1 release contains one important bug fix. We advise rippled operators to upgrade immediately.

You can update to the new version on Red Hat Enterprise Linux 7 or CentOS 7 using yum. For other platforms, please compile the new version from source.

New and Updated Features

This release has no new features.

Bug Fixes

rippled 0.31.1 contains the following fix:

  • Correctly handle ledger validations with no LedgerSequence field. Previous versions of rippled incorrectly assumed that the optional validation field would always be included. Current versions of the software always include the field, and gracefully handle its absence.

Version 0.31.0

rippled 0.31.0 has been released.

You can update to the new version on Red Hat Enterprise Linux 7 or CentOS 7 using yum.

For other platforms, please compile the new version from source. Use the git log command to confirm you have the correct source tree. The first log entry should be the change setting the version:

 commit a5d58566386fd86ae4c816c82085fe242b255d2c
 Author: Nik Bougalis <nikb@bougalis.net>
 Date:   Sun Apr 17 18:02:02 2016 -0700

     Set version to 0.31.0

Warnings

Please expect a one-time delay when starting 0.31.0 while certain database indices are being built or rebuilt. The delay can be up to five minutes, during which CPU will spike and the server will appear unresponsive (no response to RPC, etc.).

Additionally, rippled 0.31.0 now checks at start-up time that it has sufficient open file descriptors available, and shuts down with an error message if it does not. Previous versions of rippled could run out of file descriptors unexpectedly during operation. If you get a file-descriptor error message, increase the number of file descriptors available to rippled (for example, editing /etc/security/limits.conf) and restart.

New and Updated Features

rippled 0.31.0 has the following new or updated features:

  • (New) Amendments - A consensus-based system for introducing changes to transaction processing.
  • (New) Multi-Signing - (To be enabled as an amendment) Allow transactions to be authorized by a list of signatures. (RIPD-182)
  • (New) Transaction queue and FeeEscalation - (To be enabled as an amendment) Include or defer transactions based on the transaction cost offered, for better behavior in DDoS conditions. (RIPD-598)
  • (Updated) Validations subscription stream now includes ledger_index field. (DEC-564)
  • (Updated) You can request SignerList information in the account_info command (RIPD-1061)

Closed Issues

rippled 0.31.0 has the following fixes and improvements:

  • Improve held transaction submission
  • Update SQLite from 3.8.11.1 to 3.11.0
  • Allow random seed with specified wallet_propose key_type (RIPD-1030)
  • Limit pathfinding source currency limits (RIPD-1062)
  • Speed up out of order transaction processing (RIPD-239)
  • Pathfinding optimizations
  • Streamlined UNL/validator list: The new code removes the ability to specify domain names in the [validators] configuration block, and no longer supports the [validators_site] option.
  • Add websocket client
  • Add description of rpcSENDMAX_MALFORMED error
  • Convert PathRequest to use std::chrono (RIPD-1069)
  • Improve compile-time OpenSSL version check
  • Clear old Validations during online delete (RIPD-870)
  • Return correct error code during unfunded offer cross (RIPD-1082)
  • Report delivered_amount for legacy account_tx queries.
  • Improve error message when signing fails (RIPD-1066)
  • Fix websocket deadlock

Version 0.30.1

rippled 0.30.1 has been released. The commit can be found on GitHub at: https://github.com/ripple/rippled/tree/0.30.1

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

 commit c717006c44126aa0edb3a36ca29ee30e7a72c1d3
 Author: Nik Bougalis <nikb@bougalis.net>
 Date:   Wed Feb 3 14:49:07 2016 -0800

   Set version to 0.30.1

This release incorporates a number of important features, bugfixes and functional improvements. Please refer to the Git commit history for more detailed information.

Release Overview

The rippled team is proud to release rippled version 0.30.1. This version contains a several minor new features as well as significant improvements to the consensus algorithm that make it work faster and with more consistency. In the time we have been testing the new release on our validators, these changes have led to increased agreement and shorter close times between ledger versions, for approximately 40% more ledgers validated per day.

New Features

  • Secure gateway: configured IPs can forward identifying user data in HTTP headers, including user name and origin IP. If the user name exists, then resource limits are lifted for that session. See rippled-example.cfg for more information.
  • Allow fractional fee multipliers (RIPD-626)
  • Add “expiration” to account_offers (RIPD-1049)
  • Add “owner_funds” to “transactions” array in RPC ledger (RIPD-1050)
  • Add "tx" option to "ledger" command line
  • Add server uptime in server_info
  • Allow multiple incoming connections from the same IP
  • Report connection uptime in peer command (RIPD-927)
  • Permit pathfinding to be disabled by setting [path_search_max] to 0 in rippled.cfg file (RIPD-271)
  • Add subscription to peer status changes (RIPD-579)

Improvements

  • Improvements to ledger_request response
  • Improvements to validations proposal relaying (RIPD-1057)
  • Improvements to consensus algorithm
  • Ledger close time optimizations (RIPD-998, RIPD-791)
  • Delete unfunded offers in predictable order

Development-Related Updates

  • Require boost 1.57
  • Implement new coroutines (RIPD-1043)
  • Force STAccount interface to 160-bit size (RIPD-994)
  • Improve compile-time OpenSSL version check

Bug Fixes

  • Fix handling of secp256r1 signatures (RIPD-1040)
  • Fix websocket messages dispatching
  • Fix pathfinding early response (RIPD-1064)
  • Handle account_objects empty response (RIPD-958)
  • Fix delivered_amount reporting for minor ledgers (RIPD-1051)
  • Fix setting admin privileges on websocket
  • Fix race conditions in account_tx command (RIPD-1035)
  • Fix to enforce no-ripple constraints

Assistance

For assistance, please contact integration@ripple.com

More information

For more information or assistance, the following resources will be of use:


Version 0.30.0

rippled 0.30.0 has been released. The commit can be found on GitHub at: https://github.com/ripple/rippled/tree/0.30.0

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

 commit a8859b495b552fe1eb140771f0f2cb32d11d2ac2
 Author: Vinnie Falco <vinnie.falco@gmail.com>
 Date:   Wed Oct 21 18:26:02 2015 -0700

    Set version to 0.30.0

This release incorporates a number of important features, bugfixes and functional improvements. Please refer to the Git commit history for more detailed information.

Release Overview

As part of Ripple Labs’ ongoing commitment toward protocol security, the rippled team would like to release rippled 0.30.0.

Toolchain support

The minimum supported version of GCC used to compile rippled is v4.8. Please follow these instructions if you have not upgraded already.

While it may be possible to compile rippled on (virtual) machines with 4GB of RAM, we recommend compiling on (virtual) machines with 8GB of RAM or more. If your build machine has more than one CPU (grep '^processor' /proc/cpuinfo | wc -l), you can use them to assist in the build process by compiling with the command scons -j[number of CPUs - 1].

New Features

  • Honor markers in ledger_data requests (RIPD-1010).
  • New Amendment - TrustSetAuth (Not currently enabled) Create zero balance trust lines with auth flag (RIPD-1003): this allows a TrustSet transaction to create a trust line if the only thing being changed is setting the tfSetfAuth flag.
  • Randomize the initial transaction execution order for closed ledgers based on the hash of the consensus set (RIPD-961). Activates on October 27, 2015 at 11:00 AM PCT.
  • Differentiate path_find response (RIPD-1013).
  • Convert all of an asset (RIPD-655).

Improvements

  • SHAMap improvements.

  • Upgrade SQLite from 3.8.8.2 to 3.8.11.1.

  • Limit the number of offers that can be consumed during crossing (RIPD-1026).

  • Remove unfunded offers on tecOVERSIZE (RIPD-1026).

  • Improve transport security (RIPD-1029): to take full advantage of the improved transport security, servers with a single, static public IP address should add it to their configuration file, as follows:

    [overlay] public_ip=<ip_address>

Development-Related Updates

  • Transitional support for gcc 5.2: to enable support define the environmental variable RIPPLED_OLD_GCC_ABI=1
  • Transitional support for C++ 14: to enable support define the environment variable RIPPLED_USE_CPP_14=1
  • Visual Studio 2015 support
  • Updates to integration tests
  • Add uptime to crawl data (RIPD-997)

Assistance

For assistance, please contact integration@ripple.com

More information

For more information or assistance, the following resources will be of use:


Version 0.29.0

rippled 0.29.0 has been released. The commit can be found on GitHub at: https://github.com/ripple/rippled/commits/0.29.0

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

 commit 5964710f736e258c7892e8b848c48952a4c7856c
 Author: Nik Bougalis <nikb@bougalis.net>
 Date:   Tue Aug 4 13:22:45 2015 -0700

    Set version to 0.29.0

This release incorporates a number of important features, bugfixes and functional improvements. Please refer to the Git commit history for more detailed information.

Release Overview

As part of Ripple Labs’ ongoing commitment toward protocol security, the rippled team would like to announce rippled release 0.29.0.

Toolchain support

The minimum supported version of GCC used to compile rippled is v4.8. Please follow these instructions if you have not upgraded already.

While it may be possible to compile rippled on (virtual) machines with 4GB of RAM, we recommend compiling on (virtual) machines with 8GB of RAM or more. If your build machine has more than one CPU (`grep '^processor' /proc/cpuinfo | wc -l`), you can use them to assist in the build process by compiling with the command scons -j[number of CPUs - 1].

New Features

  • Subscription stream for validations (RIPD-504)

Deprecated features

  • Disable Websocket ping timer

Bug Fixes

  • Fix off-by one bug that overstates the account reserve during OfferCreate transaction. Activates August 17, 2015.
  • Fix funded offer removal during Payment transaction (RIPD-113). Activates August 17, 2015.
  • Fix display discrepancy in fee.

Improvements

  • Add “quality” field to account_offers API response: quality is defined as the exchange rate, the ratio taker_pays divided by taker_gets.
  • Add full_reply field to path_find API response: full_reply is defined as true/false value depending on the completed depth of pathfinding search (RIPD-894).
  • Add DeliverMin transaction field (RIPD-930). Activates August 17, 2015.

Development-Related Updates

  • Add uptime to crawl data (RIPD-997).
  • Add IOUAmount and XRPAmount: these numeric types replace the monolithic functionality found in STAmount (RIPD-976).
  • Log metadata differences on built ledger mismatch.
  • Add enableTesting flag to applyTransactions.

Assistance

For assistance, please contact integration@ripple.com

More information

For more information or assistance, the following resources will be of use:


Version 0.28.2

rippled 0.28.2 has been released. The commit can be found on GitHub at: https://github.com/ripple/rippled/commits/release

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

 commit 6374aad9bc94595e051a04e23580617bc1aaf300
 Author: Vinnie Falco <vinnie.falco@gmail.com>
 Date:   Tue Jul 7 09:21:44 2015 -0700

    Set version to 0.28.2

This release incorporates a number of important features, bugfixes and functional improvements. Please refer to the Git commit history for more detailed information.

Release Overview

As part of Ripple Labs’ ongoing commitment toward protocol security, the rippled team would like to announce rippled release 0.28.2. This release is necessary for compatibility with OpenSSL v.1.0.1n and later.

Toolchain support

The minimum supported version of GCC used to compile rippled is v4.8. Please follow these instructions if you have not upgraded already.

While it may be possible to compile rippled on (virtual) machines with 4GB of RAM, we recommend compiling on (virtual) machines with 8GB of RAM or more. If your build machine has more than one CPU (`grep '^processor' /proc/cpuinfo | wc -l`), you can use them to assist in the build process by compiling with the command scons -j[number of CPUs - 1].

The minimum supported version of Boost is v1.57.0. You must upgrade to this release or later to successfully compile this release of rippled. Please follow these instructions if you have not upgraded already.

rippled.cfg Updates

For [ips] stanza, a port must be specified for each listed IP address with the space between IP address and port, ex.: r.ripple.com 51235 (RIPD-893)

New Features

  • New API: gateway_balances to get a gateway's hot wallet balances and total obligations.

Deprecated features

Improvements

  • Improve peer send queue management
  • Support larger EDH keys
  • More robust call to get the valid ledger index
  • Performance improvements to transactions application to open ledger

Development-Related Updates

  • New Env transaction testing framework for unit testing
  • Fix MSVC link
  • C++ 14 readiness

Assistance

For assistance, please contact integration@ripple.com

More information

For more information or assistance, the following resources will be of use:


Version 0.28.1

rippled 0.28.1 has been released. The commit can be found on GitHub at: https://github.com/ripple/rippled/tree/0.28.1

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

 commit 399c43cae6e90a428e9ce6a988123972b0f03c99
 Author: Miguel Portilla <miguelportilla@pobros.com>
 Date:   Wed May 20 13:30:54 2015 -0400

    Set version to 0.28.1

This release incorporates a number of important features, bugfixes and functional improvements. Please refer to the Git commit history for more detailed information.

Toolchain support

The minimum supported version of GCC used to compile rippled is v4.8. Please follow these instructions if you have not upgraded already.

While it may be possible to compile rippled on (virtual) machines with 4GB of RAM, we recommend compiling on (virtual) machines with 8GB of RAM or more. If your build machine has more than one CPU (`grep '^processor' /proc/cpuinfo | wc -l`), you can use them to assist in the build process by compiling with the command scons -j[number of CPUs - 1].

The minimum supported version of Boost is v1.57.0. You must upgrade to this release or later to successfully compile this release of rippled. Please follow these instructions if you have not upgraded already.

New Features

  • Filtering for Account Objects (RIPD-868).
  • Track rippled server peers latency (RIPD-879).

Bug fixes

  • Expedite zero flow handling for offers
  • Fix offer crossing when funds are the limiting factor

Deprecated features

  • Wallet_accounts and generator maps (RIPD-804)

Improvements

  • Control ledger query depth based on peers latency
  • Improvements to ledger history fetches
  • Improve RPC ledger synchronization requirements (RIPD-27, RIPD-840)
  • Eliminate need for ledger in delivered_amount calculation (RIPD-860)
  • Improvements to JSON parsing

Development-Related Updates

  • Add historical ledger fetches per minute to get_counts
  • Compute validated ledger age from signing time
  • Remove unused database table (RIPD-755)

Assistance

For assistance, please contact integration@ripple.com

More information

For more information or assistance, the following resources will be of use:


Version 0.28.0

rippled 0.28.0 has been released. The commit can be found on GitHub at: https://github.com/ripple/rippled/tree/0.28.0

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

 commit 7efd0ab0d6ef017331a0e214a3053893c88f38a9
 Author: Vinnie Falco <vinnie.falco@gmail.com>
 Date:   Fri Apr 24 18:57:36 2015 -0700

    Set version to 0.28.0

This release incorporates a number of important features, bugfixes and functional improvements. Please refer to the Git commit history for more detailed information.

Release Overview

As part of Ripple Labs’ ongoing commitment toward improving the protocol, the rippled team is excited to announce autobridging — a feature that allows XRP to serve as a bridge currency. Autobridging enhances utility and has the potential to expose more of the network to liquidity and improve prices. For more information please refer to the autobridging blog post.

Toolchain support

The minimum supported version of GCC used to compile rippled is v4.8. Please follow these instructions if you have not upgraded already.

While it may be possible to compile rippled on (virtual) machines with 4GB of RAM, we recommend compiling on (virtual) machines with 8GB of RAM or more. If your build machine has more than one CPU (`grep '^processor' /proc/cpuinfo | wc -l`), you can use them to assist in the build process by compiling with the command scons -j[number of CPUs - 1].

The minimum supported version of Boost is v1.57.0. You must upgrade to this release or later to successfully compile this release of rippled. Please follow these instructions if you have not upgraded already.

Important rippled.cfg update

With rippled version 0.28, the rippled.cfg file must be changed according to these instructions:

  • Change any entries that say

admin = allow to admin =

  • For most installations, 127.0.0.1 will preserve current behavior. 0.0.0.0 may be specified to indicate "any IP" but cannot be combined with other IP addresses. Use of 0.0.0.0 may introduce severe security risks and is not recommended. See docs/rippled-example.cfg for more information.

More Strict Requirements on MemoType

The requirements on the contents of the MemoType field, if present, are more strict than the previous version. Transactions that can successfully be submitted to 0.27.4 and earlier may fail in 0.28.0. For details, please refer to updated memo documentation for details. Partners should check their implementation to make sure that their MemoType follows the new rules.

New Features

  • Autobridging implementation (RIPD-423). This feature will be turned on May 12, 2015.
  • Combine history_ledger_index and online_delete settings in rippled.cfg (RIPD-774).
  • Claim a fee when a required destination tag is not specified (RIPD-574).
  • Require the master key when disabling the use of the master key or when enabling 'no freeze' (RIPD-666).
  • Change the port setting admin to accept allowable admin IP addresses (RIPD-820):
    • rpc_admin_allow has been removed.
    • Comma-separated list of IP addresses that are allowed administrative privileges (subject to username & password authentication if configured).
    • 127.0.0.1 is no longer a default admin IP.
    • 0.0.0.0 may be specified to indicate "any IP" but cannot be combined with other MIP addresses. Use of 0.0.0.0 may introduce severe security risks and is not recommended.
  • Enable Amendments from config file or static data (RIPD-746).

Bug fixes

  • Fix payment engine handling of offer ⇔ account ⇔ offer cases (RIPD-639). This fix will take effect on May 12, 2015.
  • Fix specified destination issuer in pathfinding (RIPD-812).
  • Only report delivered_amount for executed payments (RIPD-827).
  • Return a validated ledger if there is one (RIPD-814).
  • Refund owner's ticket reserve when a ticket is canceled (RIPD-855).
  • Return descriptive error from account_currencies RPC (RIPD-806).
  • Fix transaction enumeration in account_tx API (RIPD-734).
  • Fix inconsistent ledger_current return (RIPD-669).
  • Fix flags --rpc_ip and --rpc_port (RIPD-679).
  • Skip inefficient SQL query (RIPD-870)

Deprecated features

  • Remove support for deprecated PreviousTxnID field (RIPD-710). This will take effect on May 12, 2015.
  • Eliminate temREDUNDANT_SEND_MAX (RIPD-690).
  • Remove WalletAdd (RIPD-725).
  • Remove SMS support.

Improvements

  • Improvements to peer communications.
  • Reduce master lock for client requests.
  • Update SQLite to 3.8.8.2.
  • Require Boost 1.57.
  • Improvements to Universal Port (RIPD-687).
  • Constrain valid inputs for memo fields (RIPD-712).
  • Binary option for ledger command (RIPD-692).
  • Optimize transaction checks (RIPD-751).

Development-Related Updates

  • Add RPC metrics (RIPD-705).
  • Track and report peer load.
  • Builds/Test.py will build and test by one or more scons targets.
  • Support a --noserver command line option in tests:
  • Run npm/integration tests without launching rippled, using a running instance of rippled (possibly in a debugger) instead.
  • Works for npm test and mocha.
  • Display human readable SSL error codes.
  • Better transaction analysis (RIPD-755).

Assistance

For assistance, please contact integration@ripple.com

More information

For more information or assistance, the following resources will be of use:


Version 0.27.4

rippled 0.27.4 has been released. The commit can be found on GitHub at: https://github.com/ripple/rippled/tree/0.27.4

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

 commit 92812fe7239ffa3ba91649b2ece1e892b866ec2a
 Author: Nik Bougalis <nikb@bougalis.net>
 Date:   Wed Mar 11 11:26:44 2015 -0700

    Set version to 0.27.4

This release includes one new feature. Please refer to the Git commit history for more detailed information.

Toolchain support

The minimum supported version of GCC used to compile rippled is v4.8. Please follow these instructions if you have not upgraded already.

While it may be possible to compile rippled on (virtual) machines with 4GB of RAM, we recommend compiling on (virtual) machines with 8GB of RAM or more. If your build machine has more than one CPU (`grep '^processor' /proc/cpuinfo | wc -l`), you can use them to assist in the build process by compiling with the command scons -j[number of CPUs - 1].

The minimum supported version of Boost is v1.57.0. You must upgrade to this release or later to successfully compile this release of rippled. Please follow these instructions if you have not upgraded already.

Bug Fixes

  • Limit passes in the payment engine

Assistance

For assistance, please contact integration@ripple.com

More information

For more information or assistance, the following resources will be of use:


Version 0.27.3-sp2

rippled 0.27.3-sp2 has been released. The commit can be found on GitHub at: https://github.com/ripple/rippled/tree/0.27.3-sp2

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

 commit f999839e599e131ed624330ad0ce85bb995f02d3
 Author: Nik Bougalis <nikb@bougalis.net>
 Date:   Thu Mar 12 13:37:47 2015 -0700

    Set version to 0.27.3-sp2

This release includes one new feature. Please refer to the Git commit history for more detailed information.

Toolchain support

The minimum supported version of GCC used to compile rippled is v4.8. Please follow these instructions if you have not upgraded already.

While it may be possible to compile rippled on (virtual) machines with 4GB of RAM, we recommend compiling on (virtual) machines with 8GB of RAM or more. If your build machine has more than one CPU (`grep '^processor' /proc/cpuinfo | wc -l`), you can use them to assist in the build process by compiling with the command scons -j[number of CPUs - 1].

The minimum supported version of Boost is v1.57.0. You must upgrade to this release or later to successfully compile this release of rippled. Please follow these instructions if you have not upgraded already.

New Features

  • Add noripple_check RPC command: this command tells gateways what they need to do to set "Default Ripple" account flag and fix any trust lines created before the flag was set.

Assistance

For assistance, please contact integration@ripple.com

More information

For more information or assistance, the following resources will be of use:


Version 0.27.3-sp1

rippled 0.27.3-sp1 has been released. The commit can be found on GitHub at: https://github.com/ripple/rippled/tree/0.27.3-sp1

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

 commit 232693419a2c9a8276a0fae991f688f6f01a3add
 Author: Nik Bougalis <nikb@bougalis.net>
 Date:   Wed Mar 11 10:26:39 2015 -0700

   Set version to 0.27.3-sp1

This release includes one new feature. Please refer to the Git commit history for more detailed information.

Toolchain support

The minimum supported version of GCC used to compile rippled is v4.8. Please follow these instructions if you have not upgraded already.

While it may be possible to compile rippled on (virtual) machines with 4GB of RAM, we recommend compiling on (virtual) machines with 8GB of RAM or more. If your build machine has more than one CPU (`grep '^processor' /proc/cpuinfo | wc -l`), you can use them to assist in the build process by compiling with the command scons -j[number of CPUs - 1].

The minimum supported version of Boost is v1.57.0. You must upgrade to this release or later to successfully compile this release of rippled. Please follow these instructions if you have not upgraded already.

New Features

  • Add "Default Ripple" account flag

Assistance

For assistance, please contact integration@ripple.com

More information

For more information or assistance, the following resources will be of use:


Version 0.27.3

rippled 0.27.3 has been released. The commit can be found on GitHub at: https://github.com/ripple/rippled/tree/0.27.3

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

 commit 70c2854f7c8a28801a7ebc81dd62bf0d068188f0
 Author: Nik Bougalis <nikb@bougalis.net>
 Date:   Tue Mar 10 14:06:33 2015 -0700

    Set version to 0.27.3

This release includes one new feature. Please refer to the Git commit history for more detailed information.

Toolchain support

The minimum supported version of GCC used to compile rippled is v4.8. Please follow these instructions if you have not upgraded already.

While it may be possible to compile rippled on (virtual) machines with 4GB of RAM, we recommend compiling on (virtual) machines with 8GB of RAM or more. If your build machine has more than one CPU (`grep '^processor' /proc/cpuinfo | wc -l`), you can use them to assist in the build process by compiling with the command scons -j[number of CPUs - 1].

The minimum supported version of Boost is v1.57.0. You must upgrade to this release or later to successfully compile this release of rippled. Please follow these instructions if you have not upgraded already.

New Features

  • Add "Default Ripple" account flag

Assistance

For assistance, please contact integration@ripple.com

More information

For more information or assistance, the following resources will be of use:


Version 0.27.2

rippled 0.27.2 has been released. The commit can be found on GitHub at: https://github.com/ripple/rippled/tree/0.27.2

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

 commit 9cc8eec773e8afc9c12a6aab4982deda80495cf1
 Author: Nik Bougalis <nikb@bougalis.net>
 Date:   Sun Mar 1 14:56:44 2015 -0800

   Set version to 0.27.2

This release incorporates a number of important bugfixes and functional improvements. Please refer to the Git commit history for more detailed information.

Toolchain support

The minimum supported version of GCC used to compile rippled is v4.8. Please follow these instructions if you have not upgraded already.

While it may be possible to compile rippled on (virtual) machines with 4GB of RAM, we recommend compiling on (virtual) machines with 8GB of RAM or more. If your build machine has more than one CPU (`grep '^processor' /proc/cpuinfo | wc -l`), you can use them to assist in the build process by compiling with the command scons -j[number of CPUs - 1].

The minimum supported version of Boost is v1.57.0. You must upgrade to this release or later to successfully compile this release of rippled. Please follow these instructions if you have not upgraded already.

New Features

  • NuDB backend option: high performance key/value database optimized for rippled (set “type=nudb” in .cfg).

    • Either import RockdDB to NuDB using import tool, or
    • Start fresh with NuDB but delete SQLite databases if rippled ran previously with RocksDB:

    rm [database_path]/transaction.* [database_path]/ledger.*

Bug Fixes

  • Fix offer quality bug

Deprecated

  • HyperLevelDB, LevelDB, and SQLlite backend options. Use RocksDB for spinning drives and NuDB for SSDs backend options.

Assistance

For assistance, please contact integration@ripple.com

More information

For more information or assistance, the following resources will be of use:


Version 0.27.1

rippled 0.27.1 has been released. The commit can be found on GitHub at: https://github.com/ripple/rippled/tree/0.27.1

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

 commit 95973ba3e8b0bd28eeaa034da8b806faaf498d8a
 Author: Vinnie Falco <vinnie.falco@gmail.com>
 Date:   Tue Feb 24 13:31:13 2015 -0800

   Set version to 0.27.1

This release incorporates a number of important bugfixes and functional improvements. Please refer to the Git commit history for more detailed information.

Toolchain support

The minimum supported version of GCC used to compile rippled is v4.8. Please follow these instructions if you have not upgraded already.

While it may be possible to compile rippled on (virtual) machines with 4GB of RAM, we recommend compiling on (virtual) machines with 8GB of RAM or more. If your build machine has more than one CPU (`grep '^processor' /proc/cpuinfo | wc -l`), you can use them to assist in the build process by compiling with the command scons -j[number of CPUs - 1].

The minimum supported version of Boost is v1.57.0. You must upgrade to this release or later to successfully compile this release of rippled. Please follow these instructions if you have not upgraded already.

New Features

  • RocksDB to NuDB import tool (RIPD-781, RIPD-785): custom tool specifically designed for very fast import of RocksDB nodestore databases into NuDB

Bug Fixes

  • Fix streambuf bug

Improvements

  • Update RocksDB backend settings
  • NuDB improvements:
    • Limit size of mempool (RIPD-787)
    • Performance improvements (RIPD-793, RIPD-796): changes in Nudb to improve speed, reduce database size, and enhance correctness. The most significant change is to store hashes rather than entire keys in the key file. The output of the hash function is reduced to 48 bits, and stored directly in buckets.

Experimental

  • Add /crawl cgi request feature to peer protocol (RIPD-729): adds support for a cgi /crawl request, issued over HTTPS to the configured peer protocol port. The response to the request is a JSON object containing the node public key, type, and IP address of each directly connected neighbor. The IP address is suppressed unless the neighbor has requested its address to be revealed by adding "Crawl: public" to its HTTP headers. This field is currently set by the peer_private option in the rippled.cfg file.

Assistance

For assistance, please contact integration@ripple.com

More information

For more information or assistance, the following resources will be of use:


Version 0.27.0

rippled 0.27.0 has been released. The commit can be found on GitHub at: https://github.com/ripple/rippled/tree/0.27.0

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

 commit c6c8e5d70c6fbde02cd946135a061aa77744396f
 Author: Vinnie Falco <vinnie.falco@gmail.com>
 Date:   Mon Jan 26 10:56:11 2015 -0800

     Set version to 0.27.0

This release incorporates a number of important bugfixes and functional improvements. Please refer to the Git commit history for more detailed information.

Release Overview

The rippled team is proud to release rippled 0.27.0. This new version includes many exciting features that will appeal to our users. The team continues to work on stability, scalability, and performance.

The first feature is Online Delete. This feature allows rippled to maintain it’s database of previous ledgers within a fixed amount of disk space. It does this while allowing rippled to stay online and maintain an administrator specify minimum number of ledgers. This means administrators with limited disk space will no longer need to manage disk space by periodically manually removing the database. Also, with the previously existing backend databases performance would gradually degrade as the database grew in size. In particular, rippled would perform poorly whenever the backend database performed ever growing compaction operations. By limiting rippled to less history, compaction is less resource intensive and systems with less disk performance can now run rippled.

Additionally, we are very excited to include Universal Port. This feature allows rippled's listening port to handshake in multiple protocols. For example, a single listening port can be configured to receive incoming peer connections, incoming RPC commands over HTTP, and incoming RPC commands over HTTPS at the same time. Or, a single port can receive both Websockets and Secure Websockets clients at the same.

Finally, a new, experimental backend database, NuDB, has been added. This database was developed by Ripple Labs to take advantage of rippled’s specific data usage profile and performs much better than previous databases. Significantly, this database does not degrade in performance as the database grows. Very excitingly, this database works on OS X and Windows. This allows rippled to use these platforms for the first time.

Toolchain support

The minimum supported version of GCC used to compile rippled is v4.8. Please follow these instructions if you have not upgraded already.

While it may be possible to compile rippled on (virtual) machines with 4GB of RAM, we recommend compiling on (virtual) machines with 8GB of RAM or more. If your build machine has more than one CPU (`grep '^processor' /proc/cpuinfo | wc -l`), you can use them to assist in the build process by compiling with the command scons -j[number of CPUs - 1].

The minimum supported version of Boost is v1.57.0. You must upgrade to this release or later to successfully compile this release of rippled. Please follow these instructions if you have not upgraded already.

Important rippled.cfg Update

The format of the configuration file has changed. If upgrading from a previous version of rippled, please see the migration instructions below.

New Features

  • SHAMapStore Online Delete (RIPD-415): Makes rippled configurable to support deletion of all data in its key-value store (nodestore) and ledger and transaction SQLite databases based on validated ledger sequence numbers. See doc/rippled-example.cfg for configuration setup.
  • Universal Port. See necessary config changes below.
  • Config "ledger_history_index" option (RIPD-559)

Bug Fixes

  • Fix pathfinding with multiple issuers for one currency (RIPD-618)
  • Fix account_lines, account_offers and book_offers result (RIPD-682)
  • Fix pathfinding bugs (RIPD-735)
  • Fix RPC subscribe with multiple books (RIPD-77)
  • Fix account_tx API

Improvements

  • Improve the human-readable description of the tesSUCCESS code
  • Add 'delivered_amount' to Transaction JSON (RIPD-643): The synthetic field 'delivered_amount' can be used to determine the exact amount delivered by a Payment without having to check the DeliveredAmount field, if present, or the Amount field otherwise.

Development-Related Updates

  • HTTP Handshaking for Peers on Universal Port (RIPD-446)
  • Use asio signal handling in Application (RIPD-140)
  • Build dependency on Boost 1.57.0
  • Support a "no_server" flag in test config
  • API for improved Unit Testing (RIPD-432)
  • Option to specify rippled path on command line (--rippled=<absolute or relative path>)

Experimental

  • NuDB backend option: high performance key/value database optimized for rippled (set “type=nudb” in .cfg)

Migration Instructions

With rippled version 0.27.0, the rippled.cfg file must be changed according to these instructions:

  • Add new stanza - [server]. This section will contain a list of port names and key/value pairs. A port name must start with a letter and contain only letters and numbers. The name is not case-sensitive. For each name in this list, rippled will look for a configuration file section with the same name and use it to create a listening port. To simplify migration, you can use port names from your previous version of rippled.cfg (see Section 1. Server for detailed explanation in doc/rippled-example.cfg). For example:

     [server]
     rpc_port
     peer_port
     websocket_port
     ssl_key = <set value to your current [rpc_ssl_key] or [websocket_ssl_key] setting>
     ssl_cert = <set value to your current [rpc_ssl_cert] or [websocket_ssl_cert] setting>
     ssl_chain = <set value to your current [rpc_ssl_chain] or [websocket_ssl_chain] setting>
    
  • For each port name in [server] stanza, add separate stanzas. For example:

     [rpc_port]
     port = <set value to your current [rpc_port] setting, usually 5005>
     ip = <set value to your current [rpc_ip] setting, usually 127.0.0.1>
     admin = allow
     protocol = https
    
     [peer_port]
     port = <set value to your current [peer_port], usually 51235>
     ip = <set value to your current [peer_ip], usually 0.0.0.0>
     protocol = peer
    
     [websocket_port]
     port = <your current [websocket_port], usually 6006>
     ip = <your current [websocket_ip], usually 127.0.0.1>
     admin = allow
     protocol = wss
    
  • Remove current [rpc_port], [rpc_ip], [rpc_allow_remote], [rpc_ssl_key], [rpc_ssl_cert], and [rpc_ssl_chain], [peer_port], [peer_ip], [websocket_port], [websocket_ip] settings from rippled.cfg

  • If you allow untrusted websocket connections to your rippled, add [websocket_public_port] stanza under [server] section and replace websocket public settings with [websocket_public_port] section:

     [websocket_public_port]
     port = <your current [websocket_public_port], usually 5005>
     ip = <your current [websocket_public_ip], usually 127.0.0.1>
     protocol = ws ← make sure this is ws, not wss`
    
  • Remove [websocket_public_port], [websocket_public_ip], [websocket_ssl_key], [websocket_ssl_cert], [websocket_ssl_chain] settings from rippled.cfg

  • Disable [ssl_verify] section by setting it to 0

  • Migrate the remaining configurations without changes. To enable online delete feature, check Section 6. Database in doc/rippled-example.cfg

Integration Notes

With this release, integrators should deprecate the "DeliveredAmount" field in favor of "delivered_amount."

For Transactions That Occurred Before January 20, 2014:

  • If amount actually delivered is different than the transactions “Amount” field
    • "delivered_amount" will show as unavailable indicating a developer should use caution when processing this payment.
    • Example: A partial payment transaction (tfPartialPayment).
  • Otherwise
    • "delivered_amount" will show the correct destination balance change.

For Transactions That Occur After January 20, 2014:

  • If amount actually delivered is different than the transactions “Amount” field
    • A "delivered_amount" field will determine the destination amount change
    • Example: A partial payment transaction (tfPartialPayment).
  • Otherwise
    • "delivered_amount" will show the correct destination balance change.

Assistance

For assistance, please contact integration@ripple.com

More information

For more information or assistance, the following resources will be of use:


Version 0.26.4

rippled 0.26.4 has been released. The repository tag is 0.26.4 and can be found on GitHub at: https://github.com/ripple/rippled/commits/0.26.4

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

 commit 05a04aa80192452475888479c84ff4b9b54e6ae7
 Author: Vinnie Falco <vinnie.falco@gmail.com>
 Date:   Mon Nov 3 16:53:37 2014 -0800

     Set version to 0.26.4

This release incorporates a number of important bugfixes and functional improvements. Please refer to the Git commit history for more detailed information.

Toolchain support

The minimum supported version of GCC used to compile rippled is v4.8. Please follow these instructions if you have not upgraded already.

While it may be possible to compile rippled on (virtual) machines with 4GB of RAM, we recommend compiling on (virtual) machines with 8GB of RAM or more. If your build machine has more than one CPU (`grep '^processor' /proc/cpuinfo | wc -l`), you can use them to assist in the build process by compiling with the command scons -j[number of CPUs - 1].

The minimum supported version of Boost is v1.55.0. You must upgrade to this release or later to successfully compile this release of rippled. Please follow these instructions if you have not upgraded already.

Important JSON-RPC Update

With rippled version 0.26.4, the rippled.cfg file must set the ssl_verify property to 0. Without this update, JSON-RPC API calls may not work.

New Features

  • Rocksdb v. 3.5.1
  • SQLite v. 3.8.7
  • Disable SSLv3
  • Add counters to track ledger read and write activities
  • Use trusted validators median fee when determining transaction fee
  • Add --quorum argument for server start (RIPD-563)
  • Add account_offers paging (RIPD-344)
  • Add account_lines paging (RIPD-343)
  • Ability to configure network fee in rippled.cfg file (RIPD-564)

Bug Fixes

  • Fix OS X version parsing/error related to OS X 10.10 update
  • Fix incorrect address in connectivity check report
  • Fix page sizes for ledger_data (RIPD-249)
  • Make log partitions case-insensitive in rippled.cfg

Improvements

  • Performance
    • Ledger performance improvements for storage and traversal (RIPD-434)
    • Improve client performance for JSON responses (RIPD-439)
  • Other
    • Remove PROXY handshake feature
    • Change to rippled.cfg to support sections containing both key/value pairs and a list of values
    • Return descriptive error message for memo validation (RIPD-591)
    • Changes to enforce JSON-RPC 2.0 error format
    • Optimize account_lines and account_offers (RIPD-587)
    • Improve fee setting logic (RIPD-614)
    • Improve transaction security
    • Config improvements
    • Improve path filtering (RIPD-561)
    • Logging to distinguish Byzantine failure from tx bug (RIPD-523)

Experimental

  • Add "deferred" flag to transaction relay message (required for future code that will relay deferred transactions)
  • Refactor STParsedJSON to parse an object or array (required for multisign implementation) (RIPD-480)

Development-Related Updates

  • Changes to DatabaseReader to read ledger numbers from database
  • Improvements to SConstruct

More information

For more information or assistance, the following resources will be of use:


Version 0.26.3-sp1

rippled 0.26.3-sp1 has been released. The repository tag is 0.26.3-sp1 and can be found on GitHub at: https://github.com/ripple/rippled/tree/0.26.3-sp1

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

 commit 2ad6f0a65e248b4f614d38d199a9d5d02f5aaed8
 Author: Vinnie Falco <vinnie.falco@gmail.com>
 Date:   Fri Sep 12 15:22:54 2014 -0700

     Set version to 0.26.3-sp1

This release incorporates a number of important bugfixes and functional improvements. Please refer to the Git commit history for more detailed information.

Toolchain support

The minimum supported version of GCC used to compile rippled is v4.8. Please follow these instructions if you have not upgraded already.

While it may be possible to compile rippled on (virtual) machines with 4GB of RAM, we recommend compiling on (virtual) machines with 8GB of RAM or more. If your build machine has more than one CPU (`grep '^processor' /proc/cpuinfo | wc -l`), you can use them to assist in the build process by compiling with the command scons -j[number of CPUs - 1].

The minimum supported version of Boost is v1.55.0. You must upgrade to this release or later to successfully compile this release of rippled. Please follow these instructions if you have not upgraded already.

New Features

  • New command to display HTTP/S-RPC sessions metrics (RIPD-533)

Bug Fixes

  • Improved handling of HTTP/S-RPC sessions (RIPD-489)
  • Fix unit tests for Windows.
  • Fix integer overflows in JSON parser.

Improvements

  • Improve processing of trust lines during pathfinding.

Experimental Features

  • Added a command line utility called LedgerTool for retrieving and processing ledger blocks from the Ripple network.

Development-Related Updates

  • HTTP message and parser improvements.
    • Streambuf wrapper supports rvalue move.
    • Message class holds a complete HTTP message.
    • Body class holds the HTTP content body.
    • Headers class holds RFC-compliant HTTP headers.
    • Basic_parser provides class interface to joyent's http-parser.
    • Parser class parses into a message object.
    • Remove unused http get client free function.
    • Unit test for parsing malformed messages.
  • Add enable_if_lvalue.
  • Updates to includes and scons.
  • Additional ledger.history.mismatch insight statistic.
  • Convert rvalue to an lvalue. (RIPD-494)
  • Enable heap profiling with jemalloc.
  • Add aged containers to Validators module. (RIPD-349)
  • Account for high-ASCII characters. (RIPD-464)

More information

For more information or assistance, the following resources will be of use:


Version 0.26.2

rippled 0.26.2 has been released. The repository tag is 0.26.2 and can be found on GitHub at: https://github.com/ripple/rippled/tree/0.26.2

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

 commit b9454e0f0ca8dbc23844a0520d49394e10d445b1
 Author: Vinnie Falco <vinnie.falco@gmail.com>
 Date:   Mon Aug 11 15:25:44 2014 -0400

    Set version to 0.26.2

This release incorporates a small number of important bugfixes. Please refer to the Git commit history for more detailed information.

Toolchain support

The minimum supported version of GCC used to compile rippled is v4.8. Please follow these instructions if you have not upgraded already.

While it may be possible to compile rippled on (virtual) machines with 4GB of RAM, we recommend compiling on (virtual) machines with 8GB of RAM or more. If your build machine has more than one CPU (`grep '^processor' /proc/cpuinfo | wc -l`), you can use them to assist in the build process by compiling with the command scons -j[number of CPUs - 1].

The minimum supported version of Boost is v1.55.0. You must upgrade to this release or later to successfully compile this release of rippled. Please follow these instructions if you have not upgraded already.

New Features

  • Freeze enforcement: activates on September 15, 2014 (RIPD-399)
  • Add pubkey_node and hostid to server stream messages (RIPD-407)

Bug Fixes

  • Fix intermittent exception when closing HTTPS connections (RIPD-475)
  • Correct Pathfinder::getPaths out to handle order books (RIPD-427)
  • Detect inconsistency in PeerFinder self-connects (RIPD-411)

Experimental Features

  • Add owner_funds to client subscription data (RIPD-377)

The offer funding status feature is “experimental” in this version. Developers are able to see the field, but it is subject to change in future releases.

More information

For more information or assistance, the following resources will be of use:


Version 0.26.1

rippled v0.26.1 has been released. The repository tag is 0.26.1 and can be found on GitHub at: https://github.com/ripple/rippled/tree/0.26.1

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

 commit 9a0e806f78300374e20070e2573755fbafdbfd03
 Author: Vinnie Falco <vinnie.falco@gmail.com>
 Date:   Mon Jul 28 11:27:31 2014 -0700

     Set version to 0.26.1

This release incorporates a small number of important bugfixes. Please refer to the Git commit history for more detailed information.

Toolchain support

The minimum supported version of GCC used to compile rippled is v4.8. Please follow these instructions if you have not upgraded already.

While it may be possible to compile rippled on (virtual) machines with 4GB of RAM, we recommend compiling on (virtual) machines with 8GB of RAM or more. If your build machine has more than one CPU (`grep '^processor' /proc/cpuinfo | wc -l`), you can use them to assist in the build process by compiling with the command scons -j[number of CPUs - 1].

The minimum supported version of Boost is v1.55.0. You must upgrade to this release or later to successfully compile this release of rippled. Please follow these instructions if you have not upgraded already.

Bug Fixes

  • Enabled asynchronous handling of HTTP-RPC interactions. This fixes client handlers using RPC that periodically return blank responses to requests. (RIPD-390)
  • Fixed auth handling during OfferCreate. This fixes a regression of RIPD-256. (RIPD-414)

More information

For more information or assistance, the following resources will be of use:


Version 0.26.0

rippled v0.26.0 has been released. The repository tag is 0.26.0 and can be found on GitHub at: https://github.com/ripple/rippled/tree/0.26.0

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

 commit 9fa5e3987260e39dba322f218d39ac228a5b361b
 Author: Vinnie Falco <vinnie.falco@gmail.com>
 Date:   Tue Jul 22 09:59:45 2014 -0700

     Set version to 0.26.0

This release incorporates a significant number of improvements and important bugfixes. Please refer to the Git commit history for more detailed information.

Toolchain support

The minimum supported version of GCC used to compile rippled is v4.8. Please follow these instructions if you have not upgraded already.

While it may be possible to compile rippled on (virtual) machines with 4GB of RAM, we recommend compiling on (virtual) machines with 8GB of RAM or more. If your build machine has more than one CPU (`grep '^processor' /proc/cpuinfo | wc -l`), you can use them to assist in the build process by compiling with the command scons -j[number of CPUs - 1].

The minimum supported version of Boost is v1.55.0. You must upgrade to this release or later to successfully compile this release of rippled. Please follow these instructions if you have not upgraded already.

Improvements

  • Updated integration tests.
  • Updated tests for account freeze functionality.
  • Implement setting the no-freeze flag on Ripple accounts (RIPD-394).
  • Improve transaction fee and execution logic (RIPD-323).
  • Implemented finding of 'sabfd' paths (RIPD-335).
  • Imposed a local limit on paths lengths (RIPD-350).
  • Documented ledger entries (RIPD-361).
  • Documented SHAMap.

Bug Fixes

  • Fixed the limit parameter on book_offers (RIPD-295).
  • Removed SHAMapNodeID from SHAMapTreeNode to fix "right data, wrong ID" bug in the tree node cache (RIPD-347).
  • Eliminated spurious SHAMap::getFetchPack failure (RIPD-379).
  • Disabled SSLv2.
  • Implemented rate-limiting of SSL client renegotiation to mitigate SCIR DoS vulnerability (RIPD-360).
  • Display unprintable or malformatted currency codes as hex digits.
  • Fix static initializers in RippleSSLContext (RIPD-375).

More information

For more information or assistance, the following resources will be of use:


Version 0.25.2

rippled v0.25.2 has been released. The repository tag is 0.25.2 and can be found on GitHub at: https://github.com/ripple/rippled/tree/0.25.2

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

 commit ddf68d464d74e1c76a0cfd100a08bc8e65b91fec
 Author: Mark Travis <mtravis@ripple.com>
 Date:   Mon Jul 7 11:46:15 2014 -0700

     Set version to 0.25.2

This release incorporates significant improvements which may not warrant separate entries but are incorporated into the feature changes as summary lines. Please refer to the Git commit history for more information.

Toolchain support

The minimum supported version of GCC used to compile rippled is v4.8. Please follow these instructions if you have not upgraded already.

While it may be possible to compile rippled on (virtual) machines with 4GB of RAM, we recommend build machines with 8GB of RAM.

The minimum supported version of Boost is v1.55. You must upgrade to this release or later to successfully compile this release. Please follow these instructions if you have not upgraded already.

Improvements

  • CPU utilization for certain operations has been optimized.
  • Improve serialization of public ledger blocks.
  • rippled now takes much less time to compile.
  • Additional pathfinding heuristic: increases liquidity in some cases.

Bug Fixes

  • Unprintable currency codes will be printed as hex digits.
  • Transactions with unreasonably long path lengths are rejected. The maximum is now eight (8) hops.

Version 0.25.1

rippled v0.25.1 has been released. The repository tag is 0.25.1 and can be found on GitHub at: https://github.com/ripple/rippled/tree/0.25.1

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

 commit b677cacb8ce0d4ef21f8c60112af1db51dce5bb4
 Author: Vinnie Falco <vinnie.falco@gmail.com>
 Date:   Thu May 15 08:27:20 2014 -0700

     Set version to 0.25.1

This release incorporates significant improvements which may not warrant separate entries but are incorporated into the feature changes as summary lines. Please refer to the Git commit history for more information.

Toolchain support

The minimum supported version of GCC used to compile rippled is v4.8. Please follow these instructions if you have not upgraded already.

A minimum of 4GB of RAM are required to successfully compile this release.

The minimum supported version of Boost is v1.55. You must upgrade to this release or later to successfully compile this release. Please follow these instructions if you have not upgraded already.

Major Features

Improvements

  • Remove redundant checkAccept call
  • Added I/O latency to output of ''server_info''.
  • Better performance handling of Fetch Packs.
  • Improved handling of modified ledger nodes.
  • Improved performance of JSON document generator.
  • Made strConcat operate in O(n) time for greater efficiency.
  • Added some new configuration options to doc/rippled-example.cfg

Bug Fixes

  • Fixed a bug in Unicode parsing of transactions.
  • Fix a blocker with tfRequireAuth
  • Merkle tree nodes that are retrieved as a result of client requests are cached locally.
  • Use the last ledger node closed for finding old paths through the network.
  • Reduced number of asynchronous fetches.

Version 0.25.0

rippled version 0.25.0 has been released. The repository tag is 0.25.0 and can be found on GitHub at: https://github.com/ripple/rippled/tree/0.25.0

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

 commit 29d1d5f06261a93c5e94b4011c7675ff42443b7f
 Author: Vinnie Falco <vinnie.falco@gmail.com>
 Date:   Wed May 14 09:01:44 2014 -0700

     Set version to 0.25.0

This release incorporates significant improvements which may not warrant separate entries but are incorporated into the feature changes as summary lines. Please refer to the Git commit history for more information.

Toolchain support

The minimum supported version of GCC used to compile rippled is v4.8. Please follow these instructions if you have not upgraded already.

A minimum of 4GB of RAM are required to successfully compile this release.

The minimum supported version of Boost is v1.55. You must upgrade to this release or later to successfully compile this release. Please follow these instructions if you have not upgraded already.

Major Features

Improvements

  • Remove redundant checkAccept call
  • Added I/O latency to output of server_info.
  • Better performance handling of Fetch Packs.
  • Improved handling of modified ledger nodes.
  • Improved performance of JSON document generator.
  • Made strConcat operate in O(n) time for greater efficiency.

Bug Fixes

  • Fix a blocker with tfRequireAuth
  • Merkle tree nodes that are retrieved as a result of client requests are cached locally.
  • Use the last ledger node closed for finding old paths through the network.
  • Reduced number of asynchronous fetches.

Version 0.24.0

rippled version 0.24.0 has been released. The repository tag is 0.24.0 and can be found on GitHub at: https://github.com/ripple/rippled/tree/0.24.0

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

 commit 3eb1c7bd6f93e5d874192197f76571184338f702
 Author: Vinnie Falco <vinnie.falco@gmail.com>
 Date:   Mon May 5 10:20:46 2014 -0700

     Set version to 0.24.0

This release incorporates significant improvements which may not warrant separate entries but are incorporated into the feature changes as summary lines. Please refer to the Git commit history for more information.

Toolchain support

The minimum supported version of GCC used to compile rippled is v4.8. Please follow these instructions if you have not upgraded already.

A minimum of 4GB of RAM are required to successfully compile this release.

The minimum supported version of Boost is v1.55. You must upgrade to this release or later to successfully compile this release. Please follow these instructions if you have not upgraded already.

Improvements

  • Implemented logic for ledger processes and features.
  • Use "high threads" for background RocksDB database writes.
  • Separately track locally-issued transactions to ensure they always appear in the open ledger.

Bug Fixes

  • Fix AccountSet for canonical transactions.
  • The RPC sign command will now sign with either an account's master or regular secret key.
  • Fixed out-of-order network initialization.
  • Improved efficiency of pathfinding for transactions.
  • Reworked timing of ledger validation and related operations to fix race condition against the network.
  • Build process enforces minimum versions of OpenSSL and BOOST for operation.

Version 0.23.0

rippled version 0.23.0 has been released. The repository tag is 0.23.0 and can be found on GitHub at: https://github.com/ripple/rippled/tree/0.23.0

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

 commit 29a4f61551236f70865d46d6653da2e62de1c701
 Author: Vinnie Falco <vinnie.falco@gmail.com>
 Date:   Fri Mar 14 13:01:23 2014 -0700

     Set version to 0.23.0

This release incorporates significant improvements which may not warrant separate entries but are incorporated into the feature changes as summary lines. Please refer to the Git commit history for more information.

Toolchain support

The minimum supported version of GCC used to compile rippled is v4.8. Please follow these instructions if you have not upgraded already.

A minimum of 4GB of RAM are required to successfully compile this release.

The minimum supported version of Boost is v1.55. You must upgrade to this release or later to successfully compile this release. Please follow these instructions if you have not upgraded already.

Improvements

  • Allow the word 'none' in the .cfg file to disable storing historical ledgers.
  • Clarify the initialization of hash prefixes used in the RadMap.
  • Better validation of RPC-JSON from all sources
  • Reduce spurious log output from Peers
  • Eliminated some I/O for certain operations in the RadMap.
  • Client requests for full state trees now require administrative privileges.
  • Added "MemoData" field for transaction memos.
  • Prevent the node cache from overflowing needlessly in certain cases
  • Add "ledger_data" command for retrieving entire ledgers in chunks.
  • Reduce the quantity of forwarded transactions and proposals in some cases
  • Improved diagnostics when errors occur loading SSL certificates

Bug Fixes

  • Fix rare crash when a race condition involving disconnecting sockets occurs
  • Fix a corner case with hex conversion of strings with odd character lengths
  • Fix an exception in a corner case when erroneous transactions were being logged
  • Fix the treatment of expired offers when cleaning up offers
  • Prevent a needless transactor from being created if the tx ID is not valid
  • Fix the peer action transition from "syncing" to "full"
  • Fix error reporting for unknown inner JSON fields
  • Fix source file path displayed when an assertion failure is reported
  • Fix typos in transaction engine error code identifiers

Version 0.22.0

rippled version 0.22.0 has been released. This release is currently the tip of the develop/ branch and can be found on GitHub at: https://github.com/ripple/rippled/tree/develop The tag is 0.22.0 and can be found on GitHub at: https://github.com/ripple/rippled/tree/0.22.0

This is a critical release affecting transaction processing. All partners should update immediately.

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

This release incorporates significant improvements which may not warrant separate entries but are incorporated into the feature changes as summary lines. Please refer to the Git commit history for more information.

Toolchain support

The minimum supported version of GCC used to compile rippled is v4.8. Please follow these instructions if you have not upgraded already.

A minimum of 4GB of RAM are required to successfully compile this release.

The minimum supported version of libBOOST is v1.55. You must upgrade to this release or later to successfully compile this release. Please follow these instructions if you have not upgraded already.

Key release features

  • PeerFinder

    • Actively guides network topology.
    • Scrubs listening advertisements based on connectivity checks.
    • Redirection for new nodes when existing nodes are full.
  • Memos

    • Transactions can optionally include a short text message, which optionally can be encrypted.
  • Database

    • Improved management of I/O resources.
    • Better performance accessing historical data.
  • PathFinding

    • More efficient search algorithm when computing paths

Major Partner Issues Fixed

  • Transactions

    • Malleability: Ability to ensure that signatures are fully canonical.
  • PathFinding

    • Less time needed to get the first path result!
  • Database

    • Eliminated "meltdowns" caused when fetching historical ledger data.

Significant Changes

  • Cleaned up logic which controls when ledgers are fetched and under what conditions.
  • Cleaned up file path calculation for database files.
  • Changed dispatcher for WebSocket requests.
  • Cleaned up multithreading mechanisms.
  • Fixed custom currency code parsing.
  • Optimized transaction node lookup circumstances in the node store.

Version 0.21.0

rippled version 0.21.0 has been released. This release is currently the tip of the develop/ branch and can be found on GitHub at 1. The tag is 0.21.0-rc2 and can be found on GitHub at 2.

This is a critical release. All partners should update immediately.

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

commit f295bb20a16d1d2999f606c1297c8930d8e33c40
Author: JoelKatz <DavidJoelSchwartz@GMail.com>
Date:   Fri Jan 24 11:17:16 2014 -0800

    Set version to 0.21.0.rc2

Major Partner Issues Fixed

  • Order book issues
    • Ensure all crossing offers are taken
    • Ensure order book is not left crossed
  • Added DeliveredAmount field to transaction metadata
    • Reports amount delivered in partial payments

Toolchain support

As with the previous release, the minimum supported version of GCC used to compile rippled is v4.8.

Significant Changes

  • Pairwise no-ripple
    • Permits trust lines to be protected from rippling
    • Operates on protected pairs
  • Performance improvements
    • Improve I/O latency
    • Improve fetching ledgers
    • Improve pathfinding
  • Features for robust transaction submission
    • LastLedgerSeq for transaction expiration
    • AccountTxnID for transaction chaining
  • Fix some cases where an invalid transaction would stay in limbo
  • Code cleanups
  • Better reporting of invalid parameters

Release Candidates

RC1 fixed performance problems with order book retrieval.

RC2 fixed a bug that caused crashes in order processing and a bug in parsing order book requests.

Notice

If you are upgrading from version 0.12 or earlier of rippled, these next sections apply to you because the format of the rippled.cfg file changed around that time. If you have upgraded since that time and you have applied the configuration file fixes, you can safely ignore them.

Validators

Ripple Labs is now running five validators. You can use this template for your validators.txt file (or place this in your config file):

 [validators]
 n9KPnVLn7ewVzHvn218DcEYsnWLzKerTDwhpofhk4Ym1RUq4TeGw    RIP1
 n9LFzWuhKNvXStHAuemfRKFVECLApowncMAM5chSCL9R5ECHGN4V    RIP2
 n94rSdgTyBNGvYg8pZXGuNt59Y5bGAZGxbxyvjDaqD9ceRAgD85P    RIP3
 n9LeQeDcLDMZKjx1TZtrXoLBLo5q1bR1sUQrWG7tEADFU6R27UBp    RIP4
 n9KF6RpvktjNs2MDBkmxpJbup4BKrKeMKDXPhaXkq7cKTwLmWkFr    RIP5

You should also raise your quorum to at least three by putting the following in your rippled.cfg file:

 [validation_quorum]
 3

If you are a validator, you should set your quorum to at least four.

IPs

A list of Ripple Labs server IP addresses can be found by resolving r.ripple.com. You can also add this to your rippled.cfg file to ensure you always have several peer connections to Ripple Labs servers:

 [ips]
 184.73.226.101 51235
 23.23.201.55   51235
 54.200.43.173  51235
 184.73.57.84   51235
 54.234.249.55  51235
 54.200.86.110  51235

RocksDB back end

RocksDB is based on LevelDB with improvements from Facebook and the community. Preliminary tests show that it stalls less often than HyperLevelDB for our use cases.

If you are switching over from an existing back end, you have two options. You can remove your old database and let rippled recreate it as it re-syncs, or you can import your old database into the new one.

To remove your old database, make sure the server is shut down (`rippled stop`). Remove the db/ledger.db and db/transaction.db files. Remove all the files in your back end store directory (db/hashnode by default). Then change your configuration file to use the RocksDB back end and restart.

To import your old database, start by shutting the server down. Then modify the configuration file by renaming your [node_db] stanza to [import_db]. Create a new [node_db] stanza and specify a RocksDB back end with a different directory. Start the server with the command rippled --import. When the import finishes gracefully stop the server (`rippled stop`). Please wait for rippled to stop on its own because it can take several minutes for it to shut down after an import. Remove the old database, put the new database into place, remove the [import_db] section, change the [node_db] section to refer to the final location, and restart the server.

The recommended RocksDB configuration is:

 [node_db]
 type=RocksDB
 path=db/hashnode
 open_files=1200
 filter_bits=12
 cache_mb=128
 file_size_mb=8
 file_size_mult=2

Configuring your Node DB

You need to configure the NodeBackEnd that you want the server to use. See above for an example RocksDB configuration.

  • Note: HyperLevelDB and RocksDB are not available on Windows platform.

Version 0.20.1

rippled version 0.20.1 has been released. This release is currently the tip of the develop branch and the tag is 0.20.1.

This is a critical release. All partners should update immediately.

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

commit 95a573b755219d7e1e078d53b8e11a8f0d7cade1
Author: Vinnie Falco <vinnie.falco@gmail.com>
Date:   Wed Jan 8 17:08:27 2014 -0800

   Set version to 0.20.1

Major Partner Issues Fixed

  • rippled will crash randomly.
    • Entries in the three parts of the order book are missing or do not match. In such a case, rippled will crash.
  • Server loses sync randomly.
    • This is due to rippled restarting after it crashes. That the server restarted is not obvious and appears to be something else.
  • Server goes 'offline' randomly.
    • This is due to rippled restarting after it crashes. That the server restarted is not obvious and appears to be something else.
  • complete_ledgers part of server_info output says "None".
    • This is due to rippled restarting and reconstructing the ledger after it crashes.
    • If the node back end is corrupted or has been moved without being renamed in rippled.cfg, this can cause rippled to crash and restart.

Toolchain support

Starting with this release, the minimum supported version of GCC used to compile rippled is v4.8.

Significant Changes

  • Don't log StatsD messages to the console by default.
  • Fixed missing jtACCEPT job limit.
  • Removed dead code to clean up the codebase.
  • Reset liquidity before retrying rippleCalc.
  • Made improvements becuase items in SHAMaps are immutable.
  • Multiple pathfinding bugfixes:
    • Make each path request track whether it needs updating.
    • Improve new request handling, reverse order for processing requests.
    • Break to handle new requests immediately.
    • Make mPathFindThread an integer rather than a bool. Allow two threads.
    • Suspend processing requests if server is backed up.
    • Multiple performance improvements and enhancements.
    • Fixed locking.
  • Refactored codebase to make it C++11 compliant.
  • Multiple fixes to ledger acquisition, cleanup, and logging.
  • Made multiple improvements to WebSockets server.
  • Added Debian-style initscript (doc/rippled.init).
  • Updated default config file (doc/rippled-example.cfg) to reflect best practices.
  • Made changes to SHAMapTreeNode and visitLeavesInternal to conserve memory.
  • Implemented new fee schedule:
    • Transaction fee: 10 drops
    • Base reserve: 20 XRP
    • Incremental reserve: 5 XRP
  • Fixed bug #211 (getTxsAccountB in NetworkOPs).
  • Fixed a store/fetch race condition in ther node back end.
  • Fixed multiple comparison operations.
  • Removed Sophia and Lightning databases.

Notice

If you are upgrading from version 0.12 or earlier of rippled, these next sections apply to you because the format of the rippled.cfg file changed around that time. If you have upgraded since that time and you have applied the configuration file fixes, you can safely ignore them.

Validators

Ripple Labs is now running five validators. You can use this template for your validators.txt file (or place this in your config file):

[validators]
n9KPnVLn7ewVzHvn218DcEYsnWLzKerTDwhpofhk4Ym1RUq4TeGw    RIP1
n9LFzWuhKNvXStHAuemfRKFVECLApowncMAM5chSCL9R5ECHGN4V    RIP2
n94rSdgTyBNGvYg8pZXGuNt59Y5bGAZGxbxyvjDaqD9ceRAgD85P    RIP3
n9LeQeDcLDMZKjx1TZtrXoLBLo5q1bR1sUQrWG7tEADFU6R27UBp    RIP4
n9KF6RpvktjNs2MDBkmxpJbup4BKrKeMKDXPhaXkq7cKTwLmWkFr    RIP5

You should also raise your quorum to at least three by putting the following in your rippled.cfg file:

[validation_quorum]
3

If you are a validator, you should set your quorum to at least four.

IPs

A list of Ripple Labs server IP addresses can be found by resolving r.ripple.com. You can also add this to your rippled.cfg file to ensure you always have several peer connections to Ripple Labs servers:

[ips]
54.225.112.220 51235
54.225.123.13  51235
54.227.239.106 51235
107.21.251.218 51235
184.73.226.101 51235
23.23.201.55   51235

New RocksDB back end

RocksDB is based on LevelDB with improvements from Facebook and the community. Preliminary tests show that it stalls less often than HyperLevelDB for our use cases.

If you are switching over from an existing back end, you have two options. You can remove your old database and let rippled recreate it as it re-syncs, or you can import your old database into the new one.

To remove your old database, make sure the server is shut down (rippled stop). Remove the db/ledger.db and db/transaction.db files. Remove all the files in your back end store directory (db/hashnode by default). Then change your configuration file to use the RocksDB back end and restart.

To import your old database, start by shutting the server down. Then modify the configuration file by renaming your [node_db] stanza to [import_db]. Create a new [node_db] stanza and specify a RocksDB back end with a different directory. Start the server with the command rippled --import. When the import finishes gracefully stop the server (rippled stop). Please wait for rippled to stop on its own because it can take several minutes for it to shut down after an import. Remove the old database, put the new database into place, remove the [import_db] section, change the [node_db] section to refer to the final location, and restart the server.

The recommended RocksDB configuration is:

[node_db]
type=RocksDB
path=db/hashnode
open_files=1200
filter_bits=12
cache_mb=256
file_size_mb=8
file_size_mult=2

Configuring your Node DB

You need to configure the NodeBackEnd that you want the server to use. See above for an example RocksDB configuration.

  • Note: HyperLevelDB and RocksDB are not available on Windows platform.

Version 0.19

rippled version 0.19 has now been released. This release is currently the tip of the release branch and the tag is 0.19.0.

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

commit 26783607157a8b96e6e754f71565f4eb0134efc1
Author: Vinnie Falco <vinnie.falco@gmail.com>
Date:   Fri Nov 22 23:36:50 2013 -0800

    Set version to 0.19.0

Significant Changes

  • Bugfixes and improvements in path finding, path filtering, and payment execution.
  • Updates to HyperLevelDB and LevelDB node storage back ends.
  • Addition of RocksDB node storage back end.
  • New resource manager for tracking server load.
  • Fixes for a few bugs that can crashes or inability to serve client requests.

Validators

Ripple Labs is now running five validators. You can use this template for your validators.txt file (or place this in your config file):

[validators]
n9KPnVLn7ewVzHvn218DcEYsnWLzKerTDwhpofhk4Ym1RUq4TeGw    RIP1
n9LFzWuhKNvXStHAuemfRKFVECLApowncMAM5chSCL9R5ECHGN4V    RIP2
n94rSdgTyBNGvYg8pZXGuNt59Y5bGAZGxbxyvjDaqD9ceRAgD85P    RIP3
n9LeQeDcLDMZKjx1TZtrXoLBLo5q1bR1sUQrWG7tEADFU6R27UBp    RIP4
n9KF6RpvktjNs2MDBkmxpJbup4BKrKeMKDXPhaXkq7cKTwLmWkFr    RIP5

You should also raise your quorum to at least three by putting the following in your rippled.cfg file:

[validation_quorum]
3

If you are a validator, you should set your quorum to at least four.

IPs

A list of Ripple Labs server IP addresses can be found by resolving r.ripple.com. You can also add this to your rippled.cfg file to ensure you always have several peer connections to Ripple Labs servers:

[ips]
54.225.112.220 51235
54.225.123.13  51235
54.227.239.106 51235
107.21.251.218 51235
184.73.226.101 51235
23.23.201.55   51235

New RocksDB back end

RocksDB is based on LevelDB with improvements from Facebook and the community. Preliminary tests show that it stall less often than HyperLevelDB.

If you are switching over from an existing back end, you have two choices. You can remove your old database or you can import it.

To remove your old database, make sure the server is shutdown. Remove the db/ledger.db and db/transaction.db files. Remove all the files in your back end store directory, db/hashnode by default. Then you can change your configuration file to use the RocksDB back end and restart.

To import your old database, start by shutting the server down. Then modify the configuration file by renaming your [node_db] portion to [import_db]. Create a new [node_db] section specify a RocksDB back end and a different directory. Start the server with rippled --import. When the import finishes, stop the server (it can take several minutes to shut down after an import), remove the old database, put the new database into place, remove the [import_db] section, change the [node_db] section to refer to the final location, and restart the server.

The recommended RocksDB configuration is:

[node_db]
type=RocksDB
path=db/hashnode
open_files=1200
filter_bits=12
cache_mb=256
file_size_mb=8
file_size_mult=2

Configuring your Node DB

You need to configure the NodeBackEnd that you want the server to use. See above for an example RocksDB configuration.

  • Note: HyperLevelDB and RocksDB are not available on Windows platform.

Version 0.16

rippled version 0.16 has now been released. This release is currently the tip of the master branch and the tag is v0.16.0.

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

commit 15ef43505473225af21bb7b575fb0b628d5e7f73
Author: vinniefalco
Date:   Wed Oct 2 2013

   Set version to 0.16.0

Significant Changes

  • Improved peer discovery
  • Improved pathfinding
  • Ledger speed improvements
  • Reduced memory consumption
  • Improved server stability
  • rippled no longer throws and exception on exiting
  • Better error reporting
  • Ripple-lib tests have been ported to use the Mocha testing framework

Validators

Ripple Labs is now running five validators. You can use this template for your validators.txt file:

[validators]
n9KPnVLn7ewVzHvn218DcEYsnWLzKerTDwhpofhk4Ym1RUq4TeGw    RIP1
n9LFzWuhKNvXStHAuemfRKFVECLApowncMAM5chSCL9R5ECHGN4V    RIP2
n94rSdgTyBNGvYg8pZXGuNt59Y5bGAZGxbxyvjDaqD9ceRAgD85P    RIP3
n9LeQeDcLDMZKjx1TZtrXoLBLo5q1bR1sUQrWG7tEADFU6R27UBp    RIP4
n9KF6RpvktjNs2MDBkmxpJbup4BKrKeMKDXPhaXkq7cKTwLmWkFr    RIP5

You should also raise your quorum to at least three by putting the following in your rippled.cfg file:

[validation_quorum]
3

If you are a validator, you should set your quorum to at least four.

IPs

A list of Ripple Labs server IP addresses can be found by resolving r.ripple.com. You can also add this to your rippled.cfg file to ensure you always have several peer connections to Ripple Labs servers:

[ips]
54.225.112.220 51235
54.225.123.13  51235
54.227.239.106 51235
107.21.251.218 51235
184.73.226.101 51235
23.23.201.55   51235

Node DB

You need to configure the NodeBackEnd that you want the server to use. In most cases, that will mean adding this to your configuration file:

[node_db]
type=HyperLevelDB
path=db/hashnode
  • NOTE HyperLevelDB is not available on Windows platforms.

Release Candidates

Issues

None known


Version 0.14

rippled version 0.14 has now been released. This release is currently the tip of the master branch and the tag is v0.12.0.

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

commit b6d11c08d0245ee9bafbb97143f5d685dd2979fc
Author: vinniefalco
Date:   Wed Oct 2 2013

   Set version to 0.14.0

Significant Changes

  • Improved peer discovery
  • Improved pathfinding
  • Ledger speed improvements
  • Reduced memory consumption
  • Improved server stability
  • rippled no longer throws and exception on exiting
  • Better error reporting
  • Ripple-lib tests have been ported to use the Mocha testing framework

Validators

Ripple Labs is now running five validators. You can use this template for your validators.txt file:

[validators]
n9KPnVLn7ewVzHvn218DcEYsnWLzKerTDwhpofhk4Ym1RUq4TeGw    RIP1
n9LFzWuhKNvXStHAuemfRKFVECLApowncMAM5chSCL9R5ECHGN4V    RIP2
n94rSdgTyBNGvYg8pZXGuNt59Y5bGAZGxbxyvjDaqD9ceRAgD85P    RIP3
n9LeQeDcLDMZKjx1TZtrXoLBLo5q1bR1sUQrWG7tEADFU6R27UBp    RIP4
n9KF6RpvktjNs2MDBkmxpJbup4BKrKeMKDXPhaXkq7cKTwLmWkFr    RIP5

You should also raise your quorum to at least three by putting the following in your rippled.cfg file:

[validation_quorum]
3

If you are a validator, you should set your quorum to at least four.

IPs

A list of Ripple Labs server IP addresses can be found by resolving r.ripple.com. You can also add this to your rippled.cfg file to ensure you always have several peer connections to Ripple Labs servers:

[ips]
54.225.112.220 51235
54.225.123.13  51235
54.227.239.106 51235
107.21.251.218 51235
184.73.226.101 51235
23.23.201.55   51235

Node DB

You need to configure the NodeBackEnd that you want the server to use. In most cases, that will mean adding this to your configuration file:

[node_db]
type=HyperLevelDB
path=db/hashnode
  • NOTE HyperLevelDB is not available on Windows platforms.

Release Candidates

Issues

None known


Version 0.12

rippled version 0.12 has now been released. This release is currently the tip of the master branch and can be found on GitHub. The tag is v0.12.0.

Prior to building, please confirm you have the correct source tree with the git log command. The first log entry should be the change setting the version:

commit d0a9da6f16f4083993e4b6c5728777ffebf80f3a
Author: JoelKatz <DavidJoelSchwartz@GMail.com>
Date:   Mon Aug 26 12:08:05 2013 -0700

    Set version to v0.12.0

Major Partner Issues Fixed

  • Server Showing "Offline"

This issue was caused by LevelDB periodically compacting its internal data structure. While compacting, rippled's processing would stall causing the node to lose sync with the rest of the network. This issue was solved by switching from LevelDB to HyperLevelDB. rippled operators will need to change their ripple.cfg file. See below for configuration details.

  • Premature Validation of Transactions

On rare occasions, a transaction would show as locally validated before the full network consensus was confirmed. This issue was resolved by changing the way transactions are saved.

  • Missing Ledgers

Occasionally, some rippled servers would fail to fetch all ledgers. This left gaps in the local history and caused some API calls to report incomplete results. The ledger fetch code was rewritten to both prevent this and to repair any existing gaps.

Significant Changes

  • The way transactions are saved has been changed. This fixes a number of ways transactions can incorrectly be reported as fully-validated.
  • doTransactionEntry now works against open ledgers.
  • doLedgerEntry now supports a binary option.
  • A bug in getBookPage that caused it to skip offers is fixed.
  • getNodeFat now returns deeper chains, reducing ledger acquire latency.
  • Catching up if the (published ledger stream falls behind the network) is now more aggressive.
  • I/O stalls are drastically reduced by using the HyperLevelDB node back end.
  • Persistent ledger gaps should no longer occur.
  • Clusters now exchange load information.

Validators

Ripple Labs is now running five validators. You can use this template for your validators.txt file:

[validators]
n9KPnVLn7ewVzHvn218DcEYsnWLzKerTDwhpofhk4Ym1RUq4TeGw    RIP1
n9LFzWuhKNvXStHAuemfRKFVECLApowncMAM5chSCL9R5ECHGN4V    RIP2
n94rSdgTyBNGvYg8pZXGuNt59Y5bGAZGxbxyvjDaqD9ceRAgD85P    RIP3
n9LeQeDcLDMZKjx1TZtrXoLBLo5q1bR1sUQrWG7tEADFU6R27UBp    RIP4
n9KF6RpvktjNs2MDBkmxpJbup4BKrKeMKDXPhaXkq7cKTwLmWkFr    RIP5

Update April 2014 - Due to a vulnerability in OpenSSL the validator keys above have been cycled out, the five validators by RippleLabs use the following keys now:

[validators]
n949f75evCHwgyP4fPVgaHqNHxUVN15PsJEZ3B3HnXPcPjcZAoy7     RL1
n9MD5h24qrQqiyBC8aeqqCWvpiBiYQ3jxSr91uiDvmrkyHRdYLUj     RL2
n9L81uNCaPgtUJfaHh89gmdvXKAmSt5Gdsw2g1iPWaPkAHW5Nm4C     RL3
n9KiYM9CgngLvtRCQHZwgC2gjpdaZcCcbt3VboxiNFcKuwFVujzS     RL4
n9LdgEtkmGB9E2h3K4Vp7iGUaKuq23Zr32ehxiU8FWY7xoxbWTSA     RL5

You should also raise your quorum to at least three by putting the following in your rippled.cfg file:

[validation_quorum]
3

If you are a validator, you should set your quorum to at least four.

IPs

A list of Ripple Labs server IP addresses can be found by resolving r.ripple.com. You can also add this to your rippled.cfg file to ensure you always have several peer connections to Ripple Labs servers:

[ips]
54.225.112.220 51235
54.225.123.13  51235
54.227.239.106 51235
107.21.251.218 51235
184.73.226.101 51235
23.23.201.55   51235

Node DB

You need to configure the NodeBackEnd that you want the server to use. In most cases, that will mean adding this to your configuration file:

[node_db]
type=HyperLevelDB
path=db/hashnode
  • NOTE HyperLevelDB is not available on Windows platforms.

Release Candidates

RC1 was the first release candidate.

RC2 fixed a bug that could cause ledger acquires to stall.

RC3 fixed compilation under OSX.

RC4 includes performance improvements in countAccountTx and numerous small fixes to ledger acquisition.

RC5 changed the peer low water mark from 4 to 10 to acquire more server connections.

RC6 fixed some possible load issues with the network state timer and cluster reporting timers.

Issues

Fetching of historical ledgers is slower in this build than in previous builds. This is being investigated.