|
|
|
|
@@ -265,36 +265,21 @@ static const uint64 tenTo17m1 = tenTo17 - 1;
|
|
|
|
|
|
|
|
|
|
#if ! defined (RIPPLE_MAIN_PART) || RIPPLE_MAIN_PART == 1
|
|
|
|
|
|
|
|
|
|
#include "src/cpp/ripple/RPCHandler.cpp"
|
|
|
|
|
#include "src/cpp/ripple/Ledger.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_SHAMap.cpp" // Uses theApp
|
|
|
|
|
#include "src/cpp/ripple/ripple_SHAMapDelta.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_SHAMapItem.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_SHAMapNode.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_SHAMapSync.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_SHAMapTreeNode.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_SHAMapMissingNode.cpp"
|
|
|
|
|
|
|
|
|
|
#include "src/cpp/ripple/ripple_Database.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_AccountItem.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_AccountItems.cpp"
|
|
|
|
|
#include "src/cpp/ripple/AccountSetTransactor.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_AccountState.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_CanonicalTXSet.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ChangeTransactor.cpp"
|
|
|
|
|
#include "src/cpp/ripple/Contract.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_DBInit.cpp"
|
|
|
|
|
#include "src/cpp/ripple/HTTPRequest.cpp"
|
|
|
|
|
#include "src/cpp/ripple/Interpreter.cpp"
|
|
|
|
|
#include "src/cpp/ripple/LedgerProposal.cpp"
|
|
|
|
|
#include "src/cpp/ripple/LedgerTiming.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_LoadManager.cpp"
|
|
|
|
|
#include "src/cpp/ripple/main.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_NicknameState.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_Offer.cpp"
|
|
|
|
|
#include "src/cpp/ripple/OfferCancelTransactor.cpp"
|
|
|
|
|
#include "src/cpp/ripple/Operation.cpp"
|
|
|
|
|
#include "src/cpp/ripple/OrderBookDB.cpp"
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
@@ -302,6 +287,29 @@ static const uint64 tenTo17m1 = tenTo17 - 1;
|
|
|
|
|
|
|
|
|
|
#if ! defined (RIPPLE_MAIN_PART) || RIPPLE_MAIN_PART == 2
|
|
|
|
|
|
|
|
|
|
#include "src/cpp/ripple/RPCHandler.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_SHAMap.cpp" // Uses theApp
|
|
|
|
|
#include "src/cpp/ripple/ripple_SHAMapItem.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_SHAMapSync.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_SHAMapMissingNode.cpp"
|
|
|
|
|
|
|
|
|
|
#include "src/cpp/ripple/ripple_AccountItem.cpp"
|
|
|
|
|
#include "src/cpp/ripple/AccountSetTransactor.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_CanonicalTXSet.cpp"
|
|
|
|
|
#include "src/cpp/ripple/Contract.cpp"
|
|
|
|
|
#include "src/cpp/ripple/HTTPRequest.cpp"
|
|
|
|
|
#include "src/cpp/ripple/LedgerProposal.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_LoadManager.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_NicknameState.cpp"
|
|
|
|
|
#include "src/cpp/ripple/OfferCancelTransactor.cpp"
|
|
|
|
|
#include "src/cpp/ripple/OrderBookDB.cpp"
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
#if ! defined (RIPPLE_MAIN_PART) || RIPPLE_MAIN_PART == 3
|
|
|
|
|
|
|
|
|
|
// This is for PeerDoor and WSDoor
|
|
|
|
|
// Generate DH for SSL connection.
|
|
|
|
|
static DH* handleTmpDh (SSL* ssl, int is_export, int iKeyLength)
|
|
|
|
|
@@ -311,61 +319,22 @@ static DH* handleTmpDh (SSL* ssl, int is_export, int iKeyLength)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#include "src/cpp/ripple/ripple_RippleCalc.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_UniqueNodeList.cpp"
|
|
|
|
|
#include "src/cpp/ripple/CallRPC.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_InboundLedger.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_PathState.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_SqliteDatabase.cpp"
|
|
|
|
|
|
|
|
|
|
#include "src/cpp/ripple/ParameterTable.cpp"
|
|
|
|
|
#include "src/cpp/ripple/PaymentTransactor.cpp"
|
|
|
|
|
#include "src/cpp/ripple/PeerDoor.cpp"
|
|
|
|
|
#include "src/cpp/ripple/RegularKeySetTransactor.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_RippleLineCache.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_RippleState.cpp"
|
|
|
|
|
#include "src/cpp/ripple/rpc.cpp"
|
|
|
|
|
#include "src/cpp/ripple/RPCDoor.cpp"
|
|
|
|
|
#include "src/cpp/ripple/RPCErr.cpp"
|
|
|
|
|
#include "src/cpp/ripple/RPCServer.cpp"
|
|
|
|
|
#include "src/cpp/ripple/RPCSub.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ScriptData.cpp"
|
|
|
|
|
#include "src/cpp/ripple/SerializedValidation.cpp"
|
|
|
|
|
#include "src/cpp/ripple/SNTPClient.cpp"
|
|
|
|
|
#include "src/cpp/ripple/Transaction.cpp"
|
|
|
|
|
#include "src/cpp/ripple/TransactionCheck.cpp"
|
|
|
|
|
#include "src/cpp/ripple/TransactionEngine.cpp"
|
|
|
|
|
#include "src/cpp/ripple/TransactionMaster.cpp"
|
|
|
|
|
#include "src/cpp/ripple/TransactionMeta.cpp"
|
|
|
|
|
#include "src/cpp/ripple/TransactionQueue.cpp"
|
|
|
|
|
#include "src/cpp/ripple/Transactor.cpp"
|
|
|
|
|
#include "src/cpp/ripple/TrustSetTransactor.cpp"
|
|
|
|
|
#include "src/cpp/ripple/WSConnection.cpp"
|
|
|
|
|
#include "src/cpp/ripple/WSDoor.cpp"
|
|
|
|
|
#include "src/cpp/ripple/WSHandler.cpp"
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
#if ! defined (RIPPLE_MAIN_PART) || RIPPLE_MAIN_PART == 3
|
|
|
|
|
|
|
|
|
|
#include "src/cpp/ripple/ripple_Peer.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_LedgerEntrySet.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_Application.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_Pathfinder.cpp"
|
|
|
|
|
#include "src/cpp/ripple/OfferCreateTransactor.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_Features.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_Validations.cpp"
|
|
|
|
|
|
|
|
|
|
#include "src/cpp/ripple/ripple_LocalCredentials.cpp"
|
|
|
|
|
#include "src/cpp/ripple/WalletAddTransactor.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_HashedObject.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_AcceptedLedgerTx.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_AcceptedLedger.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_DatabaseCon.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_DisputedTx.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_FeeVote.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_HashRouter.cpp"
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
@@ -373,24 +342,95 @@ static DH* handleTmpDh (SSL* ssl, int is_export, int iKeyLength)
|
|
|
|
|
|
|
|
|
|
#if ! defined (RIPPLE_MAIN_PART) || RIPPLE_MAIN_PART == 4
|
|
|
|
|
|
|
|
|
|
// This is for PeerDoor and WSDoor
|
|
|
|
|
// Generate DH for SSL connection.
|
|
|
|
|
static DH* handleTmpDh (SSL* ssl, int is_export, int iKeyLength)
|
|
|
|
|
{
|
|
|
|
|
// VFALCO TODO eliminate this horrendous dependency on theApp and LocalCredentials
|
|
|
|
|
return 512 == iKeyLength ? theApp->getLocalCredentials ().getDh512 () : theApp->getLocalCredentials ().getDh1024 ();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#include "src/cpp/ripple/ripple_UniqueNodeList.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_InboundLedger.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_SqliteDatabase.cpp"
|
|
|
|
|
|
|
|
|
|
#include "src/cpp/ripple/PaymentTransactor.cpp"
|
|
|
|
|
#include "src/cpp/ripple/RegularKeySetTransactor.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_RippleState.cpp"
|
|
|
|
|
#include "src/cpp/ripple/RPCDoor.cpp"
|
|
|
|
|
#include "src/cpp/ripple/RPCServer.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ScriptData.cpp"
|
|
|
|
|
#include "src/cpp/ripple/SNTPClient.cpp"
|
|
|
|
|
#include "src/cpp/ripple/TransactionCheck.cpp"
|
|
|
|
|
#include "src/cpp/ripple/TransactionMaster.cpp"
|
|
|
|
|
#include "src/cpp/ripple/TransactionQueue.cpp"
|
|
|
|
|
#include "src/cpp/ripple/TrustSetTransactor.cpp"
|
|
|
|
|
#include "src/cpp/ripple/WSHandler.cpp"
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
#if ! defined (RIPPLE_MAIN_PART) || RIPPLE_MAIN_PART == 5
|
|
|
|
|
|
|
|
|
|
#include "src/cpp/ripple/ripple_Peer.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_Application.cpp"
|
|
|
|
|
#include "src/cpp/ripple/OfferCreateTransactor.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_Validations.cpp"
|
|
|
|
|
|
|
|
|
|
#include "src/cpp/ripple/WalletAddTransactor.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_AcceptedLedgerTx.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_DatabaseCon.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_FeeVote.cpp"
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
#if ! defined (RIPPLE_MAIN_PART) || RIPPLE_MAIN_PART == 6
|
|
|
|
|
|
|
|
|
|
#include "src/cpp/ripple/ripple_LedgerEntrySet.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_Pathfinder.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_Features.cpp"
|
|
|
|
|
|
|
|
|
|
#include "src/cpp/ripple/ripple_LocalCredentials.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_HashedObject.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_AcceptedLedger.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_DisputedTx.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_HashRouter.cpp"
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
#if ! defined (RIPPLE_MAIN_PART) || RIPPLE_MAIN_PART == 7
|
|
|
|
|
|
|
|
|
|
#include "src/cpp/ripple/NetworkOPs.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_LedgerConsensus.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_Peers.cpp"
|
|
|
|
|
#include "src/cpp/ripple/LedgerMaster.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_HashedObjectStore.cpp"
|
|
|
|
|
#include "src/cpp/ripple/HttpsClient.cpp"
|
|
|
|
|
|
|
|
|
|
#include "src/cpp/ripple/ripple_InboundLedgers.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_InfoSub.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_LedgerHistory.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_OrderBook.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_PathRequest.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_SerializedLedger.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_TransactionAcquire.cpp"
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
#if ! defined (RIPPLE_MAIN_PART) || RIPPLE_MAIN_PART == 8
|
|
|
|
|
|
|
|
|
|
#include "src/cpp/ripple/ripple_LedgerConsensus.cpp"
|
|
|
|
|
#include "src/cpp/ripple/LedgerMaster.cpp"
|
|
|
|
|
#include "src/cpp/ripple/HttpsClient.cpp"
|
|
|
|
|
|
|
|
|
|
#include "src/cpp/ripple/ripple_InfoSub.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_OrderBook.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_PeerSet.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_ProofOfWork.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_ProofOfWorkFactory.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_SerializedLedger.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_ProofOfWorkFactory.cpp" // requires ProofOfWork.cpp for ProofOfWork::sMaxDifficulty
|
|
|
|
|
#include "src/cpp/ripple/ripple_SerializedTransaction.cpp"
|
|
|
|
|
#include "src/cpp/ripple/ripple_TransactionAcquire.cpp"
|
|
|
|
|
|
|
|
|
|
#include "src/cpp/ripple/ripple_SHAMapSyncFilters.cpp" // requires Application
|
|
|
|
|
|
|
|
|
|
|