Scott Schurr 9d4500cf69 Prevent low-likelihood crash on shutdown (RIPD-1392):
The DatabaseImp has threads that asynchronously call JobQueue to
perform database reads.  Formerly these threads had the same
lifespan as Database, which was until the end-of-life of
ApplicationImp.  During shutdown these threads could call JobQueue
after JobQueue had already stopped.  Or, even worse, occasionally
call JobQueue after JobQueue's destructor had run.

To avoid these shutdown conditions, Database is made a Stoppable,
with JobQueue as its parent.  When Database stops, it shuts down
its asynchronous read threads.  This prevents Database from
accessing JobQueue after JobQueue has stopped, but allows
Database to perform stores for the remainder of shutdown.

During development it was noted that the Database::close()
method was never called.  So that method is removed from Database
and all derived classes.

Stoppable is also adjusted so it can be constructed using either
a char const* or a std::string.

For those files touched for other reasons, unneeded #includes
are removed.
2017-03-20 18:08:49 -07:00
2017-03-01 13:18:30 -05:00
2017-03-20 14:56:40 -07:00
2017-03-01 11:41:07 -05:00
2016-05-24 12:36:38 -04:00
2014-05-13 12:15:59 -07:00
2016-10-17 15:18:40 -04:00
2017-03-01 13:18:30 -05:00
2017-03-01 13:18:30 -05:00
2016-10-17 15:18:40 -04:00
2014-04-28 14:54:15 -07:00
2017-01-13 15:01:20 -08:00
2017-03-16 14:04:39 -07:00

Ripple

What is Ripple?

Ripple is a network of computers which use the [Ripple consensus algorithm] (https://www.youtube.com/watch?v=pj1QVb1vlC0) to atomically settle and record transactions on a secure distributed database, the Ripple Consensus Ledger (RCL). Because of its distributed nature, the RCL offers transaction immutability without a central operator. The RCL contains a built-in currency exchange and its path-finding algorithm finds competitive exchange rates across order books and currency pairs.

Key Features

  • Distributed
    • Direct account-to-account settlement with no central operator
    • Decentralized global market for competitive FX
  • Secure
    • Transactions are cryptographically signed using ECDSA or Ed25519
    • Multi-signing capabilities
  • Scalable
    • Capacity to process the worlds cross-border payments volume
    • Easy access to liquidity through a competitive FX marketplace

Cross-border payments

Ripple enables banks to settle cross-border payments in real-time, with end-to-end transparency, and at lower costs. Banks can provide liquidity for FX themselves or source it from third parties.

As Ripple adoption grows, so do the number of currencies and counterparties. Liquidity providers need to maintain accounts with each counterparty for each currency a capital- and time-intensive endeavor that spreads liquidity thin. Further, some transactions, such as exotic currency trades, will require multiple trading parties, who each layer costs to the transaction. Thin liquidity and many intermediary trading parties make competitive pricing challenging.

Flow - Direct

XRP as a Bridge Currency

Ripple can bridge even exotic currency pairs directly through XRP. Similar to USD in todays currency market, XRP allows liquidity providers to focus on offering competitive FX rates on fewer pairs and adding depth to order books. Unlike USD, trading through XRP does not require bank accounts, service fees, counterparty risk, or additional operational costs. By using XRP, liquidity providers can specialize in certain currency corridors, reduce operational costs, and ultimately, offer more competitive FX pricing.

Flow - Bridged over XRP

rippled - Ripple server

rippled is 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/

travis-ci.org: Build Status codecov.io: Code Coverage

License

rippled is open source and permissively licensed under the ISC license. See the LICENSE file for more details.

Repository Contents

Folder Contents
./bin Scripts and data files for Ripple integrators.
./build Intermediate and final build outputs.
./Builds Platform or IDE-specific project files.
./doc Documentation and example configuration files.
./src Source code.

Some of the directories under src are external repositories inlined via git-subtree. See the corresponding README for more details.

##For more information:

To learn about how Ripple is transforming global payments visit https://ripple.com/contact/


Copyright © 2015, Ripple Labs. All rights reserved.

Portions of this document, including but not limited to the Ripple logo, images and image templates are the property of Ripple Labs and cannot be copied or used without permission.

Description
Decentralized cryptocurrency blockchain daemon implementing the XRP Ledger protocol in C++
Readme 2.1 GiB
Languages
C++ 99.4%
CMake 0.5%