mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Autobridging uses XRP as a natural bridge currency to allow IOU-to-IOU orders to be satisfied not only from the direct IOU-to-IOU books but also over the combined IOU-to-XRP and XRP-to-IOU books. This commit addresses the following issues: * RIPD-486: Refactoring the taker into a unit-testable architecture * RIPD-659: Asset-aware offer crossing * RIPD-491: Unit tests for IOU to XRP, XRP to IOU and IOU to IOU * RIPD-441: Handle case when autobridging over same owner offers * RIPD-665: Handle case when autobridging over own offers * RIPD-273: Groom order books while crossing
34 lines
1.6 KiB
C++
34 lines
1.6 KiB
C++
//------------------------------------------------------------------------------
|
|
/*
|
|
This file is part of rippled: https://github.com/ripple/rippled
|
|
Copyright (c) 2012, 2013 Ripple Labs Inc.
|
|
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
purpose with or without fee is hereby granted, provided that the above
|
|
copyright notice and this permission notice appear in all copies.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
//==============================================================================
|
|
|
|
#include <BeastConfig.h>
|
|
|
|
#include <ripple/app/book/tests/OfferStream.test.cpp>
|
|
#include <ripple/app/book/tests/Quality.test.cpp>
|
|
#include <ripple/app/book/tests/Taker.test.cpp>
|
|
#include <ripple/app/ledger/InboundLedger.cpp>
|
|
#include <ripple/app/paths/RippleState.cpp>
|
|
#include <ripple/app/peers/UniqueNodeList.cpp>
|
|
#include <ripple/app/transactors/Transactor.h>
|
|
#include <ripple/app/tx/TransactionCheck.cpp>
|
|
#include <ripple/app/tx/TransactionMaster.cpp>
|
|
#include <ripple/app/tx/Transaction.cpp>
|
|
#include <ripple/app/tx/TransactionEngine.cpp>
|
|
#include <ripple/app/tx/TransactionMeta.cpp>
|