diff --git a/src/ripple/beast/ripple_beastc.c b/src/ripple/beast/ripple_beastc.c index c57fbe8dc9..8259e43b4b 100644 --- a/src/ripple/beast/ripple_beastc.c +++ b/src/ripple/beast/ripple_beastc.c @@ -17,7 +17,6 @@ */ //============================================================================== - /* This file includes all of the C-language beast sources needed to link. By including them here, we avoid having to muck with the SConstruct Makefile, Project file, or whatever. diff --git a/src/ripple/beast/ripple_beastobjc.mm b/src/ripple/beast/ripple_beastobjc.mm index ec83788a80..09bda5866a 100644 --- a/src/ripple/beast/ripple_beastobjc.mm +++ b/src/ripple/beast/ripple_beastobjc.mm @@ -17,5 +17,4 @@ */ //============================================================================== - #include "ripple_beast.cpp" diff --git a/src/ripple/http/impl/Port.cpp b/src/ripple/http/impl/Port.cpp index 177803b992..235d254995 100644 --- a/src/ripple/http/impl/Port.cpp +++ b/src/ripple/http/impl/Port.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace ripple { namespace HTTP { diff --git a/src/ripple/http/impl/ScopedStream.cpp b/src/ripple/http/impl/ScopedStream.cpp index e1f9a59b90..6fe9079537 100644 --- a/src/ripple/http/impl/ScopedStream.cpp +++ b/src/ripple/http/impl/ScopedStream.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace ripple { namespace HTTP { diff --git a/src/ripple/http/impl/Server.cpp b/src/ripple/http/impl/Server.cpp index 0d822c7869..8da0ac95a0 100644 --- a/src/ripple/http/impl/Server.cpp +++ b/src/ripple/http/impl/Server.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace ripple { namespace HTTP { diff --git a/src/ripple/http/impl/ServerImpl.cpp b/src/ripple/http/impl/ServerImpl.cpp index 346a0edc39..c7a451d647 100644 --- a/src/ripple/http/impl/ServerImpl.cpp +++ b/src/ripple/http/impl/ServerImpl.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace ripple { namespace HTTP { diff --git a/src/ripple/http/ripple_http.cpp b/src/ripple/http/ripple_http.cpp index d4d683d555..163867ad50 100644 --- a/src/ripple/http/ripple_http.cpp +++ b/src/ripple/http/ripple_http.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - #include "BeastConfig.h" #include "ripple_http.h" diff --git a/src/ripple/json/impl/json_internalarray.inl b/src/ripple/json/impl/json_internalarray.inl index 1c7952babd..21625c43b5 100644 --- a/src/ripple/json/impl/json_internalarray.inl +++ b/src/ripple/json/impl/json_internalarray.inl @@ -17,7 +17,6 @@ */ //============================================================================== - // included by json_value.cpp // everything is within Json namespace diff --git a/src/ripple/json/impl/json_internalmap.inl b/src/ripple/json/impl/json_internalmap.inl index e72797e821..31f66688d0 100644 --- a/src/ripple/json/impl/json_internalmap.inl +++ b/src/ripple/json/impl/json_internalmap.inl @@ -17,7 +17,6 @@ */ //============================================================================== - // included by json_value.cpp // everything is within Json namespace diff --git a/src/ripple/json/impl/json_reader.cpp b/src/ripple/json/impl/json_reader.cpp index 6836667343..58092239ea 100644 --- a/src/ripple/json/impl/json_reader.cpp +++ b/src/ripple/json/impl/json_reader.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace Json { diff --git a/src/ripple/json/impl/json_value.cpp b/src/ripple/json/impl/json_value.cpp index 8466940d9d..a71f5496bd 100644 --- a/src/ripple/json/impl/json_value.cpp +++ b/src/ripple/json/impl/json_value.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace Json { diff --git a/src/ripple/json/impl/json_valueiterator.inl b/src/ripple/json/impl/json_valueiterator.inl index 70b4a4701d..c26562ea13 100644 --- a/src/ripple/json/impl/json_valueiterator.inl +++ b/src/ripple/json/impl/json_valueiterator.inl @@ -17,7 +17,6 @@ */ //============================================================================== - // included by json_value.cpp // everything is within Json namespace diff --git a/src/ripple/json/impl/json_writer.cpp b/src/ripple/json/impl/json_writer.cpp index b93484bf77..2dca4aceac 100644 --- a/src/ripple/json/impl/json_writer.cpp +++ b/src/ripple/json/impl/json_writer.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace Json { diff --git a/src/ripple/rpc/impl/Handler.cpp b/src/ripple/rpc/impl/Handler.cpp index 1a8afa9bb2..e612a6aaaf 100644 --- a/src/ripple/rpc/impl/Handler.cpp +++ b/src/ripple/rpc/impl/Handler.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace ripple { namespace RPC { diff --git a/src/ripple/rpc/impl/Manager.cpp b/src/ripple/rpc/impl/Manager.cpp index 5e6e36f73a..c0a16846c5 100644 --- a/src/ripple/rpc/impl/Manager.cpp +++ b/src/ripple/rpc/impl/Manager.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace ripple { namespace RPC { diff --git a/src/ripple/rpc/impl/Service.cpp b/src/ripple/rpc/impl/Service.cpp index 24d7d11c09..08c45ae759 100644 --- a/src/ripple/rpc/impl/Service.cpp +++ b/src/ripple/rpc/impl/Service.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace ripple { namespace RPC { diff --git a/src/ripple/rpc/ripple_rpc.cpp b/src/ripple/rpc/ripple_rpc.cpp index 9e3ed24227..291ac130e2 100644 --- a/src/ripple/rpc/ripple_rpc.cpp +++ b/src/ripple/rpc/ripple_rpc.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - #include "BeastConfig.h" #include "ripple_rpc.h" diff --git a/src/ripple/sophia/ripple_sophia.c b/src/ripple/sophia/ripple_sophia.c index 6419a34b13..e566d064c5 100644 --- a/src/ripple/sophia/ripple_sophia.c +++ b/src/ripple/sophia/ripple_sophia.c @@ -17,7 +17,6 @@ */ //============================================================================== - #include "BeastConfig.h" #include "ripple_sophia.h" diff --git a/src/ripple/sslutil/api/CAutoBN_CTX.h b/src/ripple/sslutil/api/CAutoBN_CTX.h index b1e206fe44..96b9a5caa5 100644 --- a/src/ripple/sslutil/api/CAutoBN_CTX.h +++ b/src/ripple/sslutil/api/CAutoBN_CTX.h @@ -17,7 +17,6 @@ */ //============================================================================== - // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2011 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying diff --git a/src/ripple/sslutil/api/CBigNum.h b/src/ripple/sslutil/api/CBigNum.h index 4db74f6d55..543b5cdc6a 100644 --- a/src/ripple/sslutil/api/CBigNum.h +++ b/src/ripple/sslutil/api/CBigNum.h @@ -17,7 +17,6 @@ */ //============================================================================== - // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2011 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying diff --git a/src/ripple/sslutil/api/bignum_error.h b/src/ripple/sslutil/api/bignum_error.h index cfaede2aa3..35f17f5fa0 100644 --- a/src/ripple/sslutil/api/bignum_error.h +++ b/src/ripple/sslutil/api/bignum_error.h @@ -17,7 +17,6 @@ */ //============================================================================== - // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2011 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying diff --git a/src/ripple/sslutil/impl/CBigNum.cpp b/src/ripple/sslutil/impl/CBigNum.cpp index 41dd1b5c90..ded9cae5df 100644 --- a/src/ripple/sslutil/impl/CBigNum.cpp +++ b/src/ripple/sslutil/impl/CBigNum.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2011 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying diff --git a/src/ripple/sslutil/impl/DHUtil.cpp b/src/ripple/sslutil/impl/DHUtil.cpp index 502a3baf86..6b8aa85a0b 100644 --- a/src/ripple/sslutil/impl/DHUtil.cpp +++ b/src/ripple/sslutil/impl/DHUtil.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace ripple { std::string DH_der_gen (int iKeyLength) diff --git a/src/ripple/sslutil/impl/HashUtilities.cpp b/src/ripple/sslutil/impl/HashUtilities.cpp index fe1cc728a9..26162045a9 100644 --- a/src/ripple/sslutil/impl/HashUtilities.cpp +++ b/src/ripple/sslutil/impl/HashUtilities.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace ripple { uint160 Hash160 (Blob const& vch) diff --git a/src/ripple/sslutil/ripple_sslutil.cpp b/src/ripple/sslutil/ripple_sslutil.cpp index d6424f487c..c510753b80 100644 --- a/src/ripple/sslutil/ripple_sslutil.cpp +++ b/src/ripple/sslutil/ripple_sslutil.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - #include "BeastConfig.h" #include "ripple_sslutil.h" diff --git a/src/ripple/testoverlay/impl/TestOverlay.cpp b/src/ripple/testoverlay/impl/TestOverlay.cpp index c66480a640..fa533e7e3e 100644 --- a/src/ripple/testoverlay/impl/TestOverlay.cpp +++ b/src/ripple/testoverlay/impl/TestOverlay.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace TestOverlay { diff --git a/src/ripple/types/api/Base58.h b/src/ripple/types/api/Base58.h index efc54fb864..fa737bc530 100644 --- a/src/ripple/types/api/Base58.h +++ b/src/ripple/types/api/Base58.h @@ -17,7 +17,6 @@ */ //============================================================================== - // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2011 The Bitcoin Developers // Distributed under the MIT/X11 software license, see the accompanying diff --git a/src/ripple/types/api/UInt128.h b/src/ripple/types/api/UInt128.h index 71ed1b1b48..84aac22901 100644 --- a/src/ripple/types/api/UInt128.h +++ b/src/ripple/types/api/UInt128.h @@ -17,7 +17,6 @@ */ //============================================================================== - // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2011 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying diff --git a/src/ripple/types/api/UInt160.h b/src/ripple/types/api/UInt160.h index 3c2eb31147..bfe7eadf8e 100644 --- a/src/ripple/types/api/UInt160.h +++ b/src/ripple/types/api/UInt160.h @@ -17,7 +17,6 @@ */ //============================================================================== - // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2011 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying diff --git a/src/ripple/types/api/UInt256.h b/src/ripple/types/api/UInt256.h index 38d298c589..b0b77c4572 100644 --- a/src/ripple/types/api/UInt256.h +++ b/src/ripple/types/api/UInt256.h @@ -17,7 +17,6 @@ */ //============================================================================== - // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2011 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying diff --git a/src/ripple/types/api/base_uint.h b/src/ripple/types/api/base_uint.h index 8841d8c6d8..629bb83fd7 100644 --- a/src/ripple/types/api/base_uint.h +++ b/src/ripple/types/api/base_uint.h @@ -17,7 +17,6 @@ */ //============================================================================== - // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2011 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying diff --git a/src/ripple/types/api/strHex.h b/src/ripple/types/api/strHex.h index 77cc81219d..bc9d21c66d 100644 --- a/src/ripple/types/api/strHex.h +++ b/src/ripple/types/api/strHex.h @@ -17,7 +17,6 @@ */ //============================================================================== - // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2011 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying diff --git a/src/ripple/types/impl/Base58.cpp b/src/ripple/types/impl/Base58.cpp index cecdd52786..f684ed2bac 100644 --- a/src/ripple/types/impl/Base58.cpp +++ b/src/ripple/types/impl/Base58.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2011 The Bitcoin Developers // Distributed under the MIT/X11 software license, see the accompanying diff --git a/src/ripple/types/impl/ByteOrder.cpp b/src/ripple/types/impl/ByteOrder.cpp index 9c450dc852..a8d49f6b28 100644 --- a/src/ripple/types/impl/ByteOrder.cpp +++ b/src/ripple/types/impl/ByteOrder.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace ripple { #if BEAST_WIN32 diff --git a/src/ripple/types/impl/RandomNumbers.cpp b/src/ripple/types/impl/RandomNumbers.cpp index 409e839cf4..11c15c9366 100644 --- a/src/ripple/types/impl/RandomNumbers.cpp +++ b/src/ripple/types/impl/RandomNumbers.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // VFALCO TODO Replace OpenSSL randomness with a dependency-free implementation // Perhaps Schneier's Fortuna or a variant. Abstract the collection of // entropy and provide OS-specific implementation. We can re-use the diff --git a/src/ripple/types/impl/RippleIdentifierTests.cpp b/src/ripple/types/impl/RippleIdentifierTests.cpp index 41b4b037f2..a9a2ea5865 100644 --- a/src/ripple/types/impl/RippleIdentifierTests.cpp +++ b/src/ripple/types/impl/RippleIdentifierTests.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace ripple { // Relocated to RippleAddress.cpp diff --git a/src/ripple/types/impl/UInt128.cpp b/src/ripple/types/impl/UInt128.cpp index f34e5f5f29..dcd40c55a7 100644 --- a/src/ripple/types/impl/UInt128.cpp +++ b/src/ripple/types/impl/UInt128.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace ripple { std::size_t hash_value (const uint160& u) diff --git a/src/ripple/types/impl/UInt160.cpp b/src/ripple/types/impl/UInt160.cpp index 40360dbbf9..521a587459 100644 --- a/src/ripple/types/impl/UInt160.cpp +++ b/src/ripple/types/impl/UInt160.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace ripple { base_uint256 uint160::to256 () const diff --git a/src/ripple/types/impl/UInt256.cpp b/src/ripple/types/impl/UInt256.cpp index 81821c49a1..f9a6153ea6 100644 --- a/src/ripple/types/impl/UInt256.cpp +++ b/src/ripple/types/impl/UInt256.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace ripple { std::size_t hash_value (uint256 const& u) diff --git a/src/ripple/types/impl/strHex.cpp b/src/ripple/types/impl/strHex.cpp index 8046b6987d..2a90c7dfb6 100644 --- a/src/ripple/types/impl/strHex.cpp +++ b/src/ripple/types/impl/strHex.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace ripple { char charHex (int iDigit) diff --git a/src/ripple/types/ripple_types.cpp b/src/ripple/types/ripple_types.cpp index b1aafc7a9c..a2a59e204a 100644 --- a/src/ripple/types/ripple_types.cpp +++ b/src/ripple/types/ripple_types.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - #include "BeastConfig.h" #include "ripple_types.h" diff --git a/src/ripple_app/consensus/DisputedTx.cpp b/src/ripple_app/consensus/DisputedTx.cpp index 049ce60c28..00ce2acc0c 100644 --- a/src/ripple_app/consensus/DisputedTx.cpp +++ b/src/ripple_app/consensus/DisputedTx.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // #define TRUST_NETWORK // Track a peer's yes/no vote on a particular disputed transaction diff --git a/src/ripple_app/consensus/LedgerConsensus.cpp b/src/ripple_app/consensus/LedgerConsensus.cpp index 9b8e33bb88..2c243beb10 100644 --- a/src/ripple_app/consensus/LedgerConsensus.cpp +++ b/src/ripple_app/consensus/LedgerConsensus.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // #define TRUST_NETWORK #define LC_DEBUG diff --git a/src/ripple_app/contracts/Contract.cpp b/src/ripple_app/contracts/Contract.cpp index c1252567f8..66f448c17f 100644 --- a/src/ripple_app/contracts/Contract.cpp +++ b/src/ripple_app/contracts/Contract.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - Contract::Contract () { diff --git a/src/ripple_app/contracts/Interpreter.cpp b/src/ripple_app/contracts/Interpreter.cpp index d70fa85882..2d979830b5 100644 --- a/src/ripple_app/contracts/Interpreter.cpp +++ b/src/ripple_app/contracts/Interpreter.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - /* We also need to charge for each op diff --git a/src/ripple_app/contracts/Operation.cpp b/src/ripple_app/contracts/Operation.cpp index e93b5ecb6a..9de8274cb2 100644 --- a/src/ripple_app/contracts/Operation.cpp +++ b/src/ripple_app/contracts/Operation.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - /* We also need to charge for each op diff --git a/src/ripple_app/data/DBInit.cpp b/src/ripple_app/data/DBInit.cpp index 4c5253e07e..92049fc6e4 100644 --- a/src/ripple_app/data/DBInit.cpp +++ b/src/ripple_app/data/DBInit.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // Transaction database holds transactions and public keys const char* TxnDBInit[] = { diff --git a/src/ripple_app/data/Database.cpp b/src/ripple_app/data/Database.cpp index 53fc018caf..31c7f24e24 100644 --- a/src/ripple_app/data/Database.cpp +++ b/src/ripple_app/data/Database.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - Database::Database (const char* host) : mNumCol (0) { diff --git a/src/ripple_app/data/DatabaseCon.cpp b/src/ripple_app/data/DatabaseCon.cpp index e280285b69..b7bef72048 100644 --- a/src/ripple_app/data/DatabaseCon.cpp +++ b/src/ripple_app/data/DatabaseCon.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - DatabaseCon::DatabaseCon (const std::string& strName, const char* initStrings[], int initCount) { // VFALCO TODO remove this dependency on the config by making it the caller's diff --git a/src/ripple_app/data/SqliteDatabase.cpp b/src/ripple_app/data/SqliteDatabase.cpp index 874828b6b3..6bc48aafb6 100644 --- a/src/ripple_app/data/SqliteDatabase.cpp +++ b/src/ripple_app/data/SqliteDatabase.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (SqliteDatabase) SqliteStatement::SqliteStatement (SqliteDatabase* db, const char* sql, bool aux) diff --git a/src/ripple_app/ledger/AcceptedLedger.cpp b/src/ripple_app/ledger/AcceptedLedger.cpp index 351921b668..a0a39689db 100644 --- a/src/ripple_app/ledger/AcceptedLedger.cpp +++ b/src/ripple_app/ledger/AcceptedLedger.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - TaggedCacheType AcceptedLedger::s_cache ("AcceptedLedger", 4, 60); AcceptedLedger::AcceptedLedger (Ledger::ref ledger) : mLedger (ledger) diff --git a/src/ripple_app/ledger/AcceptedLedgerTx.cpp b/src/ripple_app/ledger/AcceptedLedgerTx.cpp index e421ff3870..bcd9eafe5d 100644 --- a/src/ripple_app/ledger/AcceptedLedgerTx.cpp +++ b/src/ripple_app/ledger/AcceptedLedgerTx.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - AcceptedLedgerTx::AcceptedLedgerTx (uint32 seq, SerializerIterator& sit) { Serializer txnSer (sit.getVL ()); diff --git a/src/ripple_app/ledger/InboundLedger.cpp b/src/ripple_app/ledger/InboundLedger.cpp index 564f06ee88..98e29fb573 100644 --- a/src/ripple_app/ledger/InboundLedger.cpp +++ b/src/ripple_app/ledger/InboundLedger.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (InboundLedger) // VFALCO TODO replace macros diff --git a/src/ripple_app/ledger/InboundLedgers.cpp b/src/ripple_app/ledger/InboundLedgers.cpp index 6b21dd994f..2f6c65496a 100644 --- a/src/ripple_app/ledger/InboundLedgers.cpp +++ b/src/ripple_app/ledger/InboundLedgers.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - typedef std::pair u256_acq_pair; InboundLedgers::InboundLedgers (Stoppable& parent) diff --git a/src/ripple_app/ledger/Ledger.cpp b/src/ripple_app/ledger/Ledger.cpp index d4686a697f..100e6891ff 100644 --- a/src/ripple_app/ledger/Ledger.cpp +++ b/src/ripple_app/ledger/Ledger.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (Ledger) LedgerBase::LedgerBase () diff --git a/src/ripple_app/ledger/LedgerEntrySet.cpp b/src/ripple_app/ledger/LedgerEntrySet.cpp index c05c6eb836..06a578a90e 100644 --- a/src/ripple_app/ledger/LedgerEntrySet.cpp +++ b/src/ripple_app/ledger/LedgerEntrySet.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (LedgerEntrySet) // #define META_DEBUG diff --git a/src/ripple_app/ledger/LedgerHistory.cpp b/src/ripple_app/ledger/LedgerHistory.cpp index 487a599697..5241de7ac0 100644 --- a/src/ripple_app/ledger/LedgerHistory.cpp +++ b/src/ripple_app/ledger/LedgerHistory.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // VFALCO TODO replace macros #ifndef CACHED_LEDGER_NUM diff --git a/src/ripple_app/ledger/LedgerProposal.cpp b/src/ripple_app/ledger/LedgerProposal.cpp index 95fed8d850..0af7f1f39f 100644 --- a/src/ripple_app/ledger/LedgerProposal.cpp +++ b/src/ripple_app/ledger/LedgerProposal.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - LedgerProposal::LedgerProposal (uint256 const& pLgr, uint32 seq, uint256 const& tx, uint32 closeTime, const RippleAddress& naPeerPublic, uint256 const& suppression) : mPreviousLedger (pLgr), mCurrentHash (tx), mSuppression (suppression), mCloseTime (closeTime), diff --git a/src/ripple_app/ledger/LedgerTiming.cpp b/src/ripple_app/ledger/LedgerTiming.cpp index 3b27107e99..4e378e5b65 100644 --- a/src/ripple_app/ledger/LedgerTiming.cpp +++ b/src/ripple_app/ledger/LedgerTiming.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // VFALCO Should rename ContinuousLedgerTiming to LedgerTiming struct LedgerTiming; // for Log diff --git a/src/ripple_app/ledger/OrderBookDB.cpp b/src/ripple_app/ledger/OrderBookDB.cpp index a2cffda147..26c07a86d9 100644 --- a/src/ripple_app/ledger/OrderBookDB.cpp +++ b/src/ripple_app/ledger/OrderBookDB.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (OrderBookDB) OrderBookDB::OrderBookDB (Stoppable& parent) diff --git a/src/ripple_app/ledger/SerializedValidation.cpp b/src/ripple_app/ledger/SerializedValidation.cpp index c9e065e8d6..9b08b9cb27 100644 --- a/src/ripple_app/ledger/SerializedValidation.cpp +++ b/src/ripple_app/ledger/SerializedValidation.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SerializedValidation::SerializedValidation (SerializerIterator& sit, bool checkSignature) : STObject (getFormat (), sit, sfValidation) , mTrusted (false) diff --git a/src/ripple_app/main/FatalErrorReporter.cpp b/src/ripple_app/main/FatalErrorReporter.cpp index 5c1af9bd18..0534c2e980 100644 --- a/src/ripple_app/main/FatalErrorReporter.cpp +++ b/src/ripple_app/main/FatalErrorReporter.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - FatalErrorReporter::FatalErrorReporter () { m_savedReporter = FatalError::setReporter (this); diff --git a/src/ripple_app/main/LocalCredentials.cpp b/src/ripple_app/main/LocalCredentials.cpp index 48186f3c7d..190b2ea4db 100644 --- a/src/ripple_app/main/LocalCredentials.cpp +++ b/src/ripple_app/main/LocalCredentials.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - LocalCredentials::LocalCredentials () : mLedger (0) { diff --git a/src/ripple_app/main/NodeStoreScheduler.cpp b/src/ripple_app/main/NodeStoreScheduler.cpp index b718823043..3e18dc0dc8 100644 --- a/src/ripple_app/main/NodeStoreScheduler.cpp +++ b/src/ripple_app/main/NodeStoreScheduler.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - NodeStoreScheduler::NodeStoreScheduler (Stoppable& parent, JobQueue& jobQueue) : Stoppable ("NodeStoreScheduler", parent) , m_jobQueue (jobQueue) diff --git a/src/ripple_app/main/ParameterTable.cpp b/src/ripple_app/main/ParameterTable.cpp index ab0753cc65..4a755daf5c 100644 --- a/src/ripple_app/main/ParameterTable.cpp +++ b/src/ripple_app/main/ParameterTable.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - bool ParameterNode::setValue (const std::string& name, const Json::Value& value, Json::Value& error) { if (name.empty ()) // this node diff --git a/src/ripple_app/main/RPCHTTPServer.cpp b/src/ripple_app/main/RPCHTTPServer.cpp index 805de65322..b2e7cdda76 100644 --- a/src/ripple_app/main/RPCHTTPServer.cpp +++ b/src/ripple_app/main/RPCHTTPServer.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - class RPCHTTPServerImp : public RPCHTTPServer , public LeakChecked diff --git a/src/ripple_app/misc/AccountItem.cpp b/src/ripple_app/misc/AccountItem.cpp index dd40aabe6e..728486f38d 100644 --- a/src/ripple_app/misc/AccountItem.cpp +++ b/src/ripple_app/misc/AccountItem.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - AccountItem::AccountItem (SerializedLedgerEntry::ref ledger) : mLedgerEntry (ledger) { diff --git a/src/ripple_app/misc/AccountItems.cpp b/src/ripple_app/misc/AccountItems.cpp index 446069daeb..57c402d95e 100644 --- a/src/ripple_app/misc/AccountItems.cpp +++ b/src/ripple_app/misc/AccountItems.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - AccountItems::AccountItems (uint160 const& accountID, Ledger::ref ledger, AccountItem::pointer ofType) diff --git a/src/ripple_app/misc/AccountState.cpp b/src/ripple_app/misc/AccountState.cpp index c312322132..85e96fa889 100644 --- a/src/ripple_app/misc/AccountState.cpp +++ b/src/ripple_app/misc/AccountState.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - AccountState::AccountState (RippleAddress const& naAccountID) : mAccountID (naAccountID) , mValid (false) diff --git a/src/ripple_app/misc/CanonicalTXSet.cpp b/src/ripple_app/misc/CanonicalTXSet.cpp index 66e52f822d..c6b5ffcbcf 100644 --- a/src/ripple_app/misc/CanonicalTXSet.cpp +++ b/src/ripple_app/misc/CanonicalTXSet.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - bool CanonicalTXSet::Key::operator< (Key const& rhs) const { if (mAccount < rhs.mAccount) return true; diff --git a/src/ripple_app/misc/Features.cpp b/src/ripple_app/misc/Features.cpp index d4301d78e7..a4ccff2e8a 100644 --- a/src/ripple_app/misc/Features.cpp +++ b/src/ripple_app/misc/Features.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - class Features; SETUP_LOG (Features) diff --git a/src/ripple_app/misc/FeeVote.cpp b/src/ripple_app/misc/FeeVote.cpp index b2b3b099a4..00dcd139a7 100644 --- a/src/ripple_app/misc/FeeVote.cpp +++ b/src/ripple_app/misc/FeeVote.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - class Features; //------------------------------------------------------------------------------ diff --git a/src/ripple_app/misc/HashRouter.cpp b/src/ripple_app/misc/HashRouter.cpp index 737b7e1b52..fc83c6eb85 100644 --- a/src/ripple_app/misc/HashRouter.cpp +++ b/src/ripple_app/misc/HashRouter.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // VFALCO TODO Inline the function definitions class HashRouter : public IHashRouter { diff --git a/src/ripple_app/misc/NetworkOPs.cpp b/src/ripple_app/misc/NetworkOPs.cpp index 0b2f569cac..43779f3bbf 100644 --- a/src/ripple_app/misc/NetworkOPs.cpp +++ b/src/ripple_app/misc/NetworkOPs.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - class NetworkOPsImp : public NetworkOPs , public DeadlineTimer::Listener diff --git a/src/ripple_app/misc/NicknameState.cpp b/src/ripple_app/misc/NicknameState.cpp index 5059784f14..104c0ba345 100644 --- a/src/ripple_app/misc/NicknameState.cpp +++ b/src/ripple_app/misc/NicknameState.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - NicknameState::NicknameState (SerializedLedgerEntry::pointer ledgerEntry) : mLedgerEntry (ledgerEntry) { diff --git a/src/ripple_app/misc/NicknameState.h b/src/ripple_app/misc/NicknameState.h index 700b04b544..ec59874796 100644 --- a/src/ripple_app/misc/NicknameState.h +++ b/src/ripple_app/misc/NicknameState.h @@ -18,7 +18,6 @@ //============================================================================== - #ifndef RIPPLE_NICKNAMESTATE_H #define RIPPLE_NICKNAMESTATE_H diff --git a/src/ripple_app/misc/Offer.cpp b/src/ripple_app/misc/Offer.cpp index 3252ee1b52..4baee5d543 100644 --- a/src/ripple_app/misc/Offer.cpp +++ b/src/ripple_app/misc/Offer.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - AccountItem::pointer Offer::makeItem (const uint160& , SerializedLedgerEntry::ref ledgerEntry) { if (!ledgerEntry || ledgerEntry->getType () != ltOFFER) return (AccountItem::pointer ()); diff --git a/src/ripple_app/misc/OrderBook.cpp b/src/ripple_app/misc/OrderBook.cpp index 3aaa5042bd..e99036ce35 100644 --- a/src/ripple_app/misc/OrderBook.cpp +++ b/src/ripple_app/misc/OrderBook.cpp @@ -18,7 +18,6 @@ //============================================================================== - OrderBook::OrderBook (uint256 const& index, uint160 const& currencyIn, uint160 const& currencyOut, diff --git a/src/ripple_app/misc/OrderBook.h b/src/ripple_app/misc/OrderBook.h index 0ae8c01c3f..b4608a8630 100644 --- a/src/ripple_app/misc/OrderBook.h +++ b/src/ripple_app/misc/OrderBook.h @@ -18,7 +18,6 @@ //============================================================================== - #ifndef RIPPLE_ORDERBOOK_H #define RIPPLE_ORDERBOOK_H diff --git a/src/ripple_app/misc/ProofOfWork.cpp b/src/ripple_app/misc/ProofOfWork.cpp index 0e768e19fa..d4568aa990 100644 --- a/src/ripple_app/misc/ProofOfWork.cpp +++ b/src/ripple_app/misc/ProofOfWork.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (ProofOfWork) // VFALCO TODO Move these to a header diff --git a/src/ripple_app/misc/ProofOfWorkFactory.cpp b/src/ripple_app/misc/ProofOfWorkFactory.cpp index 27a02db81d..00bf249d3a 100644 --- a/src/ripple_app/misc/ProofOfWorkFactory.cpp +++ b/src/ripple_app/misc/ProofOfWorkFactory.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - class ProofOfWorkFactoryImp : public ProofOfWorkFactory , public LeakChecked diff --git a/src/ripple_app/misc/SerializedLedger.cpp b/src/ripple_app/misc/SerializedLedger.cpp index 62c4b5f6a5..d29205b287 100644 --- a/src/ripple_app/misc/SerializedLedger.cpp +++ b/src/ripple_app/misc/SerializedLedger.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - struct SerializedLedgerLog; // for Log SETUP_LOGN (SerializedLedgerLog,"SerializedLedger") diff --git a/src/ripple_app/misc/SerializedTransaction.cpp b/src/ripple_app/misc/SerializedTransaction.cpp index 1df7790af4..5eb9de6239 100644 --- a/src/ripple_app/misc/SerializedTransaction.cpp +++ b/src/ripple_app/misc/SerializedTransaction.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (SerializedTransaction) SerializedTransaction::SerializedTransaction (TxType type) diff --git a/src/ripple_app/misc/Validations.cpp b/src/ripple_app/misc/Validations.cpp index dd846188b2..76684d25a6 100644 --- a/src/ripple_app/misc/Validations.cpp +++ b/src/ripple_app/misc/Validations.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - class ValidationsImp; SETUP_LOG (Validations) diff --git a/src/ripple_app/node/SqliteFactory.cpp b/src/ripple_app/node/SqliteFactory.cpp index e8aa6d37ff..0e969e0a0d 100644 --- a/src/ripple_app/node/SqliteFactory.cpp +++ b/src/ripple_app/node/SqliteFactory.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - static const char* s_nodeStoreDBInit [] = { "PRAGMA synchronous=NORMAL;", diff --git a/src/ripple_app/paths/PathRequest.cpp b/src/ripple_app/paths/PathRequest.cpp index f7c0a8d6a6..6c65dc9dad 100644 --- a/src/ripple_app/paths/PathRequest.cpp +++ b/src/ripple_app/paths/PathRequest.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (PathRequest) // VFALCO TODO Move these globals into a PathRequests collection inteface diff --git a/src/ripple_app/paths/PathState.cpp b/src/ripple_app/paths/PathState.cpp index f9b0b139f4..49a38e3a34 100644 --- a/src/ripple_app/paths/PathState.cpp +++ b/src/ripple_app/paths/PathState.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // TODO: // - Do automatic bridging via XRP. // diff --git a/src/ripple_app/paths/Pathfinder.cpp b/src/ripple_app/paths/Pathfinder.cpp index 5dcb9e5e5f..9dbc1e0f06 100644 --- a/src/ripple_app/paths/Pathfinder.cpp +++ b/src/ripple_app/paths/Pathfinder.cpp @@ -18,7 +18,6 @@ */ //============================================================================== - SETUP_LOG (Pathfinder) /* diff --git a/src/ripple_app/paths/RippleLineCache.cpp b/src/ripple_app/paths/RippleLineCache.cpp index c6fb54e837..ca99a8c200 100644 --- a/src/ripple_app/paths/RippleLineCache.cpp +++ b/src/ripple_app/paths/RippleLineCache.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - RippleLineCache::RippleLineCache (Ledger::ref l) : mLock (this, "RippleLineCache", __FILE__, __LINE__) , mLedger (l) diff --git a/src/ripple_app/paths/RippleState.cpp b/src/ripple_app/paths/RippleState.cpp index 5a9ec2ab87..8e484e83a1 100644 --- a/src/ripple_app/paths/RippleState.cpp +++ b/src/ripple_app/paths/RippleState.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - AccountItem::pointer RippleState::makeItem (const uint160& accountID, SerializedLedgerEntry::ref ledgerEntry) { if (!ledgerEntry || ledgerEntry->getType () != ltRIPPLE_STATE) diff --git a/src/ripple_app/peers/PackedMessage.cpp b/src/ripple_app/peers/PackedMessage.cpp index b2d1103005..f996993ed9 100644 --- a/src/ripple_app/peers/PackedMessage.cpp +++ b/src/ripple_app/peers/PackedMessage.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - PackedMessage::PackedMessage (::google::protobuf::Message const& message, int type) { unsigned const messageBytes = message.ByteSize (); diff --git a/src/ripple_app/peers/Peer.cpp b/src/ripple_app/peers/Peer.cpp index 9abe4b17d2..be0551a6a6 100644 --- a/src/ripple_app/peers/Peer.cpp +++ b/src/ripple_app/peers/Peer.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (Peer) class PeerImp; diff --git a/src/ripple_app/peers/PeerDoor.cpp b/src/ripple_app/peers/PeerDoor.cpp index 55bf5580cb..e1d24adc01 100644 --- a/src/ripple_app/peers/PeerDoor.cpp +++ b/src/ripple_app/peers/PeerDoor.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (PeerDoor) class PeerDoorImp diff --git a/src/ripple_app/peers/PeerSet.cpp b/src/ripple_app/peers/PeerSet.cpp index e810fccffb..b9cdb2a04d 100644 --- a/src/ripple_app/peers/PeerSet.cpp +++ b/src/ripple_app/peers/PeerSet.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - class InboundLedger; PeerSet::PeerSet (uint256 const& hash, int interval, bool txnData) diff --git a/src/ripple_app/peers/UniqueNodeList.cpp b/src/ripple_app/peers/UniqueNodeList.cpp index 466d8af8df..963eada0b3 100644 --- a/src/ripple_app/peers/UniqueNodeList.cpp +++ b/src/ripple_app/peers/UniqueNodeList.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // XXX Dynamically limit fetching by distance. // XXX Want a limit of 2000 validators. diff --git a/src/ripple_app/ripple_app.cpp b/src/ripple_app/ripple_app.cpp index 4722d510ba..189e8aa330 100644 --- a/src/ripple_app/ripple_app.cpp +++ b/src/ripple_app/ripple_app.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - #include "BeastConfig.h" #include "beast/modules/beast_core/system/BeforeBoost.h" diff --git a/src/ripple_app/ripple_app_pt1.cpp b/src/ripple_app/ripple_app_pt1.cpp index 10cfe0d3ae..b0551703a3 100644 --- a/src/ripple_app/ripple_app_pt1.cpp +++ b/src/ripple_app/ripple_app_pt1.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - #include "BeastConfig.h" #include "beast/modules/beast_core/system/BeforeBoost.h" diff --git a/src/ripple_app/ripple_app_pt2.cpp b/src/ripple_app/ripple_app_pt2.cpp index 6fe9b7ff2d..123a9fe6e2 100644 --- a/src/ripple_app/ripple_app_pt2.cpp +++ b/src/ripple_app/ripple_app_pt2.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - #include "BeastConfig.h" #include "ripple_app.h" diff --git a/src/ripple_app/ripple_app_pt3.cpp b/src/ripple_app/ripple_app_pt3.cpp index d6bb27bf1b..0e401bb6e1 100644 --- a/src/ripple_app/ripple_app_pt3.cpp +++ b/src/ripple_app/ripple_app_pt3.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - #include "BeastConfig.h" #include "ripple_app.h" diff --git a/src/ripple_app/ripple_app_pt4.cpp b/src/ripple_app/ripple_app_pt4.cpp index be54b909cc..8cf59526ad 100644 --- a/src/ripple_app/ripple_app_pt4.cpp +++ b/src/ripple_app/ripple_app_pt4.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - #include "BeastConfig.h" #include "ripple_app.h" diff --git a/src/ripple_app/ripple_app_pt5.cpp b/src/ripple_app/ripple_app_pt5.cpp index 9ed318b46c..c1d3539565 100644 --- a/src/ripple_app/ripple_app_pt5.cpp +++ b/src/ripple_app/ripple_app_pt5.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - #include "BeastConfig.h" #include "ripple_app.h" diff --git a/src/ripple_app/ripple_app_pt6.cpp b/src/ripple_app/ripple_app_pt6.cpp index 04d8df167b..5837b45629 100644 --- a/src/ripple_app/ripple_app_pt6.cpp +++ b/src/ripple_app/ripple_app_pt6.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - #include "BeastConfig.h" #include "ripple_app.h" diff --git a/src/ripple_app/ripple_app_pt7.cpp b/src/ripple_app/ripple_app_pt7.cpp index a266ab4fd3..aa13df0da9 100644 --- a/src/ripple_app/ripple_app_pt7.cpp +++ b/src/ripple_app/ripple_app_pt7.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - #include "BeastConfig.h" #include "ripple_app.h" diff --git a/src/ripple_app/ripple_app_pt8.cpp b/src/ripple_app/ripple_app_pt8.cpp index 1df77abd9f..01b20f958e 100644 --- a/src/ripple_app/ripple_app_pt8.cpp +++ b/src/ripple_app/ripple_app_pt8.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - #include "BeastConfig.h" #include "ripple_app.h" diff --git a/src/ripple_app/rpc/RPCServerHandler.cpp b/src/ripple_app/rpc/RPCServerHandler.cpp index 492e4cd8fd..dec41804ab 100644 --- a/src/ripple_app/rpc/RPCServerHandler.cpp +++ b/src/ripple_app/rpc/RPCServerHandler.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - RPCServerHandler::RPCServerHandler (NetworkOPs& networkOPs, Resource::Manager& resourceManager) : m_networkOPs (networkOPs) , m_resourceManager (resourceManager) diff --git a/src/ripple_app/shamap/SHAMapDelta.cpp b/src/ripple_app/shamap/SHAMapDelta.cpp index 53c10059f0..44e8bb929f 100644 --- a/src/ripple_app/shamap/SHAMapDelta.cpp +++ b/src/ripple_app/shamap/SHAMapDelta.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // This code is used to compare another node's transaction tree // to our own. It returns a map containing all items that are different // between two SHA maps. It is optimized not to descend down tree diff --git a/src/ripple_app/shamap/SHAMapItem.cpp b/src/ripple_app/shamap/SHAMapItem.cpp index 3d92dd9b32..565bee571b 100644 --- a/src/ripple_app/shamap/SHAMapItem.cpp +++ b/src/ripple_app/shamap/SHAMapItem.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - class SHAMap; SHAMapItem::SHAMapItem (uint256 const& tag, Blob const& data) diff --git a/src/ripple_app/shamap/SHAMapMissingNode.cpp b/src/ripple_app/shamap/SHAMapMissingNode.cpp index fae0610579..128358bb58 100644 --- a/src/ripple_app/shamap/SHAMapMissingNode.cpp +++ b/src/ripple_app/shamap/SHAMapMissingNode.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - std::ostream& operator<< (std::ostream& out, const SHAMapMissingNode& mn) { switch (mn.getMapType ()) diff --git a/src/ripple_app/shamap/SHAMapNode.cpp b/src/ripple_app/shamap/SHAMapNode.cpp index ebb3a6db83..dcb32f5879 100644 --- a/src/ripple_app/shamap/SHAMapNode.cpp +++ b/src/ripple_app/shamap/SHAMapNode.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (SHAMapNode) // canonicalize the hash to a node ID for this depth diff --git a/src/ripple_app/shamap/SHAMapSync.cpp b/src/ripple_app/shamap/SHAMapSync.cpp index aafc280f6b..9f688484f0 100644 --- a/src/ripple_app/shamap/SHAMapSync.cpp +++ b/src/ripple_app/shamap/SHAMapSync.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // VFALCO TODO tidy up this global static const uint256 uZero; diff --git a/src/ripple_app/shamap/SHAMapSyncFilters.cpp b/src/ripple_app/shamap/SHAMapSyncFilters.cpp index 33dfd52f3c..26378acb94 100644 --- a/src/ripple_app/shamap/SHAMapSyncFilters.cpp +++ b/src/ripple_app/shamap/SHAMapSyncFilters.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - ConsensusTransSetSF::ConsensusTransSetSF () { } diff --git a/src/ripple_app/shamap/SHAMapTreeNode.cpp b/src/ripple_app/shamap/SHAMapTreeNode.cpp index 936ff817aa..848c20c0a0 100644 --- a/src/ripple_app/shamap/SHAMapTreeNode.cpp +++ b/src/ripple_app/shamap/SHAMapTreeNode.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SHAMapTreeNode::SHAMapTreeNode (uint32 seq, const SHAMapNode& nodeID) : SHAMapNode (nodeID) , mHash (uint64(0)) diff --git a/src/ripple_app/tx/AccountSetTransactor.cpp b/src/ripple_app/tx/AccountSetTransactor.cpp index dd7a4d15cf..75dd534534 100644 --- a/src/ripple_app/tx/AccountSetTransactor.cpp +++ b/src/ripple_app/tx/AccountSetTransactor.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (AccountSetTransactor) TER AccountSetTransactor::doApply () diff --git a/src/ripple_app/tx/ChangeTransactor.cpp b/src/ripple_app/tx/ChangeTransactor.cpp index 97dc640531..2ee8a758a6 100644 --- a/src/ripple_app/tx/ChangeTransactor.cpp +++ b/src/ripple_app/tx/ChangeTransactor.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (ChangeTransactor) TER ChangeTransactor::doApply () diff --git a/src/ripple_app/tx/ChangeTransactor.h b/src/ripple_app/tx/ChangeTransactor.h index cd1a59afb1..841e17faa0 100644 --- a/src/ripple_app/tx/ChangeTransactor.h +++ b/src/ripple_app/tx/ChangeTransactor.h @@ -17,7 +17,6 @@ */ //============================================================================== - class ChangeTransactor : public Transactor { public: diff --git a/src/ripple_app/tx/OfferCancelTransactor.cpp b/src/ripple_app/tx/OfferCancelTransactor.cpp index c55e0da95c..b3142bb0b2 100644 --- a/src/ripple_app/tx/OfferCancelTransactor.cpp +++ b/src/ripple_app/tx/OfferCancelTransactor.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (OfferCancelTransactor) TER OfferCancelTransactor::doApply () diff --git a/src/ripple_app/tx/OfferCreateTransactor.cpp b/src/ripple_app/tx/OfferCreateTransactor.cpp index b059ac5680..d8f548385a 100644 --- a/src/ripple_app/tx/OfferCreateTransactor.cpp +++ b/src/ripple_app/tx/OfferCreateTransactor.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (OfferCreateTransactor) // Make sure an offer is still valid. If not, mark it unfunded. diff --git a/src/ripple_app/tx/PaymentTransactor.cpp b/src/ripple_app/tx/PaymentTransactor.cpp index 5ee266eb3a..1673c556cd 100644 --- a/src/ripple_app/tx/PaymentTransactor.cpp +++ b/src/ripple_app/tx/PaymentTransactor.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (PaymentTransactor) #define RIPPLE_PATHS_MAX 6 diff --git a/src/ripple_app/tx/RegularKeySetTransactor.cpp b/src/ripple_app/tx/RegularKeySetTransactor.cpp index 7c5edfacea..be760e2d98 100644 --- a/src/ripple_app/tx/RegularKeySetTransactor.cpp +++ b/src/ripple_app/tx/RegularKeySetTransactor.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (RegularKeySetTransactor) uint64 RegularKeySetTransactor::calculateBaseFee () diff --git a/src/ripple_app/tx/Transaction.cpp b/src/ripple_app/tx/Transaction.cpp index df22cb1599..3b01e678ae 100644 --- a/src/ripple_app/tx/Transaction.cpp +++ b/src/ripple_app/tx/Transaction.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - Transaction::Transaction (SerializedTransaction::ref sit, bool bValidate) : mInLedger (0), mStatus (INVALID), mResult (temUNCERTAIN), mTransaction (sit) { diff --git a/src/ripple_app/tx/TransactionAcquire.cpp b/src/ripple_app/tx/TransactionAcquire.cpp index 81d75d0ddf..b5075df513 100644 --- a/src/ripple_app/tx/TransactionAcquire.cpp +++ b/src/ripple_app/tx/TransactionAcquire.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (TransactionAcquire) #define TX_ACQUIRE_TIMEOUT 250 diff --git a/src/ripple_app/tx/TransactionCheck.cpp b/src/ripple_app/tx/TransactionCheck.cpp index ed3e3d29ec..3fcfa84521 100644 --- a/src/ripple_app/tx/TransactionCheck.cpp +++ b/src/ripple_app/tx/TransactionCheck.cpp @@ -18,7 +18,6 @@ //============================================================================== - // VFALCO TODO move this into TransactionEngine.cpp // Double check a transaction's metadata to make sure no system invariants were broken diff --git a/src/ripple_app/tx/TransactionEngine.cpp b/src/ripple_app/tx/TransactionEngine.cpp index b5b96b8737..195dbfd2b4 100644 --- a/src/ripple_app/tx/TransactionEngine.cpp +++ b/src/ripple_app/tx/TransactionEngine.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // // XXX Make sure all fields are recognized in transactions. // diff --git a/src/ripple_app/tx/TransactionMeta.cpp b/src/ripple_app/tx/TransactionMeta.cpp index 4f62980efb..3d43ba23e3 100644 --- a/src/ripple_app/tx/TransactionMeta.cpp +++ b/src/ripple_app/tx/TransactionMeta.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // VFALCO TODO rename class to TransactionMeta SETUP_LOG (TransactionMetaSet) diff --git a/src/ripple_app/tx/Transactor.cpp b/src/ripple_app/tx/Transactor.cpp index 7a60112418..325bb2a243 100644 --- a/src/ripple_app/tx/Transactor.cpp +++ b/src/ripple_app/tx/Transactor.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (Transactor) UPTR_T Transactor::makeTransactor (const SerializedTransaction& txn, TransactionEngineParams params, TransactionEngine* engine) diff --git a/src/ripple_app/tx/TrustSetTransactor.cpp b/src/ripple_app/tx/TrustSetTransactor.cpp index 1f9ab61263..8b7fa4fdae 100644 --- a/src/ripple_app/tx/TrustSetTransactor.cpp +++ b/src/ripple_app/tx/TrustSetTransactor.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (TrustSetTransactor) TER TrustSetTransactor::doApply () diff --git a/src/ripple_app/tx/TxQueue.cpp b/src/ripple_app/tx/TxQueue.cpp index 7f3ab50b72..9dde3931c0 100644 --- a/src/ripple_app/tx/TxQueue.cpp +++ b/src/ripple_app/tx/TxQueue.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - class TxQueueImp : public TxQueue , public LeakChecked diff --git a/src/ripple_app/tx/TxQueueEntry.cpp b/src/ripple_app/tx/TxQueueEntry.cpp index 9c4ea51d92..68664fd32a 100644 --- a/src/ripple_app/tx/TxQueueEntry.cpp +++ b/src/ripple_app/tx/TxQueueEntry.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - void TxQueueEntry::addCallbacks (const TxQueueEntry& otherEntry) { BOOST_FOREACH (const stCallback & callback, otherEntry.mCallbacks) diff --git a/src/ripple_app/tx/WalletAddTransactor.cpp b/src/ripple_app/tx/WalletAddTransactor.cpp index 8103f91a49..754835bc69 100644 --- a/src/ripple_app/tx/WalletAddTransactor.cpp +++ b/src/ripple_app/tx/WalletAddTransactor.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (WalletAddTransactor) TER WalletAddTransactor::doApply () diff --git a/src/ripple_app/websocket/WSDoor.cpp b/src/ripple_app/websocket/WSDoor.cpp index a6f137dfce..a55e54fc20 100644 --- a/src/ripple_app/websocket/WSDoor.cpp +++ b/src/ripple_app/websocket/WSDoor.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (WSDoor) // diff --git a/src/ripple_app/websocket/WSServerHandler.cpp b/src/ripple_app/websocket/WSServerHandler.cpp index 3d3eedd65c..51633f623d 100644 --- a/src/ripple_app/websocket/WSServerHandler.cpp +++ b/src/ripple_app/websocket/WSServerHandler.cpp @@ -17,5 +17,4 @@ */ //============================================================================== - SETUP_LOGN (WSServerHandlerLog,"WSServerHandler") diff --git a/src/ripple_basics/containers/RangeSet.cpp b/src/ripple_basics/containers/RangeSet.cpp index 169f6cadab..643b4938e6 100644 --- a/src/ripple_basics/containers/RangeSet.cpp +++ b/src/ripple_basics/containers/RangeSet.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (RangeSet) // VFALCO NOTE std::min and std::max not good enough? diff --git a/src/ripple_basics/containers/TaggedCache.cpp b/src/ripple_basics/containers/TaggedCache.cpp index 8b08a87b89..0d22832f37 100644 --- a/src/ripple_basics/containers/TaggedCache.cpp +++ b/src/ripple_basics/containers/TaggedCache.cpp @@ -17,5 +17,4 @@ */ //============================================================================== - SETUP_LOGN (TaggedCacheLog,"TaggedCache") diff --git a/src/ripple_basics/log/LogFile.cpp b/src/ripple_basics/log/LogFile.cpp index 89285d33df..e33da16d16 100644 --- a/src/ripple_basics/log/LogFile.cpp +++ b/src/ripple_basics/log/LogFile.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - LogFile::LogFile () : m_stream (nullptr) { diff --git a/src/ripple_basics/ripple_basics.cpp b/src/ripple_basics/ripple_basics.cpp index 80e6761a0a..4b8f08e812 100644 --- a/src/ripple_basics/ripple_basics.cpp +++ b/src/ripple_basics/ripple_basics.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - #include "BeastConfig.h" #include "ripple_basics.h" diff --git a/src/ripple_basics/utility/CountedObject.cpp b/src/ripple_basics/utility/CountedObject.cpp index 614852fe72..2aec1ae25b 100644 --- a/src/ripple_basics/utility/CountedObject.cpp +++ b/src/ripple_basics/utility/CountedObject.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - CountedObjects& CountedObjects::getInstance () { static CountedObjects instance; diff --git a/src/ripple_basics/utility/IniFile.cpp b/src/ripple_basics/utility/IniFile.cpp index 12271bcc9f..9c43c3794b 100644 --- a/src/ripple_basics/utility/IniFile.cpp +++ b/src/ripple_basics/utility/IniFile.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - #define SECTION_DEFAULT_NAME "" struct ParseSectionLog; // for Log diff --git a/src/ripple_basics/utility/StringUtilities.cpp b/src/ripple_basics/utility/StringUtilities.cpp index c7d0b347c7..bd54212fc4 100644 --- a/src/ripple_basics/utility/StringUtilities.cpp +++ b/src/ripple_basics/utility/StringUtilities.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // VFALCO TODO Replace these with something more robust and without macros. // #if ! BEAST_MSVC diff --git a/src/ripple_basics/utility/Sustain.cpp b/src/ripple_basics/utility/Sustain.cpp index cd39caea70..60696697ff 100644 --- a/src/ripple_basics/utility/Sustain.cpp +++ b/src/ripple_basics/utility/Sustain.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - #ifdef __unix__ static pid_t pManager = static_cast (0); diff --git a/src/ripple_basics/utility/ThreadName.cpp b/src/ripple_basics/utility/ThreadName.cpp index a31994e766..6931830f84 100644 --- a/src/ripple_basics/utility/ThreadName.cpp +++ b/src/ripple_basics/utility/ThreadName.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // VFALCO TODO use beast::Thread::setCurrentThreadName() or something similar. #if _MSC_VER diff --git a/src/ripple_basics/utility/Time.cpp b/src/ripple_basics/utility/Time.cpp index a25dffa369..e08460be27 100644 --- a/src/ripple_basics/utility/Time.cpp +++ b/src/ripple_basics/utility/Time.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // VFALCO TODO Tidy this up into a RippleTime object // diff --git a/src/ripple_basics/utility/UptimeTimer.cpp b/src/ripple_basics/utility/UptimeTimer.cpp index d44b625c4c..638e7cb444 100644 --- a/src/ripple_basics/utility/UptimeTimer.cpp +++ b/src/ripple_basics/utility/UptimeTimer.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - UptimeTimer::UptimeTimer () : m_elapsedTime (0) , m_startTime (::time (0)) diff --git a/src/ripple_core/functional/Config.cpp b/src/ripple_core/functional/Config.cpp index 3f1d7567a8..94576f153b 100644 --- a/src/ripple_core/functional/Config.cpp +++ b/src/ripple_core/functional/Config.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // // TODO: Check permissions on config file before using it. // diff --git a/src/ripple_core/functional/Job.cpp b/src/ripple_core/functional/Job.cpp index 305ece8915..ba65bb1625 100644 --- a/src/ripple_core/functional/Job.cpp +++ b/src/ripple_core/functional/Job.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - Job::Job () : mType (jtINVALID) , mJobIndex (0) diff --git a/src/ripple_core/functional/JobQueue.cpp b/src/ripple_core/functional/JobQueue.cpp index 328f07e02d..f089b7484b 100644 --- a/src/ripple_core/functional/JobQueue.cpp +++ b/src/ripple_core/functional/JobQueue.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - class JobQueueImp : public JobQueue , private Workers::Callback diff --git a/src/ripple_core/nodestore/NodeStore.cpp b/src/ripple_core/nodestore/NodeStore.cpp index 358c8749b7..e6701d5bc9 100644 --- a/src/ripple_core/nodestore/NodeStore.cpp +++ b/src/ripple_core/nodestore/NodeStore.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // backend support #include "beast/modules/beast_db/beast_db.h" #include "../ripple_hyperleveldb/ripple_hyperleveldb.h" diff --git a/src/ripple_core/nodestore/backend/HyperDBFactory.cpp b/src/ripple_core/nodestore/backend/HyperDBFactory.cpp index 220a28fec0..502aa3567a 100644 --- a/src/ripple_core/nodestore/backend/HyperDBFactory.cpp +++ b/src/ripple_core/nodestore/backend/HyperDBFactory.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - #if RIPPLE_HYPERLEVELDB_AVAILABLE namespace NodeStore diff --git a/src/ripple_core/nodestore/backend/KeyvaDBFactory.cpp b/src/ripple_core/nodestore/backend/KeyvaDBFactory.cpp index b5242bdcc4..f0f64e5170 100644 --- a/src/ripple_core/nodestore/backend/KeyvaDBFactory.cpp +++ b/src/ripple_core/nodestore/backend/KeyvaDBFactory.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace NodeStore { diff --git a/src/ripple_core/nodestore/backend/LevelDBFactory.cpp b/src/ripple_core/nodestore/backend/LevelDBFactory.cpp index 0edbe2355d..c2080f88be 100644 --- a/src/ripple_core/nodestore/backend/LevelDBFactory.cpp +++ b/src/ripple_core/nodestore/backend/LevelDBFactory.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace NodeStore { diff --git a/src/ripple_core/nodestore/backend/MdbFactory.cpp b/src/ripple_core/nodestore/backend/MdbFactory.cpp index 86135df620..ef91fee2f1 100644 --- a/src/ripple_core/nodestore/backend/MdbFactory.cpp +++ b/src/ripple_core/nodestore/backend/MdbFactory.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - #if RIPPLE_MDB_AVAILABLE namespace NodeStore diff --git a/src/ripple_core/nodestore/backend/MemoryFactory.cpp b/src/ripple_core/nodestore/backend/MemoryFactory.cpp index 5bf175b7ed..17847f2689 100644 --- a/src/ripple_core/nodestore/backend/MemoryFactory.cpp +++ b/src/ripple_core/nodestore/backend/MemoryFactory.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace NodeStore { diff --git a/src/ripple_core/nodestore/backend/NullFactory.cpp b/src/ripple_core/nodestore/backend/NullFactory.cpp index 72fc5f61ff..ca64a95ab2 100644 --- a/src/ripple_core/nodestore/backend/NullFactory.cpp +++ b/src/ripple_core/nodestore/backend/NullFactory.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace NodeStore { diff --git a/src/ripple_core/nodestore/backend/SophiaFactory.cpp b/src/ripple_core/nodestore/backend/SophiaFactory.cpp index afe0dab9c5..5f5405434c 100644 --- a/src/ripple_core/nodestore/backend/SophiaFactory.cpp +++ b/src/ripple_core/nodestore/backend/SophiaFactory.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - #if RIPPLE_SOPHIA_AVAILABLE namespace NodeStore diff --git a/src/ripple_core/nodestore/impl/BatchWriter.cpp b/src/ripple_core/nodestore/impl/BatchWriter.cpp index e528beedd0..d0869fbcf6 100644 --- a/src/ripple_core/nodestore/impl/BatchWriter.cpp +++ b/src/ripple_core/nodestore/impl/BatchWriter.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace NodeStore { diff --git a/src/ripple_core/nodestore/impl/DatabaseImp.h b/src/ripple_core/nodestore/impl/DatabaseImp.h index 568cb272a3..71211e50a3 100644 --- a/src/ripple_core/nodestore/impl/DatabaseImp.h +++ b/src/ripple_core/nodestore/impl/DatabaseImp.h @@ -17,7 +17,6 @@ */ //============================================================================== - namespace NodeStore { diff --git a/src/ripple_core/nodestore/impl/DecodedBlob.cpp b/src/ripple_core/nodestore/impl/DecodedBlob.cpp index 1f0322e16a..39b1219fa9 100644 --- a/src/ripple_core/nodestore/impl/DecodedBlob.cpp +++ b/src/ripple_core/nodestore/impl/DecodedBlob.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace NodeStore { diff --git a/src/ripple_core/nodestore/impl/DummyScheduler.cpp b/src/ripple_core/nodestore/impl/DummyScheduler.cpp index c40361bf72..2324ee053d 100644 --- a/src/ripple_core/nodestore/impl/DummyScheduler.cpp +++ b/src/ripple_core/nodestore/impl/DummyScheduler.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace NodeStore { diff --git a/src/ripple_core/nodestore/impl/EncodedBlob.cpp b/src/ripple_core/nodestore/impl/EncodedBlob.cpp index 4a3a1ee279..9ef3876c1e 100644 --- a/src/ripple_core/nodestore/impl/EncodedBlob.cpp +++ b/src/ripple_core/nodestore/impl/EncodedBlob.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace NodeStore { diff --git a/src/ripple_core/nodestore/impl/NodeObject.cpp b/src/ripple_core/nodestore/impl/NodeObject.cpp index 4a92fa5778..60213681ba 100644 --- a/src/ripple_core/nodestore/impl/NodeObject.cpp +++ b/src/ripple_core/nodestore/impl/NodeObject.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (NodeObject) //------------------------------------------------------------------------------ diff --git a/src/ripple_core/nodestore/tests/BackendTests.cpp b/src/ripple_core/nodestore/tests/BackendTests.cpp index a726d3a90c..c7a16d8a0a 100644 --- a/src/ripple_core/nodestore/tests/BackendTests.cpp +++ b/src/ripple_core/nodestore/tests/BackendTests.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace NodeStore { diff --git a/src/ripple_core/nodestore/tests/BasicTests.cpp b/src/ripple_core/nodestore/tests/BasicTests.cpp index e5ffee6fda..fca614dd96 100644 --- a/src/ripple_core/nodestore/tests/BasicTests.cpp +++ b/src/ripple_core/nodestore/tests/BasicTests.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace NodeStore { diff --git a/src/ripple_core/nodestore/tests/DatabaseTests.cpp b/src/ripple_core/nodestore/tests/DatabaseTests.cpp index f8e9917ad9..663fa3e126 100644 --- a/src/ripple_core/nodestore/tests/DatabaseTests.cpp +++ b/src/ripple_core/nodestore/tests/DatabaseTests.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace NodeStore { diff --git a/src/ripple_core/nodestore/tests/TimingTests.cpp b/src/ripple_core/nodestore/tests/TimingTests.cpp index 4d30d1dddc..570e768116 100644 --- a/src/ripple_core/nodestore/tests/TimingTests.cpp +++ b/src/ripple_core/nodestore/tests/TimingTests.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - namespace NodeStore { diff --git a/src/ripple_core/ripple_core.cpp b/src/ripple_core/ripple_core.cpp index b9a908129f..d93255385b 100644 --- a/src/ripple_core/ripple_core.cpp +++ b/src/ripple_core/ripple_core.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - #include "BeastConfig.h" #include "ripple_core.h" diff --git a/src/ripple_data/crypto/Base58Data.cpp b/src/ripple_data/crypto/Base58Data.cpp index daa3a7c958..e8afe2d440 100644 --- a/src/ripple_data/crypto/Base58Data.cpp +++ b/src/ripple_data/crypto/Base58Data.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2011 The Bitcoin Developers // Distributed under the MIT/X11 software license, see the accompanying diff --git a/src/ripple_data/crypto/Base58Data.h b/src/ripple_data/crypto/Base58Data.h index c5cd2bad8a..bd39626ce4 100644 --- a/src/ripple_data/crypto/Base58Data.h +++ b/src/ripple_data/crypto/Base58Data.h @@ -17,7 +17,6 @@ */ //============================================================================== - // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2011 The Bitcoin Developers // Distributed under the MIT/X11 software license, see the accompanying diff --git a/src/ripple_data/crypto/CKey.cpp b/src/ripple_data/crypto/CKey.cpp index 4ceb687eb5..46aaac6cae 100644 --- a/src/ripple_data/crypto/CKey.cpp +++ b/src/ripple_data/crypto/CKey.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2011 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying diff --git a/src/ripple_data/crypto/CKey.h b/src/ripple_data/crypto/CKey.h index 9cf5e43d39..20561ccd40 100644 --- a/src/ripple_data/crypto/CKey.h +++ b/src/ripple_data/crypto/CKey.h @@ -17,7 +17,6 @@ */ //============================================================================== - // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2011 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying diff --git a/src/ripple_data/crypto/CKeyDeterministic.cpp b/src/ripple_data/crypto/CKeyDeterministic.cpp index 9475ce9580..cfa02f12b9 100644 --- a/src/ripple_data/crypto/CKeyDeterministic.cpp +++ b/src/ripple_data/crypto/CKeyDeterministic.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // #define EC_DEBUG // Functions to add CKey support for deterministic EC keys diff --git a/src/ripple_data/crypto/CKeyECIES.cpp b/src/ripple_data/crypto/CKeyECIES.cpp index 2ab7707a83..30d45d9895 100644 --- a/src/ripple_data/crypto/CKeyECIES.cpp +++ b/src/ripple_data/crypto/CKeyECIES.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // ECIES uses elliptic curve keys to send an encrypted message. // A shared secret is generated from one public key and one private key. diff --git a/src/ripple_data/crypto/RFC1751.cpp b/src/ripple_data/crypto/RFC1751.cpp index 4b63d2470a..71201ca58e 100644 --- a/src/ripple_data/crypto/RFC1751.cpp +++ b/src/ripple_data/crypto/RFC1751.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // // RFC 1751 code converted to C++/Boost. // diff --git a/src/ripple_data/protocol/FieldNames.cpp b/src/ripple_data/protocol/FieldNames.cpp index 06edd3fb72..63d2c8aea8 100644 --- a/src/ripple_data/protocol/FieldNames.cpp +++ b/src/ripple_data/protocol/FieldNames.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // These must stay at the top of this file std::map SField::codeToField; int SField::num = 0; diff --git a/src/ripple_data/protocol/LedgerFormats.cpp b/src/ripple_data/protocol/LedgerFormats.cpp index 91897ca1e5..910f3dfebc 100644 --- a/src/ripple_data/protocol/LedgerFormats.cpp +++ b/src/ripple_data/protocol/LedgerFormats.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - LedgerFormats::LedgerFormats () { add ("AccountRoot", ltACCOUNT_ROOT) diff --git a/src/ripple_data/protocol/RippleAddress.cpp b/src/ripple_data/protocol/RippleAddress.cpp index be4e4a1c09..9e4a94114a 100644 --- a/src/ripple_data/protocol/RippleAddress.cpp +++ b/src/ripple_data/protocol/RippleAddress.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (RippleAddress) RippleAddress::RippleAddress () diff --git a/src/ripple_data/protocol/STAmount.cpp b/src/ripple_data/protocol/STAmount.cpp index 10acd996b1..d935a357e6 100644 --- a/src/ripple_data/protocol/STAmount.cpp +++ b/src/ripple_data/protocol/STAmount.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (STAmount) uint64 STAmount::uRateOne = STAmount::getRate (STAmount (1), STAmount (1)); diff --git a/src/ripple_data/protocol/STAmountRound.cpp b/src/ripple_data/protocol/STAmountRound.cpp index c9080353cd..6033de6719 100644 --- a/src/ripple_data/protocol/STAmountRound.cpp +++ b/src/ripple_data/protocol/STAmountRound.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - void STAmount::canonicalizeRound (bool isNative, uint64& value, int& offset, bool roundUp) { if (!roundUp) // canonicalize already rounds down diff --git a/src/ripple_data/protocol/SerializeDeclarations.h b/src/ripple_data/protocol/SerializeDeclarations.h index 67f1fbb4a6..dd113b5ba0 100644 --- a/src/ripple_data/protocol/SerializeDeclarations.h +++ b/src/ripple_data/protocol/SerializeDeclarations.h @@ -17,7 +17,6 @@ */ //============================================================================== - // This is not really a header file, but it can be used as one with // appropriate #define statements. diff --git a/src/ripple_data/protocol/SerializedObject.cpp b/src/ripple_data/protocol/SerializedObject.cpp index 11cd5a7714..11d50fcfe3 100644 --- a/src/ripple_data/protocol/SerializedObject.cpp +++ b/src/ripple_data/protocol/SerializedObject.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (STObject) UPTR_T STObject::makeDefaultObject (SerializedTypeID id, SField::ref name) diff --git a/src/ripple_data/protocol/SerializedObjectTemplate.cpp b/src/ripple_data/protocol/SerializedObjectTemplate.cpp index 198061080e..affa61398b 100644 --- a/src/ripple_data/protocol/SerializedObjectTemplate.cpp +++ b/src/ripple_data/protocol/SerializedObjectTemplate.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SOTemplate::SOTemplate () { } diff --git a/src/ripple_data/protocol/SerializedTypes.cpp b/src/ripple_data/protocol/SerializedTypes.cpp index 7f3928cfaf..105cb87abf 100644 --- a/src/ripple_data/protocol/SerializedTypes.cpp +++ b/src/ripple_data/protocol/SerializedTypes.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (SerializedType) const STAmount saZero (CURRENCY_ONE, ACCOUNT_ONE, 0); diff --git a/src/ripple_data/protocol/Serializer.cpp b/src/ripple_data/protocol/Serializer.cpp index a835bad494..f4ca233802 100644 --- a/src/ripple_data/protocol/Serializer.cpp +++ b/src/ripple_data/protocol/Serializer.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (Serializer) int Serializer::addZeros (size_t uBytes) diff --git a/src/ripple_data/protocol/TER.cpp b/src/ripple_data/protocol/TER.cpp index 506cdd710f..663bc8c803 100644 --- a/src/ripple_data/protocol/TER.cpp +++ b/src/ripple_data/protocol/TER.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - bool transResultInfo (TER terCode, std::string& strToken, std::string& strHuman) { static struct diff --git a/src/ripple_data/protocol/TxFormats.cpp b/src/ripple_data/protocol/TxFormats.cpp index c52718fffd..c8d75294c7 100644 --- a/src/ripple_data/protocol/TxFormats.cpp +++ b/src/ripple_data/protocol/TxFormats.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - TxFormats::TxFormats () { add ("AccountSet", ttACCOUNT_SET) @@ -106,5 +105,7 @@ void TxFormats::addCommonFields (Item& item) TxFormats* TxFormats::getInstance () { - return SharedSingleton ::getInstance (); + static TxFormats instance; + //return SharedSingleton ::getInstance (); + return &instance; } diff --git a/src/ripple_data/ripple_data.cpp b/src/ripple_data/ripple_data.cpp index c87f4ccf2a..6692adba8b 100644 --- a/src/ripple_data/ripple_data.cpp +++ b/src/ripple_data/ripple_data.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - #include "BeastConfig.h" #include "ripple_data.h" diff --git a/src/ripple_hyperleveldb/ripple_hyperleveldb.cpp b/src/ripple_hyperleveldb/ripple_hyperleveldb.cpp index a6d33dc1b7..fc746f102a 100644 --- a/src/ripple_hyperleveldb/ripple_hyperleveldb.cpp +++ b/src/ripple_hyperleveldb/ripple_hyperleveldb.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // Unity build file for LevelDB #include "BeastConfig.h" diff --git a/src/ripple_leveldb/ripple_leveldb.cpp b/src/ripple_leveldb/ripple_leveldb.cpp index 04ca2aaa0f..26c96a3971 100644 --- a/src/ripple_leveldb/ripple_leveldb.cpp +++ b/src/ripple_leveldb/ripple_leveldb.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // Unity build file for LevelDB #include "BeastConfig.h" diff --git a/src/ripple_mdb/ripple_mdb.c b/src/ripple_mdb/ripple_mdb.c index a5b5b52335..fca7599d53 100644 --- a/src/ripple_mdb/ripple_mdb.c +++ b/src/ripple_mdb/ripple_mdb.c @@ -17,7 +17,6 @@ */ //============================================================================== - // Unity build file for MDB #include "BeastConfig.h" diff --git a/src/ripple_net/basics/HTTPClient.cpp b/src/ripple_net/basics/HTTPClient.cpp index a9f61ef0ae..7e159b767b 100644 --- a/src/ripple_net/basics/HTTPClient.cpp +++ b/src/ripple_net/basics/HTTPClient.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // // Fetch a web page via http or https. // diff --git a/src/ripple_net/basics/HTTPRequest.cpp b/src/ripple_net/basics/HTTPRequest.cpp index 9c492338ea..d2991f0f40 100644 --- a/src/ripple_net/basics/HTTPRequest.cpp +++ b/src/ripple_net/basics/HTTPRequest.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (HTTPRequest) // Logic to handle incoming HTTP reqests diff --git a/src/ripple_net/basics/MultiSocket.cpp b/src/ripple_net/basics/MultiSocket.cpp index 43b36a24a6..aa7133d709 100644 --- a/src/ripple_net/basics/MultiSocket.cpp +++ b/src/ripple_net/basics/MultiSocket.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - MultiSocket* MultiSocket::New ( boost::asio::io_service& io_service, boost::asio::ssl::context& ssl_context, diff --git a/src/ripple_net/basics/RPCDoor.cpp b/src/ripple_net/basics/RPCDoor.cpp index 5990907227..522936a2b7 100644 --- a/src/ripple_net/basics/RPCDoor.cpp +++ b/src/ripple_net/basics/RPCDoor.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (RPCDoor) class RPCDoorImp : public RPCDoor, public LeakChecked diff --git a/src/ripple_net/basics/RippleSSLContext.cpp b/src/ripple_net/basics/RippleSSLContext.cpp index e2a794ce82..c562ae2825 100644 --- a/src/ripple_net/basics/RippleSSLContext.cpp +++ b/src/ripple_net/basics/RippleSSLContext.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - class RippleSSLContextImp : public RippleSSLContext { private: diff --git a/src/ripple_net/basics/SNTPClient.cpp b/src/ripple_net/basics/SNTPClient.cpp index a444148309..4c41b5bb29 100644 --- a/src/ripple_net/basics/SNTPClient.cpp +++ b/src/ripple_net/basics/SNTPClient.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (SNTPClient) // #define SNTP_DEBUG diff --git a/src/ripple_net/basics/impl/RPCServerImp.h b/src/ripple_net/basics/impl/RPCServerImp.h index 47b4b21a49..a36683a2d9 100644 --- a/src/ripple_net/basics/impl/RPCServerImp.h +++ b/src/ripple_net/basics/impl/RPCServerImp.h @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (RPCServer) class RPCServerImp diff --git a/src/ripple_net/ripple_net.cpp b/src/ripple_net/ripple_net.cpp index f6b41de19d..d2addab349 100644 --- a/src/ripple_net/ripple_net.cpp +++ b/src/ripple_net/ripple_net.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - /** Add this to get the @ref ripple_net module. @file ripple_net.cpp diff --git a/src/ripple_net/rpc/InfoSub.cpp b/src/ripple_net/rpc/InfoSub.cpp index 4c49a18423..b3037d5b7e 100644 --- a/src/ripple_net/rpc/InfoSub.cpp +++ b/src/ripple_net/rpc/InfoSub.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // This is the primary interface into the "client" portion of the program. // Code that wants to do normal operations on the network such as // creating and monitoring accounts, creating transactions, and so on diff --git a/src/ripple_net/rpc/RPCCall.cpp b/src/ripple_net/rpc/RPCCall.cpp index ac744edda3..66214cf6e0 100644 --- a/src/ripple_net/rpc/RPCCall.cpp +++ b/src/ripple_net/rpc/RPCCall.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - class RPCParser; SETUP_LOG (RPCParser) diff --git a/src/ripple_net/rpc/RPCErr.cpp b/src/ripple_net/rpc/RPCErr.cpp index 929aa4bf7e..8686493971 100644 --- a/src/ripple_net/rpc/RPCErr.cpp +++ b/src/ripple_net/rpc/RPCErr.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - struct RPCErr; // for Log SETUP_LOG (RPCErr) diff --git a/src/ripple_net/rpc/RPCSub.cpp b/src/ripple_net/rpc/RPCSub.cpp index cd63c56aaa..0e0cbe7bb8 100644 --- a/src/ripple_net/rpc/RPCSub.cpp +++ b/src/ripple_net/rpc/RPCSub.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - SETUP_LOG (RPCSub) // Subscription object for JSON-RPC diff --git a/src/ripple_net/rpc/RPCUtil.cpp b/src/ripple_net/rpc/RPCUtil.cpp index 445a6dd197..a613cf623d 100644 --- a/src/ripple_net/rpc/RPCUtil.cpp +++ b/src/ripple_net/rpc/RPCUtil.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // Used for logging struct RPCLog; diff --git a/src/ripple_websocket/autosocket/AutoSocket.cpp b/src/ripple_websocket/autosocket/AutoSocket.cpp index ed34620e82..25db6aee66 100644 --- a/src/ripple_websocket/autosocket/AutoSocket.cpp +++ b/src/ripple_websocket/autosocket/AutoSocket.cpp @@ -17,5 +17,4 @@ */ //============================================================================== - ripple::LogPartition AutoSocket::AutoSocketPartition ("AutoSocket"); diff --git a/src/ripple_websocket/autosocket/LogWebsockets.cpp b/src/ripple_websocket/autosocket/LogWebsockets.cpp index 8cb599b61e..ecf8754e50 100644 --- a/src/ripple_websocket/autosocket/LogWebsockets.cpp +++ b/src/ripple_websocket/autosocket/LogWebsockets.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - // VFALCO NOTE this looks like some facility for giving websocket // a way to produce logging output. // diff --git a/src/ripple_websocket/ripple_websocket.cpp b/src/ripple_websocket/ripple_websocket.cpp index 4dfc3aab48..c922b1414d 100644 --- a/src/ripple_websocket/ripple_websocket.cpp +++ b/src/ripple_websocket/ripple_websocket.cpp @@ -17,7 +17,6 @@ */ //============================================================================== - #include "BeastConfig.h" #ifndef __STDC_LIMIT_MACROS