From 00a7cbf61026161af947c2b37a1f8edf4f781528 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Sat, 15 Jun 2013 18:18:28 -0700 Subject: [PATCH] Update copyright notice and 80 column separators --- .../containers/ripple_KeyCache.h | 5 ++++- .../containers/ripple_RangeSet.cpp | 5 +++++ .../containers/ripple_RangeSet.h | 9 ++++++++ .../containers/ripple_SecureAllocator.h | 5 +++++ .../containers/ripple_TaggedCache.cpp | 6 ++++++ .../containers/ripple_TaggedCache.h | 6 ++++++ modules/ripple_basics/ripple_basics.cpp | 12 ----------- modules/ripple_basics/ripple_basics.h | 12 ----------- .../ripple_basics/types/ripple_BasicTypes.h | 5 ++++- modules/ripple_basics/types/ripple_HashMaps.h | 5 ++++- .../ripple_basics/types/ripple_UInt256.cpp | 5 +++++ modules/ripple_basics/types/ripple_UInt256.h | 6 ++++++ .../utility/ripple_ByteOrder.cpp | 6 ++++++ .../ripple_basics/utility/ripple_ByteOrder.h | 6 ++++++ .../utility/ripple_DiffieHellmanUtil.cpp | 6 +++++- .../utility/ripple_DiffieHellmanUtil.h | 6 +++++- .../utility/ripple_HashUtilities.h | 6 ++++++ .../utility/ripple_InstanceCounter.cpp | 5 +++++ .../utility/ripple_InstanceCounter.h | 6 ++++++ .../utility/ripple_IntegerTypes.h | 10 +++++++-- modules/ripple_basics/utility/ripple_Log.cpp | 5 +++++ modules/ripple_basics/utility/ripple_Log.h | 6 ++++++ .../utility/ripple_PlatformMacros.h | 12 ----------- .../utility/ripple_RandomNumbers.cpp | 12 ----------- .../utility/ripple_RandomNumbers.h | 12 ----------- .../ripple_basics/utility/ripple_ScopedLock.h | 6 ++++++ .../utility/ripple_StringUtilities.cpp | 5 +++++ .../utility/ripple_StringUtilities.h | 6 ++++++ .../ripple_basics/utility/ripple_Sustain.cpp | 12 ----------- .../ripple_basics/utility/ripple_Sustain.h | 12 ----------- .../utility/ripple_ThreadName.cpp | 12 ----------- .../ripple_basics/utility/ripple_ThreadName.h | 12 ----------- modules/ripple_basics/utility/ripple_Time.cpp | 12 ----------- modules/ripple_basics/utility/ripple_Time.h | 12 ----------- .../utility/ripple_UptimeTimer.cpp | 12 ----------- .../utility/ripple_UptimeTimer.h | 12 ----------- modules/ripple_client/ripple_client.cpp | 12 ----------- modules/ripple_client/ripple_client.h | 12 ----------- modules/ripple_data/crypto/ripple_Base58.cpp | 12 ----------- modules/ripple_data/crypto/ripple_Base58.h | 12 ----------- .../ripple_data/crypto/ripple_Base58Data.cpp | 12 ----------- .../ripple_data/crypto/ripple_Base58Data.h | 12 ----------- modules/ripple_data/crypto/ripple_CBigNum.cpp | 6 ++++++ modules/ripple_data/crypto/ripple_CBigNum.h | 3 +++ modules/ripple_data/crypto/ripple_CKey.cpp | 6 ++++++ modules/ripple_data/crypto/ripple_CKey.h | 12 ----------- .../crypto/ripple_CKeyDeterministic.cpp | 5 +++++ .../ripple_data/crypto/ripple_CKeyECIES.cpp | 5 +++++ modules/ripple_data/crypto/ripple_RFC1751.cpp | 6 ++++++ modules/ripple_data/crypto/ripple_RFC1751.h | 6 ++++++ .../protocol/ripple_FieldNames.cpp | 6 +++++- .../ripple_data/protocol/ripple_FieldNames.h | 6 ++++++ .../ripple_data/protocol/ripple_HashPrefix.h | 6 ++++++ .../protocol/ripple_LedgerFormat.cpp | 5 +++++ .../protocol/ripple_LedgerFormat.h | 6 ++++++ .../protocol/ripple_PackedMessage.cpp | 6 +++++- .../protocol/ripple_PackedMessage.h | 5 +++++ .../ripple_data/protocol/ripple_Protocol.h | 6 ++++++ .../protocol/ripple_RippleAddress.cpp | 5 +++++ .../protocol/ripple_RippleAddress.h | 6 ++++++ .../protocol/ripple_RippleSystem.h | 6 ++++++ .../ripple_data/protocol/ripple_STAmount.cpp | 5 +++++ .../protocol/ripple_STAmountRound.cpp | 5 +++++ .../protocol/ripple_SerializeDeclarations.h | 6 ++++++ .../protocol/ripple_SerializedObject.cpp | 5 +++++ .../protocol/ripple_SerializedObject.h | 6 ++++++ .../ripple_SerializedObjectTemplate.cpp | 5 +++++ .../ripple_SerializedObjectTemplate.h | 6 ++++++ .../protocol/ripple_SerializedTypes.cpp | 5 +++++ .../protocol/ripple_SerializedTypes.h | 6 ++++++ .../protocol/ripple_Serializer.cpp | 5 +++++ .../ripple_data/protocol/ripple_Serializer.h | 6 ++++++ modules/ripple_data/protocol/ripple_TER.cpp | 5 +++++ modules/ripple_data/protocol/ripple_TER.h | 6 ++++++ modules/ripple_data/protocol/ripple_TxFlags.h | 6 ++++++ .../ripple_data/protocol/ripple_TxFormat.cpp | 5 +++++ .../ripple_data/protocol/ripple_TxFormat.h | 6 ++++++ .../ripple_data/protocol/ripple_TxFormats.cpp | 5 +++++ .../ripple_data/protocol/ripple_TxFormats.h | 6 ++++++ modules/ripple_data/ripple_data.cpp | 12 ----------- modules/ripple_data/ripple_data.h | 12 ----------- .../ripple_data/utility/ripple_JSONCache.cpp | 5 ++++- .../ripple_data/utility/ripple_JSONCache.h | 6 ++++++ .../utility/ripple_UptimeTimerAdapter.h | 6 ++++++ modules/ripple_json/json/json.h | 21 ++++++++++++------- modules/ripple_json/json/json_autolink.h | 8 ++++++- .../ripple_json/json/json_batchallocator.h | 12 ++++++++--- modules/ripple_json/json/json_config.h | 8 ++++++- modules/ripple_json/json/json_features.h | 6 ++++++ modules/ripple_json/json/json_forwards.h | 6 ++++++ .../ripple_json/json/json_internalarray.inl | 6 ++++++ modules/ripple_json/json/json_internalmap.inl | 6 ++++++ modules/ripple_json/json/json_reader.cpp | 6 ++++++ modules/ripple_json/json/json_reader.h | 6 ++++++ modules/ripple_json/json/json_value.cpp | 5 +++++ modules/ripple_json/json/json_value.h | 8 ++++++- .../ripple_json/json/json_valueiterator.inl | 6 ++++++ modules/ripple_json/json/json_writer.cpp | 5 +++++ modules/ripple_json/json/json_writer.h | 8 ++++++- modules/ripple_json/ripple_json.cpp | 12 ----------- modules/ripple_json/ripple_json.h | 12 ----------- modules/ripple_main/ripple_main.cpp | 12 ----------- modules/ripple_main/ripple_main.h | 12 ----------- modules/ripple_main/ripple_main_pt1.cpp | 6 ++++++ modules/ripple_main/ripple_main_pt2.cpp | 6 ++++++ modules/ripple_main/ripple_main_pt3.cpp | 6 ++++++ modules/ripple_main/ripple_main_pt4.cpp | 6 ++++++ newcoin.vcxproj.filters | 2 +- src/cpp/database/SqliteDatabase.cpp | 6 ++++++ src/cpp/database/SqliteDatabase.h | 5 +++++ src/cpp/database/database.cpp | 7 ++++++- src/cpp/database/database.h | 6 ++++++ src/cpp/ripple/AccountSetTransactor.cpp | 6 ++++++ src/cpp/ripple/AccountSetTransactor.h | 6 ++++++ src/cpp/ripple/AutoSocket.h | 6 ++++++ src/cpp/ripple/CallRPC.cpp | 6 ++++++ src/cpp/ripple/CallRPC.h | 6 ++++++ src/cpp/ripple/ChangeTransactor.cpp | 6 ++++++ src/cpp/ripple/ChangeTransactor.h | 6 ++++++ src/cpp/ripple/Contract.cpp | 5 +++++ src/cpp/ripple/Contract.h | 6 ++++++ src/cpp/ripple/DBInit.cpp | 5 +++++ src/cpp/ripple/HTTPRequest.cpp | 6 ++++++ src/cpp/ripple/HTTPRequest.h | 6 ++++++ src/cpp/ripple/HttpsClient.cpp | 6 ++++++ src/cpp/ripple/HttpsClient.h | 6 ++++++ src/cpp/ripple/Interpreter.cpp | 6 ++++++ src/cpp/ripple/Interpreter.h | 6 ++++++ src/cpp/ripple/Ledger.cpp | 5 +++++ src/cpp/ripple/Ledger.h | 6 ++++++ src/cpp/ripple/LedgerEntrySet.cpp | 6 +++++- src/cpp/ripple/LedgerEntrySet.h | 6 ++++++ src/cpp/ripple/LedgerMaster.cpp | 5 +++++ src/cpp/ripple/LedgerMaster.h | 6 ++++++ src/cpp/ripple/LedgerProposal.cpp | 5 +++++ src/cpp/ripple/LedgerProposal.h | 6 ++++++ src/cpp/ripple/LedgerTiming.cpp | 5 +++++ src/cpp/ripple/LedgerTiming.h | 6 ++++++ src/cpp/ripple/NetworkOPs.cpp | 6 ++++++ src/cpp/ripple/NetworkOPs.h | 6 ++++++ src/cpp/ripple/OfferCancelTransactor.cpp | 6 ++++++ src/cpp/ripple/OfferCancelTransactor.h | 6 ++++++ src/cpp/ripple/OfferCreateTransactor.cpp | 6 ++++++ src/cpp/ripple/OfferCreateTransactor.h | 6 ++++++ src/cpp/ripple/Operation.cpp | 5 +++++ src/cpp/ripple/Operation.h | 6 ++++++ src/cpp/ripple/OrderBookDB.cpp | 6 ++++++ src/cpp/ripple/OrderBookDB.h | 5 +++++ src/cpp/ripple/ParameterTable.cpp | 6 ++++++ src/cpp/ripple/ParameterTable.h | 6 ++++++ src/cpp/ripple/ParseSection.cpp | 6 ++++++ src/cpp/ripple/ParseSection.h | 6 ++++++ src/cpp/ripple/PaymentTransactor.cpp | 6 ++++++ src/cpp/ripple/PaymentTransactor.h | 6 ++++++ src/cpp/ripple/PeerDoor.cpp | 5 +++++ src/cpp/ripple/PeerDoor.h | 6 ++++++ src/cpp/ripple/RPC.h | 6 ++++++ src/cpp/ripple/RPCDoor.cpp | 6 ++++++ src/cpp/ripple/RPCDoor.h | 6 ++++++ src/cpp/ripple/RPCErr.cpp | 6 ++++++ src/cpp/ripple/RPCErr.h | 6 ++++++ src/cpp/ripple/RPCHandler.cpp | 6 ++++++ src/cpp/ripple/RPCHandler.h | 6 ++++++ src/cpp/ripple/RPCServer.cpp | 6 ++++++ src/cpp/ripple/RPCServer.h | 6 ++++++ src/cpp/ripple/RPCSub.cpp | 6 ++++++ src/cpp/ripple/RPCSub.h | 6 ++++++ src/cpp/ripple/RegularKeySetTransactor.cpp | 6 ++++++ src/cpp/ripple/RegularKeySetTransactor.h | 6 ++++++ src/cpp/ripple/SNTPClient.cpp | 6 ++++++ src/cpp/ripple/SNTPClient.h | 6 ++++++ src/cpp/ripple/ScriptData.cpp | 6 ++++++ src/cpp/ripple/ScriptData.h | 6 ++++++ src/cpp/ripple/SerializedValidation.cpp | 6 ++++++ src/cpp/ripple/SerializedValidation.h | 6 ++++++ src/cpp/ripple/Transaction.cpp | 6 ++++++ src/cpp/ripple/Transaction.h | 6 ++++++ src/cpp/ripple/TransactionCheck.cpp | 6 ++++++ src/cpp/ripple/TransactionEngine.cpp | 6 ++++++ src/cpp/ripple/TransactionEngine.h | 6 ++++++ src/cpp/ripple/TransactionMaster.cpp | 6 ++++++ src/cpp/ripple/TransactionMaster.h | 6 ++++++ src/cpp/ripple/TransactionMeta.cpp | 6 ++++++ src/cpp/ripple/TransactionMeta.h | 6 ++++++ src/cpp/ripple/TransactionQueue.cpp | 6 ++++++ src/cpp/ripple/TransactionQueue.h | 6 ++++++ src/cpp/ripple/Transactor.cpp | 6 ++++++ src/cpp/ripple/Transactor.h | 6 ++++++ src/cpp/ripple/TrustSetTransactor.cpp | 6 ++++++ src/cpp/ripple/TrustSetTransactor.h | 6 ++++++ src/cpp/ripple/WSConnection.cpp | 6 ++++++ src/cpp/ripple/WSConnection.h | 6 ++++++ src/cpp/ripple/WSDoor.cpp | 6 ++++++ src/cpp/ripple/WSDoor.h | 6 ++++++ src/cpp/ripple/WSHandler.cpp | 6 ++++++ src/cpp/ripple/WSHandler.h | 6 ++++++ src/cpp/ripple/WalletAddTransactor.cpp | 6 ++++++ src/cpp/ripple/WalletAddTransactor.h | 6 ++++++ src/cpp/ripple/main.cpp | 6 ++++++ src/cpp/ripple/ripple_AcceptedLedger.cpp | 5 +++++ src/cpp/ripple/ripple_AcceptedLedger.h | 6 ++++++ src/cpp/ripple/ripple_AcceptedLedgerTx.cpp | 6 ++++++ src/cpp/ripple/ripple_AcceptedLedgerTx.h | 6 ++++++ src/cpp/ripple/ripple_AccountItem.cpp | 5 +++++ src/cpp/ripple/ripple_AccountItem.h | 6 ++++++ src/cpp/ripple/ripple_AccountItems.cpp | 5 +++++ src/cpp/ripple/ripple_AccountItems.h | 6 ++++++ src/cpp/ripple/ripple_AccountState.cpp | 5 +++++ src/cpp/ripple/ripple_AccountState.h | 6 ++++++ src/cpp/ripple/ripple_Application.cpp | 5 +++++ src/cpp/ripple/ripple_CanonicalTXSet.cpp | 5 +++++ src/cpp/ripple/ripple_CanonicalTXSet.h | 6 ++++++ src/cpp/ripple/ripple_Config.cpp | 6 ++++++ src/cpp/ripple/ripple_Config.h | 6 ++++++ src/cpp/ripple/ripple_DatabaseCon.cpp | 5 +++++ src/cpp/ripple/ripple_DatabaseCon.h | 6 ++++++ src/cpp/ripple/ripple_DisputedTx.cpp | 5 +++++ src/cpp/ripple/ripple_DisputedTx.h | 6 ++++++ src/cpp/ripple/ripple_Features.cpp | 5 +++++ src/cpp/ripple/ripple_FeeVote.cpp | 5 +++++ src/cpp/ripple/ripple_HashRouter.cpp | 5 +++++ src/cpp/ripple/ripple_HashedObject.cpp | 5 +++++ src/cpp/ripple/ripple_HashedObject.h | 6 ++++++ src/cpp/ripple/ripple_HashedObjectStore.cpp | 5 +++++ src/cpp/ripple/ripple_HashedObjectStore.h | 6 ++++++ src/cpp/ripple/ripple_IApplication.h | 6 ++++++ src/cpp/ripple/ripple_IFeatures.h | 6 ++++++ src/cpp/ripple/ripple_IFeeVote.h | 6 ++++++ src/cpp/ripple/ripple_IHashRouter.h | 6 ++++++ src/cpp/ripple/ripple_ILoadFeeTrack.h | 6 ++++++ src/cpp/ripple/ripple_IPeers.h | 6 +++++- src/cpp/ripple/ripple_IProofOfWorkFactory.h | 6 ++++++ src/cpp/ripple/ripple_IUniqueNodeList.h | 6 ++++++ src/cpp/ripple/ripple_IValidations.h | 6 ++++++ src/cpp/ripple/ripple_InfoSub.cpp | 5 +++++ src/cpp/ripple/ripple_InfoSub.h | 6 ++++++ src/cpp/ripple/ripple_Job.cpp | 5 +++++ src/cpp/ripple/ripple_Job.h | 6 ++++++ src/cpp/ripple/ripple_JobQueue.cpp | 6 +++++- src/cpp/ripple/ripple_JobQueue.h | 6 ++++++ src/cpp/ripple/ripple_LedgerAcquire.cpp | 5 +++++ src/cpp/ripple/ripple_LedgerAcquire.h | 6 ++++++ src/cpp/ripple/ripple_LedgerAcquireMaster.cpp | 5 +++++ src/cpp/ripple/ripple_LedgerAcquireMaster.h | 6 ++++++ src/cpp/ripple/ripple_LedgerConsensus.cpp | 5 +++++ src/cpp/ripple/ripple_LedgerConsensus.h | 6 ++++++ src/cpp/ripple/ripple_LedgerHistory.cpp | 5 +++++ src/cpp/ripple/ripple_LedgerHistory.h | 6 ++++++ src/cpp/ripple/ripple_LoadEvent.cpp | 5 +++++ src/cpp/ripple/ripple_LoadEvent.h | 6 ++++++ src/cpp/ripple/ripple_LoadFeeTrack.cpp | 5 +++++ src/cpp/ripple/ripple_LoadManager.cpp | 5 +++++ src/cpp/ripple/ripple_LoadManager.h | 6 ++++++ src/cpp/ripple/ripple_LoadMonitor.cpp | 6 ++++++ src/cpp/ripple/ripple_LoadMonitor.h | 6 ++++++ src/cpp/ripple/ripple_LocalCredentials.cpp | 5 +++++ src/cpp/ripple/ripple_LocalCredentials.h | 6 ++++++ src/cpp/ripple/ripple_LogWebsockets.cpp | 5 +++++ src/cpp/ripple/ripple_NicknameState.cpp | 5 +++++ src/cpp/ripple/ripple_NicknameState.h | 7 +++++++ src/cpp/ripple/ripple_Offer.cpp | 5 +++++ src/cpp/ripple/ripple_Offer.h | 6 ++++++ src/cpp/ripple/ripple_OrderBook.cpp | 5 +++++ src/cpp/ripple/ripple_OrderBook.h | 7 +++++++ src/cpp/ripple/ripple_PathRequest.cpp | 6 ++++++ src/cpp/ripple/ripple_PathRequest.h | 6 ++++++ src/cpp/ripple/ripple_PathState.cpp | 6 ++++++ src/cpp/ripple/ripple_PathState.h | 6 ++++++ src/cpp/ripple/ripple_Pathfinder.cpp | 5 +++++ src/cpp/ripple/ripple_Pathfinder.h | 6 ++++++ src/cpp/ripple/ripple_Peer.cpp | 6 ++++++ src/cpp/ripple/ripple_Peer.h | 11 ++++++++-- src/cpp/ripple/ripple_PeerSet.cpp | 5 +++++ src/cpp/ripple/ripple_PeerSet.h | 6 ++++++ src/cpp/ripple/ripple_Peers.cpp | 5 +++++ src/cpp/ripple/ripple_ProofOfWork.cpp | 6 +++++- src/cpp/ripple/ripple_ProofOfWork.h | 6 ++++++ src/cpp/ripple/ripple_ProofOfWorkFactory.cpp | 5 +++++ src/cpp/ripple/ripple_RippleCalc.cpp | 6 ++++++ src/cpp/ripple/ripple_RippleCalc.h | 6 ++++++ src/cpp/ripple/ripple_RippleLineCache.cpp | 5 +++++ src/cpp/ripple/ripple_RippleLineCache.h | 6 ++++++ src/cpp/ripple/ripple_RippleState.cpp | 6 +++++- src/cpp/ripple/ripple_RippleState.h | 6 ++++++ src/cpp/ripple/ripple_SHAMap.cpp | 6 +++++- src/cpp/ripple/ripple_SHAMap.h | 6 ++++++ src/cpp/ripple/ripple_SHAMapAddNode.h | 6 ++++++ src/cpp/ripple/ripple_SHAMapDelta.cpp | 6 ++++++ src/cpp/ripple/ripple_SHAMapItem.cpp | 5 +++++ src/cpp/ripple/ripple_SHAMapItem.h | 6 ++++++ src/cpp/ripple/ripple_SHAMapMissingNode.cpp | 5 +++++ src/cpp/ripple/ripple_SHAMapMissingNode.h | 6 ++++++ src/cpp/ripple/ripple_SHAMapNode.cpp | 5 +++++ src/cpp/ripple/ripple_SHAMapNode.h | 6 ++++++ src/cpp/ripple/ripple_SHAMapSync.cpp | 5 +++++ src/cpp/ripple/ripple_SHAMapSyncFilter.h | 6 ++++++ src/cpp/ripple/ripple_SHAMapSyncFilters.cpp | 5 +++++ src/cpp/ripple/ripple_SHAMapSyncFilters.h | 6 ++++++ src/cpp/ripple/ripple_SHAMapTreeNode.cpp | 6 ++++++ src/cpp/ripple/ripple_SHAMapTreeNode.h | 6 ++++++ src/cpp/ripple/ripple_SerializedLedger.cpp | 5 +++++ src/cpp/ripple/ripple_SerializedLedger.h | 6 ++++++ .../ripple/ripple_SerializedTransaction.cpp | 5 +++++ src/cpp/ripple/ripple_SerializedTransaction.h | 6 ++++++ src/cpp/ripple/ripple_TransactionAcquire.cpp | 5 +++++ src/cpp/ripple/ripple_TransactionAcquire.h | 6 ++++++ src/cpp/ripple/ripple_UniqueNodeList.cpp | 6 ++++++ src/cpp/ripple/ripple_Validations.cpp | 5 +++++ src/cpp/ripple/ripple_Version.h | 6 ++++++ src/cpp/ripple/rpc.cpp | 6 ++++++ 310 files changed, 1630 insertions(+), 346 deletions(-) diff --git a/modules/ripple_basics/containers/ripple_KeyCache.h b/modules/ripple_basics/containers/ripple_KeyCache.h index cca9266fa2..b9eb63cbd3 100644 --- a/modules/ripple_basics/containers/ripple_KeyCache.h +++ b/modules/ripple_basics/containers/ripple_KeyCache.h @@ -1,5 +1,8 @@ - //------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== #ifndef RIPPLE_KEYCACHE_H #define RIPPLE_KEYCACHE_H diff --git a/modules/ripple_basics/containers/ripple_RangeSet.cpp b/modules/ripple_basics/containers/ripple_RangeSet.cpp index 547ac99e8d..155bca3077 100644 --- a/modules/ripple_basics/containers/ripple_RangeSet.cpp +++ b/modules/ripple_basics/containers/ripple_RangeSet.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== SETUP_LOG (RangeSet) diff --git a/modules/ripple_basics/containers/ripple_RangeSet.h b/modules/ripple_basics/containers/ripple_RangeSet.h index 2b2642d8a5..cbed4135d1 100644 --- a/modules/ripple_basics/containers/ripple_RangeSet.h +++ b/modules/ripple_basics/containers/ripple_RangeSet.h @@ -1,6 +1,15 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_RANGESET_H #define RIPPLE_RANGESET_H +/** A sparse set of integers. +*/ +// VFALCO TODO Replace with juce::SparseSet class RangeSet { public: diff --git a/modules/ripple_basics/containers/ripple_SecureAllocator.h b/modules/ripple_basics/containers/ripple_SecureAllocator.h index 0369021d32..f956de7964 100644 --- a/modules/ripple_basics/containers/ripple_SecureAllocator.h +++ b/modules/ripple_basics/containers/ripple_SecureAllocator.h @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== #ifndef RIPPLE_SECUREALLOCATOR_H #define RIPPLE_SECUREALLOCATOR_H diff --git a/modules/ripple_basics/containers/ripple_TaggedCache.cpp b/modules/ripple_basics/containers/ripple_TaggedCache.cpp index a37a161c88..989c0d7675 100644 --- a/modules/ripple_basics/containers/ripple_TaggedCache.cpp +++ b/modules/ripple_basics/containers/ripple_TaggedCache.cpp @@ -1 +1,7 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + SETUP_LOG (TaggedCacheLog) diff --git a/modules/ripple_basics/containers/ripple_TaggedCache.h b/modules/ripple_basics/containers/ripple_TaggedCache.h index a425fc7645..1551ebda05 100644 --- a/modules/ripple_basics/containers/ripple_TaggedCache.h +++ b/modules/ripple_basics/containers/ripple_TaggedCache.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_TAGGEDCACHE_H #define RIPPLE_TAGGEDCACHE_H diff --git a/modules/ripple_basics/ripple_basics.cpp b/modules/ripple_basics/ripple_basics.cpp index cd9397289a..f4716d5a7f 100644 --- a/modules/ripple_basics/ripple_basics.cpp +++ b/modules/ripple_basics/ripple_basics.cpp @@ -1,18 +1,6 @@ //------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ //============================================================================== diff --git a/modules/ripple_basics/ripple_basics.h b/modules/ripple_basics/ripple_basics.h index 72be59c5ce..f5aa1305f3 100644 --- a/modules/ripple_basics/ripple_basics.h +++ b/modules/ripple_basics/ripple_basics.h @@ -1,18 +1,6 @@ //------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ //============================================================================== diff --git a/modules/ripple_basics/types/ripple_BasicTypes.h b/modules/ripple_basics/types/ripple_BasicTypes.h index d92d9d6bb8..eceae71dea 100644 --- a/modules/ripple_basics/types/ripple_BasicTypes.h +++ b/modules/ripple_basics/types/ripple_BasicTypes.h @@ -1,5 +1,8 @@ - //------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== #ifndef RIPPLE_TYPES_H #define RIPPLE_TYPES_H diff --git a/modules/ripple_basics/types/ripple_HashMaps.h b/modules/ripple_basics/types/ripple_HashMaps.h index 35c9bfb3c7..8c4da244a5 100644 --- a/modules/ripple_basics/types/ripple_HashMaps.h +++ b/modules/ripple_basics/types/ripple_HashMaps.h @@ -1,5 +1,8 @@ - //------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== #ifndef RIPPLE_HASHMAPS_H #define RIPPLE_HASHMAPS_H diff --git a/modules/ripple_basics/types/ripple_UInt256.cpp b/modules/ripple_basics/types/ripple_UInt256.cpp index 0839863a89..8be4879972 100644 --- a/modules/ripple_basics/types/ripple_UInt256.cpp +++ b/modules/ripple_basics/types/ripple_UInt256.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== std::size_t hash_value (uint256 const& u) { diff --git a/modules/ripple_basics/types/ripple_UInt256.h b/modules/ripple_basics/types/ripple_UInt256.h index 56904929ce..fa135ee218 100644 --- a/modules/ripple_basics/types/ripple_UInt256.h +++ b/modules/ripple_basics/types/ripple_UInt256.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + // 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/modules/ripple_basics/utility/ripple_ByteOrder.cpp b/modules/ripple_basics/utility/ripple_ByteOrder.cpp index de226524c9..2b6851e2bf 100644 --- a/modules/ripple_basics/utility/ripple_ByteOrder.cpp +++ b/modules/ripple_basics/utility/ripple_ByteOrder.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifdef WIN32 //#include diff --git a/modules/ripple_basics/utility/ripple_ByteOrder.h b/modules/ripple_basics/utility/ripple_ByteOrder.h index ca2a0ab5f3..872c415bb7 100644 --- a/modules/ripple_basics/utility/ripple_ByteOrder.h +++ b/modules/ripple_basics/utility/ripple_ByteOrder.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_BYTEORDER_H #define RIPPLE_BYTEORDER_H diff --git a/modules/ripple_basics/utility/ripple_DiffieHellmanUtil.cpp b/modules/ripple_basics/utility/ripple_DiffieHellmanUtil.cpp index 08fd1d4773..269407ccf9 100644 --- a/modules/ripple_basics/utility/ripple_DiffieHellmanUtil.cpp +++ b/modules/ripple_basics/utility/ripple_DiffieHellmanUtil.cpp @@ -1,4 +1,8 @@ - +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== std::string DH_der_gen (int iKeyLength) { diff --git a/modules/ripple_basics/utility/ripple_DiffieHellmanUtil.h b/modules/ripple_basics/utility/ripple_DiffieHellmanUtil.h index c9e4679c8a..18b0a7fcfe 100644 --- a/modules/ripple_basics/utility/ripple_DiffieHellmanUtil.h +++ b/modules/ripple_basics/utility/ripple_DiffieHellmanUtil.h @@ -1,4 +1,8 @@ - +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== #ifndef RIPPLE_DIFFIEHELLMANUTIL_H #define RIPPLE_DIFFIEHELLMANUTIL_H diff --git a/modules/ripple_basics/utility/ripple_HashUtilities.h b/modules/ripple_basics/utility/ripple_HashUtilities.h index a8eb769751..bc2f76cb0d 100644 --- a/modules/ripple_basics/utility/ripple_HashUtilities.h +++ b/modules/ripple_basics/utility/ripple_HashUtilities.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_HASHUTILITIES_H #define RIPPLE_HASHUTILITIES_H diff --git a/modules/ripple_basics/utility/ripple_InstanceCounter.cpp b/modules/ripple_basics/utility/ripple_InstanceCounter.cpp index 20d264435c..351ed39689 100644 --- a/modules/ripple_basics/utility/ripple_InstanceCounter.cpp +++ b/modules/ripple_basics/utility/ripple_InstanceCounter.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== InstanceType* InstanceType::sHeadInstance = NULL; bool InstanceType::sMultiThreaded = false; diff --git a/modules/ripple_basics/utility/ripple_InstanceCounter.h b/modules/ripple_basics/utility/ripple_InstanceCounter.h index ce3d121dc5..49b8a3b401 100644 --- a/modules/ripple_basics/utility/ripple_InstanceCounter.h +++ b/modules/ripple_basics/utility/ripple_InstanceCounter.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_INSTANCECOUNTER_H #define RIPPLE_INSTANCECOUNTER_H diff --git a/modules/ripple_basics/utility/ripple_IntegerTypes.h b/modules/ripple_basics/utility/ripple_IntegerTypes.h index 11ce703d62..95ffadee5c 100644 --- a/modules/ripple_basics/utility/ripple_IntegerTypes.h +++ b/modules/ripple_basics/utility/ripple_IntegerTypes.h @@ -1,5 +1,11 @@ -#ifndef INTEGERTYPES_H -#define INTEGERTYPES_H +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + +#ifndef RIPPLE_INTEGERTYPES_H +#define RIPPLE_INTEGERTYPES_H // VFALCO TODO determine if Borland C is supported #if defined (_MSC_VER) /*|| defined(__BORLANDC__)*/ diff --git a/modules/ripple_basics/utility/ripple_Log.cpp b/modules/ripple_basics/utility/ripple_Log.cpp index 099edc78f9..520a34bb33 100644 --- a/modules/ripple_basics/utility/ripple_Log.cpp +++ b/modules/ripple_basics/utility/ripple_Log.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== boost::recursive_mutex Log::sLock; diff --git a/modules/ripple_basics/utility/ripple_Log.h b/modules/ripple_basics/utility/ripple_Log.h index 0403bbbf89..6493a987b0 100644 --- a/modules/ripple_basics/utility/ripple_Log.h +++ b/modules/ripple_basics/utility/ripple_Log.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_LOG_H #define RIPPLE_LOG_H diff --git a/modules/ripple_basics/utility/ripple_PlatformMacros.h b/modules/ripple_basics/utility/ripple_PlatformMacros.h index 0b6c6f6325..d6be4a2f44 100644 --- a/modules/ripple_basics/utility/ripple_PlatformMacros.h +++ b/modules/ripple_basics/utility/ripple_PlatformMacros.h @@ -1,18 +1,6 @@ //------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ //============================================================================== diff --git a/modules/ripple_basics/utility/ripple_RandomNumbers.cpp b/modules/ripple_basics/utility/ripple_RandomNumbers.cpp index 48752abf18..76310d32c0 100644 --- a/modules/ripple_basics/utility/ripple_RandomNumbers.cpp +++ b/modules/ripple_basics/utility/ripple_RandomNumbers.cpp @@ -1,18 +1,6 @@ //------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ //============================================================================== diff --git a/modules/ripple_basics/utility/ripple_RandomNumbers.h b/modules/ripple_basics/utility/ripple_RandomNumbers.h index fc125466ce..d53ee3ba98 100644 --- a/modules/ripple_basics/utility/ripple_RandomNumbers.h +++ b/modules/ripple_basics/utility/ripple_RandomNumbers.h @@ -1,18 +1,6 @@ //------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ //============================================================================== diff --git a/modules/ripple_basics/utility/ripple_ScopedLock.h b/modules/ripple_basics/utility/ripple_ScopedLock.h index 922264ace3..a51dd1dd3a 100644 --- a/modules/ripple_basics/utility/ripple_ScopedLock.h +++ b/modules/ripple_basics/utility/ripple_ScopedLock.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_SCOPEDLOCK_H #define RIPPLE_SCOPEDLOCK_H diff --git a/modules/ripple_basics/utility/ripple_StringUtilities.cpp b/modules/ripple_basics/utility/ripple_StringUtilities.cpp index 8d499f87f6..090fad3c9a 100644 --- a/modules/ripple_basics/utility/ripple_StringUtilities.cpp +++ b/modules/ripple_basics/utility/ripple_StringUtilities.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== #if !defined(WIN32) && !defined(WIN64) #define _vsnprintf(a,b,c,d) vsnprintf(a,b,c,d) diff --git a/modules/ripple_basics/utility/ripple_StringUtilities.h b/modules/ripple_basics/utility/ripple_StringUtilities.h index c7959a73b7..4541752a3c 100644 --- a/modules/ripple_basics/utility/ripple_StringUtilities.h +++ b/modules/ripple_basics/utility/ripple_StringUtilities.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_STRINGUTILITIES_H #define RIPPLE_STRINGUTILITIES_H diff --git a/modules/ripple_basics/utility/ripple_Sustain.cpp b/modules/ripple_basics/utility/ripple_Sustain.cpp index 8271896cbc..a5b0b88e43 100644 --- a/modules/ripple_basics/utility/ripple_Sustain.cpp +++ b/modules/ripple_basics/utility/ripple_Sustain.cpp @@ -1,18 +1,6 @@ //------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ //============================================================================== diff --git a/modules/ripple_basics/utility/ripple_Sustain.h b/modules/ripple_basics/utility/ripple_Sustain.h index a2dca27415..d5ffecccb7 100644 --- a/modules/ripple_basics/utility/ripple_Sustain.h +++ b/modules/ripple_basics/utility/ripple_Sustain.h @@ -1,18 +1,6 @@ //------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ //============================================================================== diff --git a/modules/ripple_basics/utility/ripple_ThreadName.cpp b/modules/ripple_basics/utility/ripple_ThreadName.cpp index 69b0ed4ed2..634ad5ad44 100644 --- a/modules/ripple_basics/utility/ripple_ThreadName.cpp +++ b/modules/ripple_basics/utility/ripple_ThreadName.cpp @@ -1,18 +1,6 @@ //------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ //============================================================================== diff --git a/modules/ripple_basics/utility/ripple_ThreadName.h b/modules/ripple_basics/utility/ripple_ThreadName.h index 4edaa8563e..568e1e16ab 100644 --- a/modules/ripple_basics/utility/ripple_ThreadName.h +++ b/modules/ripple_basics/utility/ripple_ThreadName.h @@ -1,18 +1,6 @@ //------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ //============================================================================== diff --git a/modules/ripple_basics/utility/ripple_Time.cpp b/modules/ripple_basics/utility/ripple_Time.cpp index 58af2009fe..ea7dc321a0 100644 --- a/modules/ripple_basics/utility/ripple_Time.cpp +++ b/modules/ripple_basics/utility/ripple_Time.cpp @@ -1,18 +1,6 @@ //------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ //============================================================================== diff --git a/modules/ripple_basics/utility/ripple_Time.h b/modules/ripple_basics/utility/ripple_Time.h index 2492f628e7..1858a67500 100644 --- a/modules/ripple_basics/utility/ripple_Time.h +++ b/modules/ripple_basics/utility/ripple_Time.h @@ -1,18 +1,6 @@ //------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ //============================================================================== diff --git a/modules/ripple_basics/utility/ripple_UptimeTimer.cpp b/modules/ripple_basics/utility/ripple_UptimeTimer.cpp index 83bcf0b81f..2412b9f20b 100644 --- a/modules/ripple_basics/utility/ripple_UptimeTimer.cpp +++ b/modules/ripple_basics/utility/ripple_UptimeTimer.cpp @@ -1,18 +1,6 @@ //------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ //============================================================================== diff --git a/modules/ripple_basics/utility/ripple_UptimeTimer.h b/modules/ripple_basics/utility/ripple_UptimeTimer.h index ffe135b035..8876173b0c 100644 --- a/modules/ripple_basics/utility/ripple_UptimeTimer.h +++ b/modules/ripple_basics/utility/ripple_UptimeTimer.h @@ -1,18 +1,6 @@ //------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ //============================================================================== diff --git a/modules/ripple_client/ripple_client.cpp b/modules/ripple_client/ripple_client.cpp index 58afbe5a87..fa3650fbf2 100644 --- a/modules/ripple_client/ripple_client.cpp +++ b/modules/ripple_client/ripple_client.cpp @@ -1,18 +1,6 @@ //------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ //============================================================================== diff --git a/modules/ripple_client/ripple_client.h b/modules/ripple_client/ripple_client.h index 25d4dce5e9..9f13c24079 100644 --- a/modules/ripple_client/ripple_client.h +++ b/modules/ripple_client/ripple_client.h @@ -1,18 +1,6 @@ //------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ //============================================================================== diff --git a/modules/ripple_data/crypto/ripple_Base58.cpp b/modules/ripple_data/crypto/ripple_Base58.cpp index 4dd6e661f4..e00a39b0a2 100644 --- a/modules/ripple_data/crypto/ripple_Base58.cpp +++ b/modules/ripple_data/crypto/ripple_Base58.cpp @@ -1,18 +1,6 @@ //------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ //============================================================================== diff --git a/modules/ripple_data/crypto/ripple_Base58.h b/modules/ripple_data/crypto/ripple_Base58.h index c6e8481206..7937e2178f 100644 --- a/modules/ripple_data/crypto/ripple_Base58.h +++ b/modules/ripple_data/crypto/ripple_Base58.h @@ -1,18 +1,6 @@ //------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ //============================================================================== diff --git a/modules/ripple_data/crypto/ripple_Base58Data.cpp b/modules/ripple_data/crypto/ripple_Base58Data.cpp index 08198d1737..9cda02e6f5 100644 --- a/modules/ripple_data/crypto/ripple_Base58Data.cpp +++ b/modules/ripple_data/crypto/ripple_Base58Data.cpp @@ -1,18 +1,6 @@ //------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ //============================================================================== diff --git a/modules/ripple_data/crypto/ripple_Base58Data.h b/modules/ripple_data/crypto/ripple_Base58Data.h index 3461220552..84ce69fe49 100644 --- a/modules/ripple_data/crypto/ripple_Base58Data.h +++ b/modules/ripple_data/crypto/ripple_Base58Data.h @@ -1,18 +1,6 @@ //------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ //============================================================================== diff --git a/modules/ripple_data/crypto/ripple_CBigNum.cpp b/modules/ripple_data/crypto/ripple_CBigNum.cpp index 5d7811a8a2..ba9412dd19 100644 --- a/modules/ripple_data/crypto/ripple_CBigNum.cpp +++ b/modules/ripple_data/crypto/ripple_CBigNum.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + // 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/modules/ripple_data/crypto/ripple_CBigNum.h b/modules/ripple_data/crypto/ripple_CBigNum.h index 529b25a8f7..951e4cecff 100644 --- a/modules/ripple_data/crypto/ripple_CBigNum.h +++ b/modules/ripple_data/crypto/ripple_CBigNum.h @@ -1,4 +1,7 @@ //------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ //============================================================================== // Copyright (c) 2009-2010 Satoshi Nakamoto diff --git a/modules/ripple_data/crypto/ripple_CKey.cpp b/modules/ripple_data/crypto/ripple_CKey.cpp index b86720b429..1a443a5a6d 100644 --- a/modules/ripple_data/crypto/ripple_CKey.cpp +++ b/modules/ripple_data/crypto/ripple_CKey.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + // 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/modules/ripple_data/crypto/ripple_CKey.h b/modules/ripple_data/crypto/ripple_CKey.h index a6048cf74f..78d025890c 100644 --- a/modules/ripple_data/crypto/ripple_CKey.h +++ b/modules/ripple_data/crypto/ripple_CKey.h @@ -1,18 +1,6 @@ //------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ //============================================================================== diff --git a/modules/ripple_data/crypto/ripple_CKeyDeterministic.cpp b/modules/ripple_data/crypto/ripple_CKeyDeterministic.cpp index aa9f304be9..c60ed4e3fe 100644 --- a/modules/ripple_data/crypto/ripple_CKeyDeterministic.cpp +++ b/modules/ripple_data/crypto/ripple_CKeyDeterministic.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== // #define EC_DEBUG diff --git a/modules/ripple_data/crypto/ripple_CKeyECIES.cpp b/modules/ripple_data/crypto/ripple_CKeyECIES.cpp index 9c3fe6882e..0903e01272 100644 --- a/modules/ripple_data/crypto/ripple_CKeyECIES.cpp +++ b/modules/ripple_data/crypto/ripple_CKeyECIES.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== // ECIES uses elliptic curve keys to send an encrypted message. diff --git a/modules/ripple_data/crypto/ripple_RFC1751.cpp b/modules/ripple_data/crypto/ripple_RFC1751.cpp index cfd46213c6..9c1e9ef393 100644 --- a/modules/ripple_data/crypto/ripple_RFC1751.cpp +++ b/modules/ripple_data/crypto/ripple_RFC1751.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + // // RFC 1751 code converted to C++/Boost. // diff --git a/modules/ripple_data/crypto/ripple_RFC1751.h b/modules/ripple_data/crypto/ripple_RFC1751.h index 33203d6741..3a612b410d 100644 --- a/modules/ripple_data/crypto/ripple_RFC1751.h +++ b/modules/ripple_data/crypto/ripple_RFC1751.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_RFC1751_H #define RIPPLE_RFC1751_H diff --git a/modules/ripple_data/protocol/ripple_FieldNames.cpp b/modules/ripple_data/protocol/ripple_FieldNames.cpp index e1964ead7f..8b8f6282d5 100644 --- a/modules/ripple_data/protocol/ripple_FieldNames.cpp +++ b/modules/ripple_data/protocol/ripple_FieldNames.cpp @@ -1,4 +1,8 @@ - +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== // These must stay at the top of this file std::map SField::codeToField; diff --git a/modules/ripple_data/protocol/ripple_FieldNames.h b/modules/ripple_data/protocol/ripple_FieldNames.h index e111cc4025..918632288a 100644 --- a/modules/ripple_data/protocol/ripple_FieldNames.h +++ b/modules/ripple_data/protocol/ripple_FieldNames.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_FIELDNAMES_H #define RIPPLE_FIELDNAMES_H diff --git a/modules/ripple_data/protocol/ripple_HashPrefix.h b/modules/ripple_data/protocol/ripple_HashPrefix.h index 073ba70799..fe7d575a79 100644 --- a/modules/ripple_data/protocol/ripple_HashPrefix.h +++ b/modules/ripple_data/protocol/ripple_HashPrefix.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_HASHPREFIX_H #define RIPPLE_HASHPREFIX_H diff --git a/modules/ripple_data/protocol/ripple_LedgerFormat.cpp b/modules/ripple_data/protocol/ripple_LedgerFormat.cpp index 17cf1377a5..5231ea182b 100644 --- a/modules/ripple_data/protocol/ripple_LedgerFormat.cpp +++ b/modules/ripple_data/protocol/ripple_LedgerFormat.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== std::map LedgerEntryFormat::byType; diff --git a/modules/ripple_data/protocol/ripple_LedgerFormat.h b/modules/ripple_data/protocol/ripple_LedgerFormat.h index 914a4cd434..3cc08692ff 100644 --- a/modules/ripple_data/protocol/ripple_LedgerFormat.h +++ b/modules/ripple_data/protocol/ripple_LedgerFormat.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_LEDGERFORMAT_H #define RIPPLE_LEDGERFORMAT_H diff --git a/modules/ripple_data/protocol/ripple_PackedMessage.cpp b/modules/ripple_data/protocol/ripple_PackedMessage.cpp index 4aff824e05..3b60f9a69c 100644 --- a/modules/ripple_data/protocol/ripple_PackedMessage.cpp +++ b/modules/ripple_data/protocol/ripple_PackedMessage.cpp @@ -1,4 +1,8 @@ - +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== PackedMessage::PackedMessage (::google::protobuf::Message const& message, int type) { diff --git a/modules/ripple_data/protocol/ripple_PackedMessage.h b/modules/ripple_data/protocol/ripple_PackedMessage.h index a949c3fd2e..9781276462 100644 --- a/modules/ripple_data/protocol/ripple_PackedMessage.h +++ b/modules/ripple_data/protocol/ripple_PackedMessage.h @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== // // packaging of messages into length/type-prepended buffers // ready for transmission. diff --git a/modules/ripple_data/protocol/ripple_Protocol.h b/modules/ripple_data/protocol/ripple_Protocol.h index 77a07cb737..41fd4bd8ce 100644 --- a/modules/ripple_data/protocol/ripple_Protocol.h +++ b/modules/ripple_data/protocol/ripple_Protocol.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_PROTOCOL_H #define RIPPLE_PROTOCOL_H diff --git a/modules/ripple_data/protocol/ripple_RippleAddress.cpp b/modules/ripple_data/protocol/ripple_RippleAddress.cpp index 3f36f35a4d..c0dd4da9d4 100644 --- a/modules/ripple_data/protocol/ripple_RippleAddress.cpp +++ b/modules/ripple_data/protocol/ripple_RippleAddress.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== SETUP_LOG (RippleAddress) diff --git a/modules/ripple_data/protocol/ripple_RippleAddress.h b/modules/ripple_data/protocol/ripple_RippleAddress.h index b32841c39d..cb05b20d13 100644 --- a/modules/ripple_data/protocol/ripple_RippleAddress.h +++ b/modules/ripple_data/protocol/ripple_RippleAddress.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_RIPPLEADDRESS_H #define RIPPLE_RIPPLEADDRESS_H diff --git a/modules/ripple_data/protocol/ripple_RippleSystem.h b/modules/ripple_data/protocol/ripple_RippleSystem.h index a1ce386008..040aeb3753 100644 --- a/modules/ripple_data/protocol/ripple_RippleSystem.h +++ b/modules/ripple_data/protocol/ripple_RippleSystem.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_RIPPLESYSTEM_H #define RIPPLE_RIPPLESYSTEM_H diff --git a/modules/ripple_data/protocol/ripple_STAmount.cpp b/modules/ripple_data/protocol/ripple_STAmount.cpp index 296dff2acc..f0d057094a 100644 --- a/modules/ripple_data/protocol/ripple_STAmount.cpp +++ b/modules/ripple_data/protocol/ripple_STAmount.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== SETUP_LOG (STAmount) diff --git a/modules/ripple_data/protocol/ripple_STAmountRound.cpp b/modules/ripple_data/protocol/ripple_STAmountRound.cpp index 92de7a7872..d32665c487 100644 --- a/modules/ripple_data/protocol/ripple_STAmountRound.cpp +++ b/modules/ripple_data/protocol/ripple_STAmountRound.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== // CAUTION: This is early code and is *NOT* ready for real use yet. diff --git a/modules/ripple_data/protocol/ripple_SerializeDeclarations.h b/modules/ripple_data/protocol/ripple_SerializeDeclarations.h index 0af868e738..6c65089aed 100644 --- a/modules/ripple_data/protocol/ripple_SerializeDeclarations.h +++ b/modules/ripple_data/protocol/ripple_SerializeDeclarations.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + // This is not really a header file, but it can be used as one with // appropriate #define statements. diff --git a/modules/ripple_data/protocol/ripple_SerializedObject.cpp b/modules/ripple_data/protocol/ripple_SerializedObject.cpp index c159941a90..be3a4cc09d 100644 --- a/modules/ripple_data/protocol/ripple_SerializedObject.cpp +++ b/modules/ripple_data/protocol/ripple_SerializedObject.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== SETUP_LOG (STObject) diff --git a/modules/ripple_data/protocol/ripple_SerializedObject.h b/modules/ripple_data/protocol/ripple_SerializedObject.h index 0bd3301573..91e45731a2 100644 --- a/modules/ripple_data/protocol/ripple_SerializedObject.h +++ b/modules/ripple_data/protocol/ripple_SerializedObject.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_SERIALIZEDOBJECT_H #define RIPPLE_SERIALIZEDOBJECT_H diff --git a/modules/ripple_data/protocol/ripple_SerializedObjectTemplate.cpp b/modules/ripple_data/protocol/ripple_SerializedObjectTemplate.cpp index 2bb5900726..c837ece529 100644 --- a/modules/ripple_data/protocol/ripple_SerializedObjectTemplate.cpp +++ b/modules/ripple_data/protocol/ripple_SerializedObjectTemplate.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== SOTemplate::SOTemplate () { diff --git a/modules/ripple_data/protocol/ripple_SerializedObjectTemplate.h b/modules/ripple_data/protocol/ripple_SerializedObjectTemplate.h index 61007cce93..9a844074b7 100644 --- a/modules/ripple_data/protocol/ripple_SerializedObjectTemplate.h +++ b/modules/ripple_data/protocol/ripple_SerializedObjectTemplate.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_SERIALIZEDOBJECTTEMPLATE_H #define RIPPLE_SERIALIZEDOBJECTTEMPLATE_H diff --git a/modules/ripple_data/protocol/ripple_SerializedTypes.cpp b/modules/ripple_data/protocol/ripple_SerializedTypes.cpp index 6a2546f180..43ae0bbbad 100644 --- a/modules/ripple_data/protocol/ripple_SerializedTypes.cpp +++ b/modules/ripple_data/protocol/ripple_SerializedTypes.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== SETUP_LOG (SerializedType) diff --git a/modules/ripple_data/protocol/ripple_SerializedTypes.h b/modules/ripple_data/protocol/ripple_SerializedTypes.h index 7d4a7c38a2..3fd02ea352 100644 --- a/modules/ripple_data/protocol/ripple_SerializedTypes.h +++ b/modules/ripple_data/protocol/ripple_SerializedTypes.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_SERIALIZEDTYPES_H #define RIPPLE_SERIALIZEDTYPES_H diff --git a/modules/ripple_data/protocol/ripple_Serializer.cpp b/modules/ripple_data/protocol/ripple_Serializer.cpp index 94562db2c2..2debcb5329 100644 --- a/modules/ripple_data/protocol/ripple_Serializer.cpp +++ b/modules/ripple_data/protocol/ripple_Serializer.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== SETUP_LOG (Serializer) diff --git a/modules/ripple_data/protocol/ripple_Serializer.h b/modules/ripple_data/protocol/ripple_Serializer.h index 6230a3e358..8a2fb4ce89 100644 --- a/modules/ripple_data/protocol/ripple_Serializer.h +++ b/modules/ripple_data/protocol/ripple_Serializer.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_SERIALIZER_H #define RIPPLE_SERIALIZER_H diff --git a/modules/ripple_data/protocol/ripple_TER.cpp b/modules/ripple_data/protocol/ripple_TER.cpp index 74b5e8f2d6..ff08562a56 100644 --- a/modules/ripple_data/protocol/ripple_TER.cpp +++ b/modules/ripple_data/protocol/ripple_TER.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== bool transResultInfo (TER terCode, std::string& strToken, std::string& strHuman) { diff --git a/modules/ripple_data/protocol/ripple_TER.h b/modules/ripple_data/protocol/ripple_TER.h index 57f922b700..1ca9d7f5d2 100644 --- a/modules/ripple_data/protocol/ripple_TER.h +++ b/modules/ripple_data/protocol/ripple_TER.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_TER_H #define RIPPLE_TER_H diff --git a/modules/ripple_data/protocol/ripple_TxFlags.h b/modules/ripple_data/protocol/ripple_TxFlags.h index 13d8b265dc..5a8fee2207 100644 --- a/modules/ripple_data/protocol/ripple_TxFlags.h +++ b/modules/ripple_data/protocol/ripple_TxFlags.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_TXFLAGS_H #define RIPPLE_TXFLAGS_H diff --git a/modules/ripple_data/protocol/ripple_TxFormat.cpp b/modules/ripple_data/protocol/ripple_TxFormat.cpp index dc1da150eb..b8a45ae6e8 100644 --- a/modules/ripple_data/protocol/ripple_TxFormat.cpp +++ b/modules/ripple_data/protocol/ripple_TxFormat.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== // VFALCO TODO Find a way to not use macros. inline function? diff --git a/modules/ripple_data/protocol/ripple_TxFormat.h b/modules/ripple_data/protocol/ripple_TxFormat.h index f8e31abf9f..09ff0ea2a2 100644 --- a/modules/ripple_data/protocol/ripple_TxFormat.h +++ b/modules/ripple_data/protocol/ripple_TxFormat.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_TXFORMAT_H #define RIPPLE_TXFORMAT_H diff --git a/modules/ripple_data/protocol/ripple_TxFormats.cpp b/modules/ripple_data/protocol/ripple_TxFormats.cpp index 2d566965ab..14c248c21e 100644 --- a/modules/ripple_data/protocol/ripple_TxFormats.cpp +++ b/modules/ripple_data/protocol/ripple_TxFormats.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== TxFormats& TxFormats::getInstance () { diff --git a/modules/ripple_data/protocol/ripple_TxFormats.h b/modules/ripple_data/protocol/ripple_TxFormats.h index dfb2f4578d..12878db2ab 100644 --- a/modules/ripple_data/protocol/ripple_TxFormats.h +++ b/modules/ripple_data/protocol/ripple_TxFormats.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_TXFORMATS_H #define RIPPLE_TXFORMATS_H diff --git a/modules/ripple_data/ripple_data.cpp b/modules/ripple_data/ripple_data.cpp index 0ecb8758e4..d8a9981b94 100644 --- a/modules/ripple_data/ripple_data.cpp +++ b/modules/ripple_data/ripple_data.cpp @@ -1,18 +1,6 @@ //------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ //============================================================================== diff --git a/modules/ripple_data/ripple_data.h b/modules/ripple_data/ripple_data.h index a531141d76..022434150e 100644 --- a/modules/ripple_data/ripple_data.h +++ b/modules/ripple_data/ripple_data.h @@ -1,18 +1,6 @@ //------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ //============================================================================== diff --git a/modules/ripple_data/utility/ripple_JSONCache.cpp b/modules/ripple_data/utility/ripple_JSONCache.cpp index f2f50f8ec9..1eaed909cb 100644 --- a/modules/ripple_data/utility/ripple_JSONCache.cpp +++ b/modules/ripple_data/utility/ripple_JSONCache.cpp @@ -1,5 +1,8 @@ - //------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== JSONCache::Key::Key (int op, uint256 const& ledger, uint160 const& object, int lastUse) : mLedger (ledger) diff --git a/modules/ripple_data/utility/ripple_JSONCache.h b/modules/ripple_data/utility/ripple_JSONCache.h index 3535dced03..b86bdc150e 100644 --- a/modules/ripple_data/utility/ripple_JSONCache.h +++ b/modules/ripple_data/utility/ripple_JSONCache.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_JSCONCACHE_H #define RIPPLE_JSCONCACHE_H diff --git a/modules/ripple_data/utility/ripple_UptimeTimerAdapter.h b/modules/ripple_data/utility/ripple_UptimeTimerAdapter.h index 436894dfbf..d8b838cd44 100644 --- a/modules/ripple_data/utility/ripple_UptimeTimerAdapter.h +++ b/modules/ripple_data/utility/ripple_UptimeTimerAdapter.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_UPTIMETIMERADAPTER_H #define RIPPLE_UPTIMETIMERADAPTER_H diff --git a/modules/ripple_json/json/json.h b/modules/ripple_json/json/json.h index c71ed65abf..69d2c99729 100644 --- a/modules/ripple_json/json/json.h +++ b/modules/ripple_json/json/json.h @@ -1,10 +1,17 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef JSON_JSON_H_INCLUDED -# define JSON_JSON_H_INCLUDED +#define JSON_JSON_H_INCLUDED -# include "autolink.h" -# include "value.h" -# include "reader.h" -# include "writer.h" -# include "features.h" +#include "autolink.h" +#include "value.h" +#include "reader.h" +#include "writer.h" +#include "features.h" + +#endif -#endif // JSON_JSON_H_INCLUDED diff --git a/modules/ripple_json/json/json_autolink.h b/modules/ripple_json/json/json_autolink.h index ea5ba2a30e..3e640f5bc6 100644 --- a/modules/ripple_json/json/json_autolink.h +++ b/modules/ripple_json/json/json_autolink.h @@ -1,5 +1,11 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef JSON_AUTOLINK_H_INCLUDED -# define JSON_AUTOLINK_H_INCLUDED +#define JSON_AUTOLINK_H_INCLUDED // VFALCO TODO remove this file #error This file is deprecated! diff --git a/modules/ripple_json/json/json_batchallocator.h b/modules/ripple_json/json/json_batchallocator.h index cd5feede75..6249b8776b 100644 --- a/modules/ripple_json/json/json_batchallocator.h +++ b/modules/ripple_json/json/json_batchallocator.h @@ -1,7 +1,13 @@ -#ifndef JSONCPP_BATCHALLOCATOR_H_INCLUDED -# define JSONCPP_BATCHALLOCATOR_H_INCLUDED +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== -# ifndef JSONCPP_DOC_EXCLUDE_IMPLEMENTATION +#ifndef JSONCPP_BATCHALLOCATOR_H_INCLUDED +#define JSONCPP_BATCHALLOCATOR_H_INCLUDED + +#ifndef JSONCPP_DOC_EXCLUDE_IMPLEMENTATION namespace Json { diff --git a/modules/ripple_json/json/json_config.h b/modules/ripple_json/json/json_config.h index 5d334cbc5e..c637b83aa3 100644 --- a/modules/ripple_json/json/json_config.h +++ b/modules/ripple_json/json/json_config.h @@ -1,5 +1,11 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef JSON_CONFIG_H_INCLUDED -# define JSON_CONFIG_H_INCLUDED +#define JSON_CONFIG_H_INCLUDED /// If defined, indicates that json library is embedded in CppTL library. //# define JSON_IN_CPPTL 1 diff --git a/modules/ripple_json/json/json_features.h b/modules/ripple_json/json/json_features.h index 0d289bb132..ae1610941f 100644 --- a/modules/ripple_json/json/json_features.h +++ b/modules/ripple_json/json/json_features.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef CPPTL_JSON_FEATURES_H_INCLUDED #define CPPTL_JSON_FEATURES_H_INCLUDED diff --git a/modules/ripple_json/json/json_forwards.h b/modules/ripple_json/json/json_forwards.h index fefa027022..0d3d510ecb 100644 --- a/modules/ripple_json/json/json_forwards.h +++ b/modules/ripple_json/json/json_forwards.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef JSON_FORWARDS_H_INCLUDED #define JSON_FORWARDS_H_INCLUDED diff --git a/modules/ripple_json/json/json_internalarray.inl b/modules/ripple_json/json/json_internalarray.inl index 4709ab8485..f0ac4c58ea 100644 --- a/modules/ripple_json/json/json_internalarray.inl +++ b/modules/ripple_json/json/json_internalarray.inl @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + // included by json_value.cpp // everything is within Json namespace diff --git a/modules/ripple_json/json/json_internalmap.inl b/modules/ripple_json/json/json_internalmap.inl index 956ae81e7d..52fac1662a 100644 --- a/modules/ripple_json/json/json_internalmap.inl +++ b/modules/ripple_json/json/json_internalmap.inl @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + // included by json_value.cpp // everything is within Json namespace diff --git a/modules/ripple_json/json/json_reader.cpp b/modules/ripple_json/json/json_reader.cpp index 4d4bc60fda..aa4e1353f5 100644 --- a/modules/ripple_json/json/json_reader.cpp +++ b/modules/ripple_json/json/json_reader.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + namespace Json { diff --git a/modules/ripple_json/json/json_reader.h b/modules/ripple_json/json/json_reader.h index e906954a3a..b49fc6e172 100644 --- a/modules/ripple_json/json/json_reader.h +++ b/modules/ripple_json/json/json_reader.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef CPPTL_JSON_READER_H_INCLUDED # define CPPTL_JSON_READER_H_INCLUDED diff --git a/modules/ripple_json/json/json_value.cpp b/modules/ripple_json/json/json_value.cpp index 274314e0d6..d7f2404adb 100644 --- a/modules/ripple_json/json/json_value.cpp +++ b/modules/ripple_json/json/json_value.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== namespace Json { diff --git a/modules/ripple_json/json/json_value.h b/modules/ripple_json/json/json_value.h index cd713e1792..204da7d590 100644 --- a/modules/ripple_json/json/json_value.h +++ b/modules/ripple_json/json/json_value.h @@ -1,5 +1,11 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef CPPTL_JSON_H_INCLUDED -# define CPPTL_JSON_H_INCLUDED +#define CPPTL_JSON_H_INCLUDED /** \brief JSON (JavaScript Object Notation). */ diff --git a/modules/ripple_json/json/json_valueiterator.inl b/modules/ripple_json/json/json_valueiterator.inl index 1bd08253f3..7308f1ff58 100644 --- a/modules/ripple_json/json/json_valueiterator.inl +++ b/modules/ripple_json/json/json_valueiterator.inl @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + // included by json_value.cpp // everything is within Json namespace diff --git a/modules/ripple_json/json/json_writer.cpp b/modules/ripple_json/json/json_writer.cpp index 8b7ccb06d9..318577d91b 100644 --- a/modules/ripple_json/json/json_writer.cpp +++ b/modules/ripple_json/json/json_writer.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== namespace Json { diff --git a/modules/ripple_json/json/json_writer.h b/modules/ripple_json/json/json_writer.h index 7cf4201704..7f9e9b3f92 100644 --- a/modules/ripple_json/json/json_writer.h +++ b/modules/ripple_json/json/json_writer.h @@ -1,5 +1,11 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef JSON_WRITER_H_INCLUDED -# define JSON_WRITER_H_INCLUDED +#define JSON_WRITER_H_INCLUDED namespace Json { diff --git a/modules/ripple_json/ripple_json.cpp b/modules/ripple_json/ripple_json.cpp index de19672a03..40a531250a 100644 --- a/modules/ripple_json/ripple_json.cpp +++ b/modules/ripple_json/ripple_json.cpp @@ -1,18 +1,6 @@ //------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ //============================================================================== diff --git a/modules/ripple_json/ripple_json.h b/modules/ripple_json/ripple_json.h index 423da292a9..5dfdc2b1d0 100644 --- a/modules/ripple_json/ripple_json.h +++ b/modules/ripple_json/ripple_json.h @@ -1,18 +1,6 @@ //------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ //============================================================================== diff --git a/modules/ripple_main/ripple_main.cpp b/modules/ripple_main/ripple_main.cpp index a2526b5b4a..5ff5ff1099 100644 --- a/modules/ripple_main/ripple_main.cpp +++ b/modules/ripple_main/ripple_main.cpp @@ -1,18 +1,6 @@ //------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ //============================================================================== diff --git a/modules/ripple_main/ripple_main.h b/modules/ripple_main/ripple_main.h index a03bd93e99..ff56cbed50 100644 --- a/modules/ripple_main/ripple_main.h +++ b/modules/ripple_main/ripple_main.h @@ -1,18 +1,6 @@ //------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ //============================================================================== diff --git a/modules/ripple_main/ripple_main_pt1.cpp b/modules/ripple_main/ripple_main_pt1.cpp index 221a56d054..d6bea4bba7 100644 --- a/modules/ripple_main/ripple_main_pt1.cpp +++ b/modules/ripple_main/ripple_main_pt1.cpp @@ -1,2 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #define RIPPLE_MAIN_PART 1 #include "ripple_main.cpp" diff --git a/modules/ripple_main/ripple_main_pt2.cpp b/modules/ripple_main/ripple_main_pt2.cpp index ee603ca3a8..c0e4ff6f0c 100644 --- a/modules/ripple_main/ripple_main_pt2.cpp +++ b/modules/ripple_main/ripple_main_pt2.cpp @@ -1,2 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #define RIPPLE_MAIN_PART 2 #include "ripple_main.cpp" diff --git a/modules/ripple_main/ripple_main_pt3.cpp b/modules/ripple_main/ripple_main_pt3.cpp index 8057b5df39..ac31a68748 100644 --- a/modules/ripple_main/ripple_main_pt3.cpp +++ b/modules/ripple_main/ripple_main_pt3.cpp @@ -1,2 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #define RIPPLE_MAIN_PART 3 #include "ripple_main.cpp" diff --git a/modules/ripple_main/ripple_main_pt4.cpp b/modules/ripple_main/ripple_main_pt4.cpp index 6602b5b3d9..c6b3370986 100644 --- a/modules/ripple_main/ripple_main_pt4.cpp +++ b/modules/ripple_main/ripple_main_pt4.cpp @@ -1,2 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #define RIPPLE_MAIN_PART 4 #include "ripple_main.cpp" diff --git a/newcoin.vcxproj.filters b/newcoin.vcxproj.filters index da09fe83b0..37820f491e 100644 --- a/newcoin.vcxproj.filters +++ b/newcoin.vcxproj.filters @@ -1647,7 +1647,7 @@ 1. Modules\ripple_main\refactored - 1. Modules\ripple_main\_unfactored\main + 1. Modules\ripple_main\refactored diff --git a/src/cpp/database/SqliteDatabase.cpp b/src/cpp/database/SqliteDatabase.cpp index 05e07c4ff8..313e21f577 100644 --- a/src/cpp/database/SqliteDatabase.cpp +++ b/src/cpp/database/SqliteDatabase.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #include "SqliteDatabase.h" #include "sqlite3.h" diff --git a/src/cpp/database/SqliteDatabase.h b/src/cpp/database/SqliteDatabase.h index d24ebd100d..f9ef60fa49 100644 --- a/src/cpp/database/SqliteDatabase.h +++ b/src/cpp/database/SqliteDatabase.h @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== #ifndef RIPPLE_SQLITEDATABASE_H #define RIPPLE_SQLITEDATABASE_H diff --git a/src/cpp/database/database.cpp b/src/cpp/database/database.cpp index 6af1cbc5b5..683456b317 100644 --- a/src/cpp/database/database.cpp +++ b/src/cpp/database/database.cpp @@ -1,8 +1,13 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #include "database.h" #include #include - Database::Database (const char* host, const char* user, const char* pass) : mNumCol (0) { mDBPass = pass; diff --git a/src/cpp/database/database.h b/src/cpp/database/database.h index 2bad1d3f4d..552eac834e 100644 --- a/src/cpp/database/database.h +++ b/src/cpp/database/database.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef __DATABASE__ #define __DATABASE__ diff --git a/src/cpp/ripple/AccountSetTransactor.cpp b/src/cpp/ripple/AccountSetTransactor.cpp index 669606af62..8ab0a59504 100644 --- a/src/cpp/ripple/AccountSetTransactor.cpp +++ b/src/cpp/ripple/AccountSetTransactor.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + SETUP_LOG (AccountSetTransactor) TER AccountSetTransactor::doApply () diff --git a/src/cpp/ripple/AccountSetTransactor.h b/src/cpp/ripple/AccountSetTransactor.h index 0d8aec86bf..f4fd3bc2aa 100644 --- a/src/cpp/ripple/AccountSetTransactor.h +++ b/src/cpp/ripple/AccountSetTransactor.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef ACCOUNTSETTRANSACTOR_H #define ACCOUNTSETTRANSACTOR_H diff --git a/src/cpp/ripple/AutoSocket.h b/src/cpp/ripple/AutoSocket.h index d472eb982e..315b70ce7c 100644 --- a/src/cpp/ripple/AutoSocket.h +++ b/src/cpp/ripple/AutoSocket.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef __AUTOSOCKET_H_ #define __AUTOSOCKET_H_ diff --git a/src/cpp/ripple/CallRPC.cpp b/src/cpp/ripple/CallRPC.cpp index edb4ced865..5470542ec6 100644 --- a/src/cpp/ripple/CallRPC.cpp +++ b/src/cpp/ripple/CallRPC.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + // // This a trusted interface, the user is expected to provide valid input to perform valid requests. // Error catching and reporting is not a requirement of this command line interface. diff --git a/src/cpp/ripple/CallRPC.h b/src/cpp/ripple/CallRPC.h index a024cb77cb..10c84ebd76 100644 --- a/src/cpp/ripple/CallRPC.h +++ b/src/cpp/ripple/CallRPC.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef __CALLRPC__ #define __CALLRPC__ diff --git a/src/cpp/ripple/ChangeTransactor.cpp b/src/cpp/ripple/ChangeTransactor.cpp index 65f3758533..c7e2d4c882 100644 --- a/src/cpp/ripple/ChangeTransactor.cpp +++ b/src/cpp/ripple/ChangeTransactor.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + SETUP_LOG (ChangeTransactor) diff --git a/src/cpp/ripple/ChangeTransactor.h b/src/cpp/ripple/ChangeTransactor.h index af9f8c1e28..ab79bf8e1c 100644 --- a/src/cpp/ripple/ChangeTransactor.h +++ b/src/cpp/ripple/ChangeTransactor.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #include "Transactor.h" class ChangeTransactor : public Transactor diff --git a/src/cpp/ripple/Contract.cpp b/src/cpp/ripple/Contract.cpp index 4b9bf1b85a..e17453ca9a 100644 --- a/src/cpp/ripple/Contract.cpp +++ b/src/cpp/ripple/Contract.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== using namespace Script; /* diff --git a/src/cpp/ripple/Contract.h b/src/cpp/ripple/Contract.h index 48895588c2..8a72f2b782 100644 --- a/src/cpp/ripple/Contract.h +++ b/src/cpp/ripple/Contract.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef CONTRACT_H #define CONTRACT_H diff --git a/src/cpp/ripple/DBInit.cpp b/src/cpp/ripple/DBInit.cpp index 176fda95e0..69d6a8214e 100644 --- a/src/cpp/ripple/DBInit.cpp +++ b/src/cpp/ripple/DBInit.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== #include diff --git a/src/cpp/ripple/HTTPRequest.cpp b/src/cpp/ripple/HTTPRequest.cpp index a282b18108..2361834833 100644 --- a/src/cpp/ripple/HTTPRequest.cpp +++ b/src/cpp/ripple/HTTPRequest.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #include "HTTPRequest.h" #include diff --git a/src/cpp/ripple/HTTPRequest.h b/src/cpp/ripple/HTTPRequest.h index 12323233ad..86152d01fd 100644 --- a/src/cpp/ripple/HTTPRequest.h +++ b/src/cpp/ripple/HTTPRequest.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef HTTPREQUEST__HPP #define HTTPREQUEST__HPP diff --git a/src/cpp/ripple/HttpsClient.cpp b/src/cpp/ripple/HttpsClient.cpp index 48a2be98bc..c90979fd89 100644 --- a/src/cpp/ripple/HttpsClient.cpp +++ b/src/cpp/ripple/HttpsClient.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + // // Fetch a web page via https. // diff --git a/src/cpp/ripple/HttpsClient.h b/src/cpp/ripple/HttpsClient.h index 8e2b214ab6..f291f6ae90 100644 --- a/src/cpp/ripple/HttpsClient.h +++ b/src/cpp/ripple/HttpsClient.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef _HTTPS_CLIENT_ #define _HTTPS_CLIENT_ diff --git a/src/cpp/ripple/Interpreter.cpp b/src/cpp/ripple/Interpreter.cpp index 931c4f4242..58afd03227 100644 --- a/src/cpp/ripple/Interpreter.cpp +++ b/src/cpp/ripple/Interpreter.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #include "Interpreter.h" #include "Operation.h" diff --git a/src/cpp/ripple/Interpreter.h b/src/cpp/ripple/Interpreter.h index bfee239292..07a0624844 100644 --- a/src/cpp/ripple/Interpreter.h +++ b/src/cpp/ripple/Interpreter.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef INTERPRETER_H #define INTERPRETER_H diff --git a/src/cpp/ripple/Ledger.cpp b/src/cpp/ripple/Ledger.cpp index 7382d7a71f..0a7f98cafe 100644 --- a/src/cpp/ripple/Ledger.cpp +++ b/src/cpp/ripple/Ledger.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== SETUP_LOG (Ledger) diff --git a/src/cpp/ripple/Ledger.h b/src/cpp/ripple/Ledger.h index 0967f46299..6aaca879df 100644 --- a/src/cpp/ripple/Ledger.h +++ b/src/cpp/ripple/Ledger.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_LEDGER_H #define RIPPLE_LEDGER_H diff --git a/src/cpp/ripple/LedgerEntrySet.cpp b/src/cpp/ripple/LedgerEntrySet.cpp index 33a4f6ffe0..ed652a0937 100644 --- a/src/cpp/ripple/LedgerEntrySet.cpp +++ b/src/cpp/ripple/LedgerEntrySet.cpp @@ -1,4 +1,8 @@ - +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== SETUP_LOG (LedgerEntrySet) diff --git a/src/cpp/ripple/LedgerEntrySet.h b/src/cpp/ripple/LedgerEntrySet.h index df03e1839c..261ead9441 100644 --- a/src/cpp/ripple/LedgerEntrySet.h +++ b/src/cpp/ripple/LedgerEntrySet.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef __LEDGERENTRYSET__ #define __LEDGERENTRYSET__ diff --git a/src/cpp/ripple/LedgerMaster.cpp b/src/cpp/ripple/LedgerMaster.cpp index 6ca2d6ea66..bf0bb8fd3c 100644 --- a/src/cpp/ripple/LedgerMaster.cpp +++ b/src/cpp/ripple/LedgerMaster.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== #define MIN_VALIDATION_RATIO 150 // 150/256ths of validations of previous ledger #define MAX_LEDGER_GAP 100 // Don't catch up more than 100 ledgers (cannot exceed 256) diff --git a/src/cpp/ripple/LedgerMaster.h b/src/cpp/ripple/LedgerMaster.h index e844894f11..d333680eac 100644 --- a/src/cpp/ripple/LedgerMaster.h +++ b/src/cpp/ripple/LedgerMaster.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_LEDGERMASTER_H #define RIPPLE_LEDGERMASTER_H diff --git a/src/cpp/ripple/LedgerProposal.cpp b/src/cpp/ripple/LedgerProposal.cpp index 8eb8880627..93b39ef13c 100644 --- a/src/cpp/ripple/LedgerProposal.cpp +++ b/src/cpp/ripple/LedgerProposal.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== DECLARE_INSTANCE (LedgerProposal); diff --git a/src/cpp/ripple/LedgerProposal.h b/src/cpp/ripple/LedgerProposal.h index 0aa493f96e..b2b8c0894e 100644 --- a/src/cpp/ripple/LedgerProposal.h +++ b/src/cpp/ripple/LedgerProposal.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef __PROPOSELEDGER__ #define __PROPOSELEDGER__ diff --git a/src/cpp/ripple/LedgerTiming.cpp b/src/cpp/ripple/LedgerTiming.cpp index 496d12b23d..d9dd412054 100644 --- a/src/cpp/ripple/LedgerTiming.cpp +++ b/src/cpp/ripple/LedgerTiming.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== // VFALCO Should rename ContinuousLedgerTiming to LedgerTiming struct LedgerTimingLog; diff --git a/src/cpp/ripple/LedgerTiming.h b/src/cpp/ripple/LedgerTiming.h index f9f3eb69bc..dfb4f91177 100644 --- a/src/cpp/ripple/LedgerTiming.h +++ b/src/cpp/ripple/LedgerTiming.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef __LEDGERTIMING__ #define __LEDGERTIMING__ diff --git a/src/cpp/ripple/NetworkOPs.cpp b/src/cpp/ripple/NetworkOPs.cpp index 1a87340810..01fe13a687 100644 --- a/src/cpp/ripple/NetworkOPs.cpp +++ b/src/cpp/ripple/NetworkOPs.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + SETUP_LOG (NetworkOPs) diff --git a/src/cpp/ripple/NetworkOPs.h b/src/cpp/ripple/NetworkOPs.h index b74aad2171..34a3f2459d 100644 --- a/src/cpp/ripple/NetworkOPs.h +++ b/src/cpp/ripple/NetworkOPs.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_NETWORKOPS_H #define RIPPLE_NETWORKOPS_H diff --git a/src/cpp/ripple/OfferCancelTransactor.cpp b/src/cpp/ripple/OfferCancelTransactor.cpp index f43e4d166e..4a34819dfd 100644 --- a/src/cpp/ripple/OfferCancelTransactor.cpp +++ b/src/cpp/ripple/OfferCancelTransactor.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + SETUP_LOG (OfferCancelTransactor) diff --git a/src/cpp/ripple/OfferCancelTransactor.h b/src/cpp/ripple/OfferCancelTransactor.h index 004f29c675..059cf057a6 100644 --- a/src/cpp/ripple/OfferCancelTransactor.h +++ b/src/cpp/ripple/OfferCancelTransactor.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef OFFERCANCELTRANSACTOR_H #define OFFERCANCELTRANSACTOR_H diff --git a/src/cpp/ripple/OfferCreateTransactor.cpp b/src/cpp/ripple/OfferCreateTransactor.cpp index c5d09d399c..45ff33883b 100644 --- a/src/cpp/ripple/OfferCreateTransactor.cpp +++ b/src/cpp/ripple/OfferCreateTransactor.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + SETUP_LOG (OfferCreateTransactor) diff --git a/src/cpp/ripple/OfferCreateTransactor.h b/src/cpp/ripple/OfferCreateTransactor.h index d5b2461368..f0982bf6ed 100644 --- a/src/cpp/ripple/OfferCreateTransactor.h +++ b/src/cpp/ripple/OfferCreateTransactor.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef __OFFERCREATETRANSACTOR__ #define __OFFERCREATETRANSACTOR__ diff --git a/src/cpp/ripple/Operation.cpp b/src/cpp/ripple/Operation.cpp index ffe0b09d5f..fe93008433 100644 --- a/src/cpp/ripple/Operation.cpp +++ b/src/cpp/ripple/Operation.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== /* We also need to charge for each op diff --git a/src/cpp/ripple/Operation.h b/src/cpp/ripple/Operation.h index 7fc25d5a4f..c10eba82b9 100644 --- a/src/cpp/ripple/Operation.h +++ b/src/cpp/ripple/Operation.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef OPERATION_H #define OPERATION_H diff --git a/src/cpp/ripple/OrderBookDB.cpp b/src/cpp/ripple/OrderBookDB.cpp index 11453753a8..3f4a4b7ccf 100644 --- a/src/cpp/ripple/OrderBookDB.cpp +++ b/src/cpp/ripple/OrderBookDB.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + SETUP_LOG (OrderBookDB) OrderBookDB::OrderBookDB () : mSeq (0) diff --git a/src/cpp/ripple/OrderBookDB.h b/src/cpp/ripple/OrderBookDB.h index 091df0f790..be4bbcf414 100644 --- a/src/cpp/ripple/OrderBookDB.h +++ b/src/cpp/ripple/OrderBookDB.h @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== #ifndef ORDERBOOK_DB_H #define ORDERBOOK_DB_H diff --git a/src/cpp/ripple/ParameterTable.cpp b/src/cpp/ripple/ParameterTable.cpp index 3109f649ae..9b00c435e9 100644 --- a/src/cpp/ripple/ParameterTable.cpp +++ b/src/cpp/ripple/ParameterTable.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #include "ParameterTable.h" #include diff --git a/src/cpp/ripple/ParameterTable.h b/src/cpp/ripple/ParameterTable.h index 9b8a187932..4dfe8ab536 100644 --- a/src/cpp/ripple/ParameterTable.h +++ b/src/cpp/ripple/ParameterTable.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_PARAMETERTABLE_H #define RIPPLE_PARAMETERTABLE_H diff --git a/src/cpp/ripple/ParseSection.cpp b/src/cpp/ripple/ParseSection.cpp index 3c34dced29..0c80381753 100644 --- a/src/cpp/ripple/ParseSection.cpp +++ b/src/cpp/ripple/ParseSection.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #include "ParseSection.h" #include diff --git a/src/cpp/ripple/ParseSection.h b/src/cpp/ripple/ParseSection.h index 48736e265a..103dbe0ba3 100644 --- a/src/cpp/ripple/ParseSection.h +++ b/src/cpp/ripple/ParseSection.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef _PARSE_SECTION_ #define _PARSE_SECTION_ diff --git a/src/cpp/ripple/PaymentTransactor.cpp b/src/cpp/ripple/PaymentTransactor.cpp index fb8445220e..beccb5d9dd 100644 --- a/src/cpp/ripple/PaymentTransactor.cpp +++ b/src/cpp/ripple/PaymentTransactor.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + SETUP_LOG (PaymentTransactor) diff --git a/src/cpp/ripple/PaymentTransactor.h b/src/cpp/ripple/PaymentTransactor.h index 5b54f60aee..d27372b3f9 100644 --- a/src/cpp/ripple/PaymentTransactor.h +++ b/src/cpp/ripple/PaymentTransactor.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef __PAYMENTTRANSACTOR__ #define __PAYMENTTRANSACTOR__ diff --git a/src/cpp/ripple/PeerDoor.cpp b/src/cpp/ripple/PeerDoor.cpp index 8d78c0c5af..808fa08aec 100644 --- a/src/cpp/ripple/PeerDoor.cpp +++ b/src/cpp/ripple/PeerDoor.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== SETUP_LOG (PeerDoor) diff --git a/src/cpp/ripple/PeerDoor.h b/src/cpp/ripple/PeerDoor.h index a1630f406a..3a4458206a 100644 --- a/src/cpp/ripple/PeerDoor.h +++ b/src/cpp/ripple/PeerDoor.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef __PEERDOOR__ #define __PEERDOOR__ diff --git a/src/cpp/ripple/RPC.h b/src/cpp/ripple/RPC.h index 04865a5796..6b33587f75 100644 --- a/src/cpp/ripple/RPC.h +++ b/src/cpp/ripple/RPC.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef __RPC_h__ #define __RPC_h__ diff --git a/src/cpp/ripple/RPCDoor.cpp b/src/cpp/ripple/RPCDoor.cpp index 90fe2e35b5..45f3f7ec8a 100644 --- a/src/cpp/ripple/RPCDoor.cpp +++ b/src/cpp/ripple/RPCDoor.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #include "RPCDoor.h" #include #include diff --git a/src/cpp/ripple/RPCDoor.h b/src/cpp/ripple/RPCDoor.h index e76aa89dda..801ed9597e 100644 --- a/src/cpp/ripple/RPCDoor.h +++ b/src/cpp/ripple/RPCDoor.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_RPCDOOR_H #define RIPPLE_RPCDOOR_H diff --git a/src/cpp/ripple/RPCErr.cpp b/src/cpp/ripple/RPCErr.cpp index 2a4dc600fd..c00343ca37 100644 --- a/src/cpp/ripple/RPCErr.cpp +++ b/src/cpp/ripple/RPCErr.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #include "RPCErr.h" diff --git a/src/cpp/ripple/RPCErr.h b/src/cpp/ripple/RPCErr.h index 2c5f0f0762..efe9e58c65 100644 --- a/src/cpp/ripple/RPCErr.h +++ b/src/cpp/ripple/RPCErr.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef __RPCERR__ #define __RPCERR__ diff --git a/src/cpp/ripple/RPCHandler.cpp b/src/cpp/ripple/RPCHandler.cpp index fdb8144dca..715a1ab506 100644 --- a/src/cpp/ripple/RPCHandler.cpp +++ b/src/cpp/ripple/RPCHandler.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + // // Carries out the RPC. // diff --git a/src/cpp/ripple/RPCHandler.h b/src/cpp/ripple/RPCHandler.h index 2f9b17b0da..6d53204ddc 100644 --- a/src/cpp/ripple/RPCHandler.h +++ b/src/cpp/ripple/RPCHandler.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef __RPCHANDLER__ #define __RPCHANDLER__ diff --git a/src/cpp/ripple/RPCServer.cpp b/src/cpp/ripple/RPCServer.cpp index 8a2e084ff1..bbfc750b52 100644 --- a/src/cpp/ripple/RPCServer.cpp +++ b/src/cpp/ripple/RPCServer.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #include "RPCServer.h" #include "HttpsClient.h" diff --git a/src/cpp/ripple/RPCServer.h b/src/cpp/ripple/RPCServer.h index 5d295e56a3..8734ff40af 100644 --- a/src/cpp/ripple/RPCServer.h +++ b/src/cpp/ripple/RPCServer.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef __RPCSERVER__ #define __RPCSERVER__ diff --git a/src/cpp/ripple/RPCSub.cpp b/src/cpp/ripple/RPCSub.cpp index c3272df779..339eb62d96 100644 --- a/src/cpp/ripple/RPCSub.cpp +++ b/src/cpp/ripple/RPCSub.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #include #include "RPCSub.h" diff --git a/src/cpp/ripple/RPCSub.h b/src/cpp/ripple/RPCSub.h index 1eac7eddd7..0b941a305c 100644 --- a/src/cpp/ripple/RPCSub.h +++ b/src/cpp/ripple/RPCSub.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef __RPCSUB__ #define __RPCSUB__ diff --git a/src/cpp/ripple/RegularKeySetTransactor.cpp b/src/cpp/ripple/RegularKeySetTransactor.cpp index 0250d3235c..532af4db6e 100644 --- a/src/cpp/ripple/RegularKeySetTransactor.cpp +++ b/src/cpp/ripple/RegularKeySetTransactor.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + SETUP_LOG (RegularKeySetTransactor) diff --git a/src/cpp/ripple/RegularKeySetTransactor.h b/src/cpp/ripple/RegularKeySetTransactor.h index 60105060e4..9de5230444 100644 --- a/src/cpp/ripple/RegularKeySetTransactor.h +++ b/src/cpp/ripple/RegularKeySetTransactor.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef REGULARKEYSETTRANSACTOR_H #define REGULARKEYSETTRANSACTOR_H diff --git a/src/cpp/ripple/SNTPClient.cpp b/src/cpp/ripple/SNTPClient.cpp index 1d7a07a662..929b3d3314 100644 --- a/src/cpp/ripple/SNTPClient.cpp +++ b/src/cpp/ripple/SNTPClient.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #include "SNTPClient.h" #include diff --git a/src/cpp/ripple/SNTPClient.h b/src/cpp/ripple/SNTPClient.h index 3058c99af9..fdfc540550 100644 --- a/src/cpp/ripple/SNTPClient.h +++ b/src/cpp/ripple/SNTPClient.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef __SNTPCLIENT__ #define __SNTPCLIENT__ diff --git a/src/cpp/ripple/ScriptData.cpp b/src/cpp/ripple/ScriptData.cpp index 51cb4caf01..c3a2fef235 100644 --- a/src/cpp/ripple/ScriptData.cpp +++ b/src/cpp/ripple/ScriptData.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #include "ScriptData.h" // vim:ts=4 diff --git a/src/cpp/ripple/ScriptData.h b/src/cpp/ripple/ScriptData.h index 5056fc6926..a843223a08 100644 --- a/src/cpp/ripple/ScriptData.h +++ b/src/cpp/ripple/ScriptData.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef SCRIPT_DATA_H #define SCRIPT_DATA_H diff --git a/src/cpp/ripple/SerializedValidation.cpp b/src/cpp/ripple/SerializedValidation.cpp index 14b9070174..23ab8c973c 100644 --- a/src/cpp/ripple/SerializedValidation.cpp +++ b/src/cpp/ripple/SerializedValidation.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + DECLARE_INSTANCE (SerializedValidation); diff --git a/src/cpp/ripple/SerializedValidation.h b/src/cpp/ripple/SerializedValidation.h index b34ff61ee7..f85c3439ec 100644 --- a/src/cpp/ripple/SerializedValidation.h +++ b/src/cpp/ripple/SerializedValidation.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_SERIALIZEDVALIDATION_H #define RIPPLE_SERIALIZEDVALIDATION_H diff --git a/src/cpp/ripple/Transaction.cpp b/src/cpp/ripple/Transaction.cpp index 25c4497823..fb52df7f71 100644 --- a/src/cpp/ripple/Transaction.cpp +++ b/src/cpp/ripple/Transaction.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + DECLARE_INSTANCE (Transaction); diff --git a/src/cpp/ripple/Transaction.h b/src/cpp/ripple/Transaction.h index 4c75f89f16..28ac0bd5a2 100644 --- a/src/cpp/ripple/Transaction.h +++ b/src/cpp/ripple/Transaction.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_TRANSACTION_H #define RIPPLE_TRANSACTION_H diff --git a/src/cpp/ripple/TransactionCheck.cpp b/src/cpp/ripple/TransactionCheck.cpp index bf8b2614b5..da46392173 100644 --- a/src/cpp/ripple/TransactionCheck.cpp +++ b/src/cpp/ripple/TransactionCheck.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + // VFALCO TODO move this into TransactionEngine.cpp diff --git a/src/cpp/ripple/TransactionEngine.cpp b/src/cpp/ripple/TransactionEngine.cpp index 22274bb30a..ebc2ef1bfd 100644 --- a/src/cpp/ripple/TransactionEngine.cpp +++ b/src/cpp/ripple/TransactionEngine.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + // // XXX Make sure all fields are recognized in transactions. // diff --git a/src/cpp/ripple/TransactionEngine.h b/src/cpp/ripple/TransactionEngine.h index a82ed48e4b..e028004788 100644 --- a/src/cpp/ripple/TransactionEngine.h +++ b/src/cpp/ripple/TransactionEngine.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef __TRANSACTIONENGINE__ #define __TRANSACTIONENGINE__ diff --git a/src/cpp/ripple/TransactionMaster.cpp b/src/cpp/ripple/TransactionMaster.cpp index 71ddc54fa7..b822469b45 100644 --- a/src/cpp/ripple/TransactionMaster.cpp +++ b/src/cpp/ripple/TransactionMaster.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef CACHED_TRANSACTION_NUM #define CACHED_TRANSACTION_NUM 65536 diff --git a/src/cpp/ripple/TransactionMaster.h b/src/cpp/ripple/TransactionMaster.h index 368bce2b19..feb1a45270 100644 --- a/src/cpp/ripple/TransactionMaster.h +++ b/src/cpp/ripple/TransactionMaster.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef __TRANSACTIONMASTER__ #define __TRANSACTIONMASTER__ diff --git a/src/cpp/ripple/TransactionMeta.cpp b/src/cpp/ripple/TransactionMeta.cpp index ee41ae567a..af28069fa0 100644 --- a/src/cpp/ripple/TransactionMeta.cpp +++ b/src/cpp/ripple/TransactionMeta.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + // VFALCO TODO rename class to TransactionMeta diff --git a/src/cpp/ripple/TransactionMeta.h b/src/cpp/ripple/TransactionMeta.h index 1169edf9e2..ba7b287717 100644 --- a/src/cpp/ripple/TransactionMeta.h +++ b/src/cpp/ripple/TransactionMeta.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_TRANSACTIONMETA_H #define RIPPLE_TRANSACTIONMETA_H diff --git a/src/cpp/ripple/TransactionQueue.cpp b/src/cpp/ripple/TransactionQueue.cpp index 4059283745..70bd76bc3e 100644 --- a/src/cpp/ripple/TransactionQueue.cpp +++ b/src/cpp/ripple/TransactionQueue.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + void TXQEntry::addCallbacks (const TXQEntry& otherEntry) { diff --git a/src/cpp/ripple/TransactionQueue.h b/src/cpp/ripple/TransactionQueue.h index 987a5f524a..ce45749279 100644 --- a/src/cpp/ripple/TransactionQueue.h +++ b/src/cpp/ripple/TransactionQueue.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef TRANSACTIONQUEUE__H #define TRANSACTIONQUEUE__H diff --git a/src/cpp/ripple/Transactor.cpp b/src/cpp/ripple/Transactor.cpp index 98c9a152c9..08bf56936f 100644 --- a/src/cpp/ripple/Transactor.cpp +++ b/src/cpp/ripple/Transactor.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + SETUP_LOG (Transactor) diff --git a/src/cpp/ripple/Transactor.h b/src/cpp/ripple/Transactor.h index 9a83cb185d..909cb9a2bc 100644 --- a/src/cpp/ripple/Transactor.h +++ b/src/cpp/ripple/Transactor.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef __TRANSACTOR__ #define __TRANSACTOR__ diff --git a/src/cpp/ripple/TrustSetTransactor.cpp b/src/cpp/ripple/TrustSetTransactor.cpp index 1f4ee2da6c..817f2751b9 100644 --- a/src/cpp/ripple/TrustSetTransactor.cpp +++ b/src/cpp/ripple/TrustSetTransactor.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + SETUP_LOG (TrustSetTransactor) diff --git a/src/cpp/ripple/TrustSetTransactor.h b/src/cpp/ripple/TrustSetTransactor.h index 8958f0eef7..f3f8e2d569 100644 --- a/src/cpp/ripple/TrustSetTransactor.h +++ b/src/cpp/ripple/TrustSetTransactor.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef TRUSTSETTRANSACTOR_H #define TRUSTSETTRANSACTOR_H diff --git a/src/cpp/ripple/WSConnection.cpp b/src/cpp/ripple/WSConnection.cpp index 332e40ddb5..75799eb9b1 100644 --- a/src/cpp/ripple/WSConnection.cpp +++ b/src/cpp/ripple/WSConnection.cpp @@ -1,2 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + SETUP_LOG (WSConnectionLog) diff --git a/src/cpp/ripple/WSConnection.h b/src/cpp/ripple/WSConnection.h index 55bec81d24..f9e488fa75 100644 --- a/src/cpp/ripple/WSConnection.h +++ b/src/cpp/ripple/WSConnection.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_WSCONNECTION_H #define RIPPLE_WSCONNECTION_H diff --git a/src/cpp/ripple/WSDoor.cpp b/src/cpp/ripple/WSDoor.cpp index 0305028bf7..2016f4d1ee 100644 --- a/src/cpp/ripple/WSDoor.cpp +++ b/src/cpp/ripple/WSDoor.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + //#define WSDOOR_CPP diff --git a/src/cpp/ripple/WSDoor.h b/src/cpp/ripple/WSDoor.h index 4cff26ec1d..b8c9b3012b 100644 --- a/src/cpp/ripple/WSDoor.h +++ b/src/cpp/ripple/WSDoor.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef __WSDOOR__ #define __WSDOOR__ diff --git a/src/cpp/ripple/WSHandler.cpp b/src/cpp/ripple/WSHandler.cpp index 823f3ac020..3b7d744cc9 100644 --- a/src/cpp/ripple/WSHandler.cpp +++ b/src/cpp/ripple/WSHandler.cpp @@ -1,2 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + SETUP_LOG (WSServerHandlerLog) diff --git a/src/cpp/ripple/WSHandler.h b/src/cpp/ripple/WSHandler.h index 5096096ce3..1e72241502 100644 --- a/src/cpp/ripple/WSHandler.h +++ b/src/cpp/ripple/WSHandler.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef __WSHANDLER__ #define __WSHANDLER__ diff --git a/src/cpp/ripple/WalletAddTransactor.cpp b/src/cpp/ripple/WalletAddTransactor.cpp index 80b04bfaf4..91aeea9b4a 100644 --- a/src/cpp/ripple/WalletAddTransactor.cpp +++ b/src/cpp/ripple/WalletAddTransactor.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + SETUP_LOG (WalletAddTransactor) TER WalletAddTransactor::doApply () diff --git a/src/cpp/ripple/WalletAddTransactor.h b/src/cpp/ripple/WalletAddTransactor.h index 50d6e51fb6..82c762685f 100644 --- a/src/cpp/ripple/WalletAddTransactor.h +++ b/src/cpp/ripple/WalletAddTransactor.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef WALLETADDTRANSACTOR_H #define WALLETADDTRANSACTOR_H diff --git a/src/cpp/ripple/main.cpp b/src/cpp/ripple/main.cpp index c32bd959ef..4d5ec8603c 100644 --- a/src/cpp/ripple/main.cpp +++ b/src/cpp/ripple/main.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + namespace po = boost::program_options; diff --git a/src/cpp/ripple/ripple_AcceptedLedger.cpp b/src/cpp/ripple/ripple_AcceptedLedger.cpp index c88a8bd025..ec58d019ad 100644 --- a/src/cpp/ripple/ripple_AcceptedLedger.cpp +++ b/src/cpp/ripple/ripple_AcceptedLedger.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== TaggedCache AcceptedLedger::s_cache ("AcceptedLedger", 4, 60); diff --git a/src/cpp/ripple/ripple_AcceptedLedger.h b/src/cpp/ripple/ripple_AcceptedLedger.h index dd5bc4b15c..17a7878e1f 100644 --- a/src/cpp/ripple/ripple_AcceptedLedger.h +++ b/src/cpp/ripple/ripple_AcceptedLedger.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_ACCEPTEDLEDGER_H #define RIPPLE_ACCEPTEDLEDGER_H diff --git a/src/cpp/ripple/ripple_AcceptedLedgerTx.cpp b/src/cpp/ripple/ripple_AcceptedLedgerTx.cpp index d54fe8177e..23346f01d9 100644 --- a/src/cpp/ripple/ripple_AcceptedLedgerTx.cpp +++ b/src/cpp/ripple/ripple_AcceptedLedgerTx.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + AcceptedLedgerTx::AcceptedLedgerTx (uint32 seq, SerializerIterator& sit) { Serializer txnSer (sit.getVL ()); diff --git a/src/cpp/ripple/ripple_AcceptedLedgerTx.h b/src/cpp/ripple/ripple_AcceptedLedgerTx.h index 29646aa9b7..2b14f84547 100644 --- a/src/cpp/ripple/ripple_AcceptedLedgerTx.h +++ b/src/cpp/ripple/ripple_AcceptedLedgerTx.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_ACCEPTEDLEDGERTX_H #define RIPPLE_ACCEPTEDLEDGERTX_H diff --git a/src/cpp/ripple/ripple_AccountItem.cpp b/src/cpp/ripple/ripple_AccountItem.cpp index f1be6fb0b3..599360b27f 100644 --- a/src/cpp/ripple/ripple_AccountItem.cpp +++ b/src/cpp/ripple/ripple_AccountItem.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== AccountItem::AccountItem (SerializedLedgerEntry::ref ledger) : mLedgerEntry (ledger) diff --git a/src/cpp/ripple/ripple_AccountItem.h b/src/cpp/ripple/ripple_AccountItem.h index 84011b272d..b101203332 100644 --- a/src/cpp/ripple/ripple_AccountItem.h +++ b/src/cpp/ripple/ripple_AccountItem.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_ACCOUNTITEM_H #define RIPPLE_ACCOUNTITEM_H diff --git a/src/cpp/ripple/ripple_AccountItems.cpp b/src/cpp/ripple/ripple_AccountItems.cpp index 542ee0d24e..d9827f733f 100644 --- a/src/cpp/ripple/ripple_AccountItems.cpp +++ b/src/cpp/ripple/ripple_AccountItems.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== AccountItems::AccountItems (uint160 const& accountID, Ledger::ref ledger, diff --git a/src/cpp/ripple/ripple_AccountItems.h b/src/cpp/ripple/ripple_AccountItems.h index 44ed9d01bb..c94a9dd167 100644 --- a/src/cpp/ripple/ripple_AccountItems.h +++ b/src/cpp/ripple/ripple_AccountItems.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_ACCOUNTITEMS_H #define RIPPLE_ACCOUNTITEMS_H diff --git a/src/cpp/ripple/ripple_AccountState.cpp b/src/cpp/ripple/ripple_AccountState.cpp index 9ba8a26bbc..5c4da3b6af 100644 --- a/src/cpp/ripple/ripple_AccountState.cpp +++ b/src/cpp/ripple/ripple_AccountState.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== AccountState::AccountState (RippleAddress const& naAccountID) : mAccountID (naAccountID) diff --git a/src/cpp/ripple/ripple_AccountState.h b/src/cpp/ripple/ripple_AccountState.h index e491cec965..bd98a275aa 100644 --- a/src/cpp/ripple/ripple_AccountState.h +++ b/src/cpp/ripple/ripple_AccountState.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_ACCOUNTSTATE_H #define RIPPLE_ACCOUNTSTATE_H diff --git a/src/cpp/ripple/ripple_Application.cpp b/src/cpp/ripple/ripple_Application.cpp index 32c7e1250b..17554cd9a0 100644 --- a/src/cpp/ripple/ripple_Application.cpp +++ b/src/cpp/ripple/ripple_Application.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== // VFALCO TODO Wrap this up in something neater. Replace NULL with nullptr IApplication* theApp = NULL; diff --git a/src/cpp/ripple/ripple_CanonicalTXSet.cpp b/src/cpp/ripple/ripple_CanonicalTXSet.cpp index 7de7de51bb..6b243c1cce 100644 --- a/src/cpp/ripple/ripple_CanonicalTXSet.cpp +++ b/src/cpp/ripple/ripple_CanonicalTXSet.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== bool CanonicalTXSet::Key::operator< (Key const& rhs) const { diff --git a/src/cpp/ripple/ripple_CanonicalTXSet.h b/src/cpp/ripple/ripple_CanonicalTXSet.h index 4e0dbaa0d4..f10e660aeb 100644 --- a/src/cpp/ripple/ripple_CanonicalTXSet.h +++ b/src/cpp/ripple/ripple_CanonicalTXSet.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_CANONICALTXSET_H #define RIPPLE_CANONICALTXSET_H diff --git a/src/cpp/ripple/ripple_Config.cpp b/src/cpp/ripple/ripple_Config.cpp index 803073b78f..b20ca9212d 100644 --- a/src/cpp/ripple/ripple_Config.cpp +++ b/src/cpp/ripple/ripple_Config.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + // // TODO: Check permissions on config file before using it. // diff --git a/src/cpp/ripple/ripple_Config.h b/src/cpp/ripple/ripple_Config.h index 1b5f9de8b5..b8e3f61d4a 100644 --- a/src/cpp/ripple/ripple_Config.h +++ b/src/cpp/ripple/ripple_Config.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_CONFIG_H #define RIPPLE_CONFIG_H diff --git a/src/cpp/ripple/ripple_DatabaseCon.cpp b/src/cpp/ripple/ripple_DatabaseCon.cpp index 6b128b5260..44535fa74a 100644 --- a/src/cpp/ripple/ripple_DatabaseCon.cpp +++ b/src/cpp/ripple/ripple_DatabaseCon.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== int DatabaseCon::sCount = 0; diff --git a/src/cpp/ripple/ripple_DatabaseCon.h b/src/cpp/ripple/ripple_DatabaseCon.h index c84e0449eb..d9bbdcca25 100644 --- a/src/cpp/ripple/ripple_DatabaseCon.h +++ b/src/cpp/ripple/ripple_DatabaseCon.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_DATABASECON_H #define RIPPLE_DATABASECON_H diff --git a/src/cpp/ripple/ripple_DisputedTx.cpp b/src/cpp/ripple/ripple_DisputedTx.cpp index 764ff255ce..7c7694dc06 100644 --- a/src/cpp/ripple/ripple_DisputedTx.cpp +++ b/src/cpp/ripple/ripple_DisputedTx.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== #define TRUST_NETWORK diff --git a/src/cpp/ripple/ripple_DisputedTx.h b/src/cpp/ripple/ripple_DisputedTx.h index f547da6564..405a009f1f 100644 --- a/src/cpp/ripple/ripple_DisputedTx.h +++ b/src/cpp/ripple/ripple_DisputedTx.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_DISPUTEDTX_H #define RIPPLE_DISPUTEDTX_H diff --git a/src/cpp/ripple/ripple_Features.cpp b/src/cpp/ripple/ripple_Features.cpp index 3dff088ee1..6807089450 100644 --- a/src/cpp/ripple/ripple_Features.cpp +++ b/src/cpp/ripple/ripple_Features.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== class Features; diff --git a/src/cpp/ripple/ripple_FeeVote.cpp b/src/cpp/ripple/ripple_FeeVote.cpp index 6f338b6e57..8f6c2ad9dd 100644 --- a/src/cpp/ripple/ripple_FeeVote.cpp +++ b/src/cpp/ripple/ripple_FeeVote.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== class Features; diff --git a/src/cpp/ripple/ripple_HashRouter.cpp b/src/cpp/ripple/ripple_HashRouter.cpp index cb98cc3414..dd5dfa729d 100644 --- a/src/cpp/ripple/ripple_HashRouter.cpp +++ b/src/cpp/ripple/ripple_HashRouter.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== DECLARE_INSTANCE (HashRouterEntry); diff --git a/src/cpp/ripple/ripple_HashedObject.cpp b/src/cpp/ripple/ripple_HashedObject.cpp index b85d6b2bb8..2505d53239 100644 --- a/src/cpp/ripple/ripple_HashedObject.cpp +++ b/src/cpp/ripple/ripple_HashedObject.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== SETUP_LOG (HashedObject) diff --git a/src/cpp/ripple/ripple_HashedObject.h b/src/cpp/ripple/ripple_HashedObject.h index 7e84028d78..963dcb2d97 100644 --- a/src/cpp/ripple/ripple_HashedObject.h +++ b/src/cpp/ripple/ripple_HashedObject.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_HASHEDOBJECT_H #define RIPPLE_HASHEDOBJECT_H diff --git a/src/cpp/ripple/ripple_HashedObjectStore.cpp b/src/cpp/ripple/ripple_HashedObjectStore.cpp index 7ae7693a99..66fcd2a6ee 100644 --- a/src/cpp/ripple/ripple_HashedObjectStore.cpp +++ b/src/cpp/ripple/ripple_HashedObjectStore.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== HashedObjectStore::HashedObjectStore (int cacheSize, int cacheAge) : mCache ("HashedObjectStore", cacheSize, cacheAge), mNegativeCache ("HashedObjectNegativeCache", 0, 120), diff --git a/src/cpp/ripple/ripple_HashedObjectStore.h b/src/cpp/ripple/ripple_HashedObjectStore.h index 76fc2f731b..f5f54fd820 100644 --- a/src/cpp/ripple/ripple_HashedObjectStore.h +++ b/src/cpp/ripple/ripple_HashedObjectStore.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_HASHEDOBJECTSTORE_H #define RIPPLE_HASHEDOBJECTSTORE_H diff --git a/src/cpp/ripple/ripple_IApplication.h b/src/cpp/ripple/ripple_IApplication.h index 49dae55bcd..1adc3a9bbd 100644 --- a/src/cpp/ripple/ripple_IApplication.h +++ b/src/cpp/ripple/ripple_IApplication.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_IAPPLICATION_H #define RIPPLE_IAPPLICATION_H diff --git a/src/cpp/ripple/ripple_IFeatures.h b/src/cpp/ripple/ripple_IFeatures.h index e30bd650b3..5f3a636646 100644 --- a/src/cpp/ripple/ripple_IFeatures.h +++ b/src/cpp/ripple/ripple_IFeatures.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_IFEATURES_H #define RIPPLE_IFEATURES_H diff --git a/src/cpp/ripple/ripple_IFeeVote.h b/src/cpp/ripple/ripple_IFeeVote.h index 3372bbb380..d6c97e4a96 100644 --- a/src/cpp/ripple/ripple_IFeeVote.h +++ b/src/cpp/ripple/ripple_IFeeVote.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_IFEEVOTE_H #define RIPPLE_IFEEVOTE_H diff --git a/src/cpp/ripple/ripple_IHashRouter.h b/src/cpp/ripple/ripple_IHashRouter.h index bfe407465a..87b3eedbe5 100644 --- a/src/cpp/ripple/ripple_IHashRouter.h +++ b/src/cpp/ripple/ripple_IHashRouter.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_HASHROUTER_H #define RIPPLE_HASHROUTER_H diff --git a/src/cpp/ripple/ripple_ILoadFeeTrack.h b/src/cpp/ripple/ripple_ILoadFeeTrack.h index 36283c26aa..a0b2b95574 100644 --- a/src/cpp/ripple/ripple_ILoadFeeTrack.h +++ b/src/cpp/ripple/ripple_ILoadFeeTrack.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_ILOADFEETRACK_H #define RIPPLE_ILOADFEETRACK_H diff --git a/src/cpp/ripple/ripple_IPeers.h b/src/cpp/ripple/ripple_IPeers.h index e0d717a933..ecee1eee63 100644 --- a/src/cpp/ripple/ripple_IPeers.h +++ b/src/cpp/ripple/ripple_IPeers.h @@ -1,4 +1,8 @@ - +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== #ifndef RIPPLE_IPEERS_H #define RIPPLE_IPEERS_H diff --git a/src/cpp/ripple/ripple_IProofOfWorkFactory.h b/src/cpp/ripple/ripple_IProofOfWorkFactory.h index fb955336d0..58089cdd1d 100644 --- a/src/cpp/ripple/ripple_IProofOfWorkFactory.h +++ b/src/cpp/ripple/ripple_IProofOfWorkFactory.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_IPROOFOFWORKFACTORY_H #define RIPPLE_IPROOFOFWORKFACTORY_H diff --git a/src/cpp/ripple/ripple_IUniqueNodeList.h b/src/cpp/ripple/ripple_IUniqueNodeList.h index 9a2218aa55..827b586776 100644 --- a/src/cpp/ripple/ripple_IUniqueNodeList.h +++ b/src/cpp/ripple/ripple_IUniqueNodeList.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_IUNIQUENODELIST_H #define RIPPLE_IUNIQUENODELIST_H diff --git a/src/cpp/ripple/ripple_IValidations.h b/src/cpp/ripple/ripple_IValidations.h index 4672d10489..fd0951a9c9 100644 --- a/src/cpp/ripple/ripple_IValidations.h +++ b/src/cpp/ripple/ripple_IValidations.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_IVALIDATIONS_H #define RIPPLE_IVALIDATIONS_H diff --git a/src/cpp/ripple/ripple_InfoSub.cpp b/src/cpp/ripple/ripple_InfoSub.cpp index 7f284cc28b..e4ce7fde9a 100644 --- a/src/cpp/ripple/ripple_InfoSub.cpp +++ b/src/cpp/ripple/ripple_InfoSub.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== // This is the primary interface into the "client" portion of the program. // Code that wants to do normal operations on the network such as diff --git a/src/cpp/ripple/ripple_InfoSub.h b/src/cpp/ripple/ripple_InfoSub.h index 58c43f2c67..3c08dc7dc1 100644 --- a/src/cpp/ripple/ripple_InfoSub.h +++ b/src/cpp/ripple/ripple_InfoSub.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_INFOSUB_H #define RIPPLE_INFOSUB_H diff --git a/src/cpp/ripple/ripple_Job.cpp b/src/cpp/ripple/ripple_Job.cpp index 79d99276b9..fe0075a271 100644 --- a/src/cpp/ripple/ripple_Job.cpp +++ b/src/cpp/ripple/ripple_Job.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== Job::Job () : mType (jtINVALID) diff --git a/src/cpp/ripple/ripple_Job.h b/src/cpp/ripple/ripple_Job.h index e85c2e8ec0..a49589bf3f 100644 --- a/src/cpp/ripple/ripple_Job.h +++ b/src/cpp/ripple/ripple_Job.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_JOB_H #define RIPPLE_JOB_H diff --git a/src/cpp/ripple/ripple_JobQueue.cpp b/src/cpp/ripple/ripple_JobQueue.cpp index af915f371a..643ab1addc 100644 --- a/src/cpp/ripple/ripple_JobQueue.cpp +++ b/src/cpp/ripple/ripple_JobQueue.cpp @@ -1,4 +1,8 @@ - +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== SETUP_LOG (JobQueue) diff --git a/src/cpp/ripple/ripple_JobQueue.h b/src/cpp/ripple/ripple_JobQueue.h index 541cb949b5..616ca987e0 100644 --- a/src/cpp/ripple/ripple_JobQueue.h +++ b/src/cpp/ripple/ripple_JobQueue.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_JOBQUEUE_H #define RIPPLE_JOBQUEUE_H diff --git a/src/cpp/ripple/ripple_LedgerAcquire.cpp b/src/cpp/ripple/ripple_LedgerAcquire.cpp index b57156463b..b09298f896 100644 --- a/src/cpp/ripple/ripple_LedgerAcquire.cpp +++ b/src/cpp/ripple/ripple_LedgerAcquire.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== SETUP_LOG (LedgerAcquire) diff --git a/src/cpp/ripple/ripple_LedgerAcquire.h b/src/cpp/ripple/ripple_LedgerAcquire.h index 487e9a425b..1e0c404f99 100644 --- a/src/cpp/ripple/ripple_LedgerAcquire.h +++ b/src/cpp/ripple/ripple_LedgerAcquire.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_LEDGERACQUIRE_H #define RIPPLE_LEDGERACQUIRE_H diff --git a/src/cpp/ripple/ripple_LedgerAcquireMaster.cpp b/src/cpp/ripple/ripple_LedgerAcquireMaster.cpp index c89b679dae..fcdd1608c9 100644 --- a/src/cpp/ripple/ripple_LedgerAcquireMaster.cpp +++ b/src/cpp/ripple/ripple_LedgerAcquireMaster.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== LedgerAcquire::pointer LedgerAcquireMaster::findCreate (uint256 const& hash, uint32 seq) { diff --git a/src/cpp/ripple/ripple_LedgerAcquireMaster.h b/src/cpp/ripple/ripple_LedgerAcquireMaster.h index acd9a88586..b79bde96fa 100644 --- a/src/cpp/ripple/ripple_LedgerAcquireMaster.h +++ b/src/cpp/ripple/ripple_LedgerAcquireMaster.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_LEDGERACQUIREMASTER_H #define RIPPLE_LEDGERACQUIREMASTER_H diff --git a/src/cpp/ripple/ripple_LedgerConsensus.cpp b/src/cpp/ripple/ripple_LedgerConsensus.cpp index de17990f7d..b266a9f1cd 100644 --- a/src/cpp/ripple/ripple_LedgerConsensus.cpp +++ b/src/cpp/ripple/ripple_LedgerConsensus.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== #define TRUST_NETWORK diff --git a/src/cpp/ripple/ripple_LedgerConsensus.h b/src/cpp/ripple/ripple_LedgerConsensus.h index 7b406b6983..9b8b983b5e 100644 --- a/src/cpp/ripple/ripple_LedgerConsensus.h +++ b/src/cpp/ripple/ripple_LedgerConsensus.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_LEDGERCONSENSUS_H #define RIPPLE_LEDGERCONSENSUS_H diff --git a/src/cpp/ripple/ripple_LedgerHistory.cpp b/src/cpp/ripple/ripple_LedgerHistory.cpp index 528d8e2266..f15fd67bdc 100644 --- a/src/cpp/ripple/ripple_LedgerHistory.cpp +++ b/src/cpp/ripple/ripple_LedgerHistory.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== // VFALCO TODO replace macros diff --git a/src/cpp/ripple/ripple_LedgerHistory.h b/src/cpp/ripple/ripple_LedgerHistory.h index 6be147a1ef..ebde79f4df 100644 --- a/src/cpp/ripple/ripple_LedgerHistory.h +++ b/src/cpp/ripple/ripple_LedgerHistory.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_LEDGERHISTORY_H #define RIPPLE_LEDGERHISTORY_H diff --git a/src/cpp/ripple/ripple_LoadEvent.cpp b/src/cpp/ripple/ripple_LoadEvent.cpp index 5b1c277cb8..80545d86d7 100644 --- a/src/cpp/ripple/ripple_LoadEvent.cpp +++ b/src/cpp/ripple/ripple_LoadEvent.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== LoadEvent::LoadEvent (LoadMonitor& monitor, const std::string& name, bool shouldStart) : mMonitor (monitor) diff --git a/src/cpp/ripple/ripple_LoadEvent.h b/src/cpp/ripple/ripple_LoadEvent.h index 6ad16e218c..a2abf8492e 100644 --- a/src/cpp/ripple/ripple_LoadEvent.h +++ b/src/cpp/ripple/ripple_LoadEvent.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_LOADEVENT_H #define RIPPLE_LOADEVENT_H diff --git a/src/cpp/ripple/ripple_LoadFeeTrack.cpp b/src/cpp/ripple/ripple_LoadFeeTrack.cpp index 85120815ee..c6ff6d8290 100644 --- a/src/cpp/ripple/ripple_LoadFeeTrack.cpp +++ b/src/cpp/ripple/ripple_LoadFeeTrack.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== class LoadFeeTrack : public ILoadFeeTrack { diff --git a/src/cpp/ripple/ripple_LoadManager.cpp b/src/cpp/ripple/ripple_LoadManager.cpp index b8d6ead7cf..1c6701d827 100644 --- a/src/cpp/ripple/ripple_LoadManager.cpp +++ b/src/cpp/ripple/ripple_LoadManager.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== SETUP_LOG (LoadManager) diff --git a/src/cpp/ripple/ripple_LoadManager.h b/src/cpp/ripple/ripple_LoadManager.h index 4a84a10c29..972ad87822 100644 --- a/src/cpp/ripple/ripple_LoadManager.h +++ b/src/cpp/ripple/ripple_LoadManager.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_LOADMANAGER_H #define RIPPLE_LOADMANAGER_H diff --git a/src/cpp/ripple/ripple_LoadMonitor.cpp b/src/cpp/ripple/ripple_LoadMonitor.cpp index 7540c3c723..bb7cc4bafe 100644 --- a/src/cpp/ripple/ripple_LoadMonitor.cpp +++ b/src/cpp/ripple/ripple_LoadMonitor.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + SETUP_LOG (LoadMonitor) LoadMonitor::LoadMonitor () diff --git a/src/cpp/ripple/ripple_LoadMonitor.h b/src/cpp/ripple/ripple_LoadMonitor.h index b15d183343..447522180d 100644 --- a/src/cpp/ripple/ripple_LoadMonitor.h +++ b/src/cpp/ripple/ripple_LoadMonitor.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_LOADMONITOR_H #define RIPPLE_LOADMONITOR_H diff --git a/src/cpp/ripple/ripple_LocalCredentials.cpp b/src/cpp/ripple/ripple_LocalCredentials.cpp index 786d9a25d6..adb714c9a5 100644 --- a/src/cpp/ripple/ripple_LocalCredentials.cpp +++ b/src/cpp/ripple/ripple_LocalCredentials.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== LocalCredentials::LocalCredentials () : mDh512 (NULL), mDh1024 (NULL), mLedger (0) { diff --git a/src/cpp/ripple/ripple_LocalCredentials.h b/src/cpp/ripple/ripple_LocalCredentials.h index 71201f36e8..8d53cb08c0 100644 --- a/src/cpp/ripple/ripple_LocalCredentials.h +++ b/src/cpp/ripple/ripple_LocalCredentials.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_LOCALCREDENTIALS_H #define RIPPLE_LOCALCREDENTIALS_H diff --git a/src/cpp/ripple/ripple_LogWebsockets.cpp b/src/cpp/ripple/ripple_LogWebsockets.cpp index 452f0451e9..8f8d23494a 100644 --- a/src/cpp/ripple/ripple_LogWebsockets.cpp +++ b/src/cpp/ripple/ripple_LogWebsockets.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== // VFALCO NOTE this looks like some facility for giving websocket // a way to produce logging output. diff --git a/src/cpp/ripple/ripple_NicknameState.cpp b/src/cpp/ripple/ripple_NicknameState.cpp index a16a2c96e1..6a4bf24a33 100644 --- a/src/cpp/ripple/ripple_NicknameState.cpp +++ b/src/cpp/ripple/ripple_NicknameState.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== NicknameState::NicknameState (SerializedLedgerEntry::pointer ledgerEntry) : mLedgerEntry (ledgerEntry) diff --git a/src/cpp/ripple/ripple_NicknameState.h b/src/cpp/ripple/ripple_NicknameState.h index cacc9fcd84..11f21a3a0d 100644 --- a/src/cpp/ripple/ripple_NicknameState.h +++ b/src/cpp/ripple/ripple_NicknameState.h @@ -1,3 +1,10 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + + #ifndef RIPPLE_NICKNAMESTATE_H #define RIPPLE_NICKNAMESTATE_H diff --git a/src/cpp/ripple/ripple_Offer.cpp b/src/cpp/ripple/ripple_Offer.cpp index 9000e7d8ba..7e96efb635 100644 --- a/src/cpp/ripple/ripple_Offer.cpp +++ b/src/cpp/ripple/ripple_Offer.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== AccountItem::pointer Offer::makeItem (const uint160& , SerializedLedgerEntry::ref ledgerEntry) { diff --git a/src/cpp/ripple/ripple_Offer.h b/src/cpp/ripple/ripple_Offer.h index 2512108d1f..8c4df132db 100644 --- a/src/cpp/ripple/ripple_Offer.h +++ b/src/cpp/ripple/ripple_Offer.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_OFFER_H #define RIPPLE_OFFER_H diff --git a/src/cpp/ripple/ripple_OrderBook.cpp b/src/cpp/ripple/ripple_OrderBook.cpp index 3f115c4386..aefecb9ec3 100644 --- a/src/cpp/ripple/ripple_OrderBook.cpp +++ b/src/cpp/ripple/ripple_OrderBook.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== OrderBook::OrderBook (uint256 const& index, diff --git a/src/cpp/ripple/ripple_OrderBook.h b/src/cpp/ripple/ripple_OrderBook.h index edc9cffb64..3b2c867695 100644 --- a/src/cpp/ripple/ripple_OrderBook.h +++ b/src/cpp/ripple/ripple_OrderBook.h @@ -1,3 +1,10 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + + #ifndef RIPPLE_ORDERBOOK_H #define RIPPLE_ORDERBOOK_H diff --git a/src/cpp/ripple/ripple_PathRequest.cpp b/src/cpp/ripple/ripple_PathRequest.cpp index 978d7d6e43..be2f2e8519 100644 --- a/src/cpp/ripple/ripple_PathRequest.cpp +++ b/src/cpp/ripple/ripple_PathRequest.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + SETUP_LOG (PathRequest) // VFALCO TODO Move these globals into a PathRequests collection inteface diff --git a/src/cpp/ripple/ripple_PathRequest.h b/src/cpp/ripple/ripple_PathRequest.h index 7e253ebd21..9e48fed288 100644 --- a/src/cpp/ripple/ripple_PathRequest.h +++ b/src/cpp/ripple/ripple_PathRequest.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_PATHREQUEST_H #define RIPPLE_PATHREQUEST_H diff --git a/src/cpp/ripple/ripple_PathState.cpp b/src/cpp/ripple/ripple_PathState.cpp index 7533c72c6c..9f9c2ae95b 100644 --- a/src/cpp/ripple/ripple_PathState.cpp +++ b/src/cpp/ripple/ripple_PathState.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + // TODO: // - Do automatic bridging via XRP. // diff --git a/src/cpp/ripple/ripple_PathState.h b/src/cpp/ripple/ripple_PathState.h index af7e3d2447..5396087378 100644 --- a/src/cpp/ripple/ripple_PathState.h +++ b/src/cpp/ripple/ripple_PathState.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_PATHSTATE_H #define RIPPLE_PATHSTATE_H diff --git a/src/cpp/ripple/ripple_Pathfinder.cpp b/src/cpp/ripple/ripple_Pathfinder.cpp index 01a24fce0c..9f7b6811e7 100644 --- a/src/cpp/ripple/ripple_Pathfinder.cpp +++ b/src/cpp/ripple/ripple_Pathfinder.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== SETUP_LOG (Pathfinder) diff --git a/src/cpp/ripple/ripple_Pathfinder.h b/src/cpp/ripple/ripple_Pathfinder.h index 30783112fd..a706bcc433 100644 --- a/src/cpp/ripple/ripple_Pathfinder.h +++ b/src/cpp/ripple/ripple_Pathfinder.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_PATHFINDER_H #define RIPPLE_PATHFINDER_H diff --git a/src/cpp/ripple/ripple_Peer.cpp b/src/cpp/ripple/ripple_Peer.cpp index 727d8f3689..35112a8ec7 100644 --- a/src/cpp/ripple/ripple_Peer.cpp +++ b/src/cpp/ripple/ripple_Peer.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + // VFALCO TODO make this an inline function #define ADDRESS(p) strHex(uint64( ((char*) p) - ((char*) 0))) diff --git a/src/cpp/ripple/ripple_Peer.h b/src/cpp/ripple/ripple_Peer.h index f9d72930f0..7b863d61c5 100644 --- a/src/cpp/ripple/ripple_Peer.h +++ b/src/cpp/ripple/ripple_Peer.h @@ -1,6 +1,13 @@ -#ifndef __PEER__ -#define __PEER__ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== +#ifndef RIPPLE_PEER_H +#define RIPPLE_PEER_H + +// VFALCO TODO Couldn't this be a struct? typedef std::pair ipPort; class Peer : public boost::enable_shared_from_this diff --git a/src/cpp/ripple/ripple_PeerSet.cpp b/src/cpp/ripple/ripple_PeerSet.cpp index b221060ff8..ce1cf1ac4c 100644 --- a/src/cpp/ripple/ripple_PeerSet.cpp +++ b/src/cpp/ripple/ripple_PeerSet.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== class LedgerAcquire; diff --git a/src/cpp/ripple/ripple_PeerSet.h b/src/cpp/ripple/ripple_PeerSet.h index 566cbd3ac3..e7c60083cb 100644 --- a/src/cpp/ripple/ripple_PeerSet.h +++ b/src/cpp/ripple/ripple_PeerSet.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_PEERSET_H #define RIPPLE_PEERSET_H diff --git a/src/cpp/ripple/ripple_Peers.cpp b/src/cpp/ripple/ripple_Peers.cpp index 15a88555a4..b96596ad01 100644 --- a/src/cpp/ripple/ripple_Peers.cpp +++ b/src/cpp/ripple/ripple_Peers.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== // VFALCO TODO make this an inline function #define ADDRESS_SHARED(p) strHex(uint64( ((char*) (p).get()) - ((char*) 0))) diff --git a/src/cpp/ripple/ripple_ProofOfWork.cpp b/src/cpp/ripple/ripple_ProofOfWork.cpp index bb250623d1..537e7dcb14 100644 --- a/src/cpp/ripple/ripple_ProofOfWork.cpp +++ b/src/cpp/ripple/ripple_ProofOfWork.cpp @@ -1,4 +1,8 @@ - +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== SETUP_LOG (ProofOfWork) diff --git a/src/cpp/ripple/ripple_ProofOfWork.h b/src/cpp/ripple/ripple_ProofOfWork.h index 7117d65ebf..6fc891a364 100644 --- a/src/cpp/ripple/ripple_ProofOfWork.h +++ b/src/cpp/ripple/ripple_ProofOfWork.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_PROOFOFWORK_H #define RIPPLE_PROOFOFWORK_H diff --git a/src/cpp/ripple/ripple_ProofOfWorkFactory.cpp b/src/cpp/ripple/ripple_ProofOfWorkFactory.cpp index 114149ef83..5c0a72dfa1 100644 --- a/src/cpp/ripple/ripple_ProofOfWorkFactory.cpp +++ b/src/cpp/ripple/ripple_ProofOfWorkFactory.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== class ProofOfWorkFactory : public IProofOfWorkFactory { diff --git a/src/cpp/ripple/ripple_RippleCalc.cpp b/src/cpp/ripple/ripple_RippleCalc.cpp index 40a4b6bc26..122d3ee3db 100644 --- a/src/cpp/ripple/ripple_RippleCalc.cpp +++ b/src/cpp/ripple/ripple_RippleCalc.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + // TODO: // - Do automatic bridging via XRP. // diff --git a/src/cpp/ripple/ripple_RippleCalc.h b/src/cpp/ripple/ripple_RippleCalc.h index a788485d73..642ca73acc 100644 --- a/src/cpp/ripple/ripple_RippleCalc.h +++ b/src/cpp/ripple/ripple_RippleCalc.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_RIPPLECALC_H #define RIPPLE_RIPPLECALC_H diff --git a/src/cpp/ripple/ripple_RippleLineCache.cpp b/src/cpp/ripple/ripple_RippleLineCache.cpp index c71ebfc313..49f258a972 100644 --- a/src/cpp/ripple/ripple_RippleLineCache.cpp +++ b/src/cpp/ripple/ripple_RippleLineCache.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== AccountItems& RippleLineCache::getRippleLines (const uint160& accountID) { diff --git a/src/cpp/ripple/ripple_RippleLineCache.h b/src/cpp/ripple/ripple_RippleLineCache.h index 22ecdde83d..a23525310b 100644 --- a/src/cpp/ripple/ripple_RippleLineCache.h +++ b/src/cpp/ripple/ripple_RippleLineCache.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_RIPPLELINECACHE_H #define RIPPLE_RIPPLELINECACHE_H diff --git a/src/cpp/ripple/ripple_RippleState.cpp b/src/cpp/ripple/ripple_RippleState.cpp index c1a18f18bc..785f7fa706 100644 --- a/src/cpp/ripple/ripple_RippleState.cpp +++ b/src/cpp/ripple/ripple_RippleState.cpp @@ -1,4 +1,8 @@ - +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== AccountItem::pointer RippleState::makeItem (const uint160& accountID, SerializedLedgerEntry::ref ledgerEntry) { diff --git a/src/cpp/ripple/ripple_RippleState.h b/src/cpp/ripple/ripple_RippleState.h index 518f49c391..2f6867afbd 100644 --- a/src/cpp/ripple/ripple_RippleState.h +++ b/src/cpp/ripple/ripple_RippleState.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_RIPPLESTATE_H #define RIPPLE_RIPPLESTATE_H diff --git a/src/cpp/ripple/ripple_SHAMap.cpp b/src/cpp/ripple/ripple_SHAMap.cpp index a4f108b82d..a83b9740fd 100644 --- a/src/cpp/ripple/ripple_SHAMap.cpp +++ b/src/cpp/ripple/ripple_SHAMap.cpp @@ -1,4 +1,8 @@ - +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== #ifndef STATE_MAP_BUCKETS #define STATE_MAP_BUCKETS 1024 diff --git a/src/cpp/ripple/ripple_SHAMap.h b/src/cpp/ripple/ripple_SHAMap.h index 37d8d24931..3cf5286772 100644 --- a/src/cpp/ripple/ripple_SHAMap.h +++ b/src/cpp/ripple/ripple_SHAMap.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_SHAMAP_H #define RIPPLE_SHAMAP_H diff --git a/src/cpp/ripple/ripple_SHAMapAddNode.h b/src/cpp/ripple/ripple_SHAMapAddNode.h index 06b418b890..637b379ba1 100644 --- a/src/cpp/ripple/ripple_SHAMapAddNode.h +++ b/src/cpp/ripple/ripple_SHAMapAddNode.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_SHAMAPADDNODE_H #define RIPPLE_SHAMAPADDNODE_H diff --git a/src/cpp/ripple/ripple_SHAMapDelta.cpp b/src/cpp/ripple/ripple_SHAMapDelta.cpp index 0e7aca91bc..26f62b4d9e 100644 --- a/src/cpp/ripple/ripple_SHAMapDelta.cpp +++ b/src/cpp/ripple/ripple_SHAMapDelta.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + // 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/cpp/ripple/ripple_SHAMapItem.cpp b/src/cpp/ripple/ripple_SHAMapItem.cpp index ecf8d4e8eb..c389ee4f72 100644 --- a/src/cpp/ripple/ripple_SHAMapItem.cpp +++ b/src/cpp/ripple/ripple_SHAMapItem.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== class SHAMap; diff --git a/src/cpp/ripple/ripple_SHAMapItem.h b/src/cpp/ripple/ripple_SHAMapItem.h index 49a292c2cf..a4dd6d5a54 100644 --- a/src/cpp/ripple/ripple_SHAMapItem.h +++ b/src/cpp/ripple/ripple_SHAMapItem.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_SHAMAPITEM_H #define RIPPLE_SHAMAPITEM_H diff --git a/src/cpp/ripple/ripple_SHAMapMissingNode.cpp b/src/cpp/ripple/ripple_SHAMapMissingNode.cpp index 7892c86acb..0193e17b73 100644 --- a/src/cpp/ripple/ripple_SHAMapMissingNode.cpp +++ b/src/cpp/ripple/ripple_SHAMapMissingNode.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== std::ostream& operator<< (std::ostream& out, const SHAMapMissingNode& mn) { diff --git a/src/cpp/ripple/ripple_SHAMapMissingNode.h b/src/cpp/ripple/ripple_SHAMapMissingNode.h index 873fefab84..86ae9e5e4c 100644 --- a/src/cpp/ripple/ripple_SHAMapMissingNode.h +++ b/src/cpp/ripple/ripple_SHAMapMissingNode.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_SHAMAPMISSINGNODE_H #define RIPPLE_SHAMAPMISSINGNODE_H diff --git a/src/cpp/ripple/ripple_SHAMapNode.cpp b/src/cpp/ripple/ripple_SHAMapNode.cpp index 274837843f..6b4049f8d5 100644 --- a/src/cpp/ripple/ripple_SHAMapNode.cpp +++ b/src/cpp/ripple/ripple_SHAMapNode.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== SETUP_LOG (SHAMapNode) diff --git a/src/cpp/ripple/ripple_SHAMapNode.h b/src/cpp/ripple/ripple_SHAMapNode.h index 7efb8ebf51..50ab4ad8ef 100644 --- a/src/cpp/ripple/ripple_SHAMapNode.h +++ b/src/cpp/ripple/ripple_SHAMapNode.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_SHAMAPNODE_H #define RIPPLE_SHAMAPNODE_H diff --git a/src/cpp/ripple/ripple_SHAMapSync.cpp b/src/cpp/ripple/ripple_SHAMapSync.cpp index 393b618850..0831b7c05c 100644 --- a/src/cpp/ripple/ripple_SHAMapSync.cpp +++ b/src/cpp/ripple/ripple_SHAMapSync.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== // VFALCO TODO tidy up this global diff --git a/src/cpp/ripple/ripple_SHAMapSyncFilter.h b/src/cpp/ripple/ripple_SHAMapSyncFilter.h index 1d60f0d194..1b2ec89b4b 100644 --- a/src/cpp/ripple/ripple_SHAMapSyncFilter.h +++ b/src/cpp/ripple/ripple_SHAMapSyncFilter.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_SHAMAPSYNCFILTER_H #define RIPPLE_SHAMAPSYNCFILTER_H diff --git a/src/cpp/ripple/ripple_SHAMapSyncFilters.cpp b/src/cpp/ripple/ripple_SHAMapSyncFilters.cpp index 176483772a..f4500f30d2 100644 --- a/src/cpp/ripple/ripple_SHAMapSyncFilters.cpp +++ b/src/cpp/ripple/ripple_SHAMapSyncFilters.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== ConsensusTransSetSF::ConsensusTransSetSF () { diff --git a/src/cpp/ripple/ripple_SHAMapSyncFilters.h b/src/cpp/ripple/ripple_SHAMapSyncFilters.h index 08a3fa847a..d41593bb72 100644 --- a/src/cpp/ripple/ripple_SHAMapSyncFilters.h +++ b/src/cpp/ripple/ripple_SHAMapSyncFilters.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_SHAMAPSYNCFILTERS_H #define RIPPLE_SHAMAPSYNCFILTERS_H diff --git a/src/cpp/ripple/ripple_SHAMapTreeNode.cpp b/src/cpp/ripple/ripple_SHAMapTreeNode.cpp index 4b683e3fee..ccc9ab8da1 100644 --- a/src/cpp/ripple/ripple_SHAMapTreeNode.cpp +++ b/src/cpp/ripple/ripple_SHAMapTreeNode.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + DECLARE_INSTANCE (SHAMapTreeNode); SHAMapTreeNode::SHAMapTreeNode (uint32 seq, const SHAMapNode& nodeID) : SHAMapNode (nodeID), mHash (0), diff --git a/src/cpp/ripple/ripple_SHAMapTreeNode.h b/src/cpp/ripple/ripple_SHAMapTreeNode.h index c716f73c22..fc0f713c73 100644 --- a/src/cpp/ripple/ripple_SHAMapTreeNode.h +++ b/src/cpp/ripple/ripple_SHAMapTreeNode.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_SHAMAPTREENODE_H #define RIPPLE_SHAMAPTREENODE_H diff --git a/src/cpp/ripple/ripple_SerializedLedger.cpp b/src/cpp/ripple/ripple_SerializedLedger.cpp index a7f7d037e7..0741ef1e9f 100644 --- a/src/cpp/ripple/ripple_SerializedLedger.cpp +++ b/src/cpp/ripple/ripple_SerializedLedger.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== DECLARE_INSTANCE (SerializedLedgerEntry) diff --git a/src/cpp/ripple/ripple_SerializedLedger.h b/src/cpp/ripple/ripple_SerializedLedger.h index 1bae70a9d9..13b61c7e1e 100644 --- a/src/cpp/ripple/ripple_SerializedLedger.h +++ b/src/cpp/ripple/ripple_SerializedLedger.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_SERIALIZEDLEDGER_H #define RIPPLE_SERIALIZEDLEDGER_H diff --git a/src/cpp/ripple/ripple_SerializedTransaction.cpp b/src/cpp/ripple/ripple_SerializedTransaction.cpp index 1f739d8a6c..17ecb15307 100644 --- a/src/cpp/ripple/ripple_SerializedTransaction.cpp +++ b/src/cpp/ripple/ripple_SerializedTransaction.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== SETUP_LOG (SerializedTransaction) diff --git a/src/cpp/ripple/ripple_SerializedTransaction.h b/src/cpp/ripple/ripple_SerializedTransaction.h index a9aa6253b2..ca85c3cbc4 100644 --- a/src/cpp/ripple/ripple_SerializedTransaction.h +++ b/src/cpp/ripple/ripple_SerializedTransaction.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_SERIALIZEDTRANSACTION_H #define RIPPLE_SERIALIZEDTRANSACTION_H diff --git a/src/cpp/ripple/ripple_TransactionAcquire.cpp b/src/cpp/ripple/ripple_TransactionAcquire.cpp index 7b1080f4e4..eb935bf4a2 100644 --- a/src/cpp/ripple/ripple_TransactionAcquire.cpp +++ b/src/cpp/ripple/ripple_TransactionAcquire.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== SETUP_LOG (TransactionAcquire) diff --git a/src/cpp/ripple/ripple_TransactionAcquire.h b/src/cpp/ripple/ripple_TransactionAcquire.h index d3eac6fc04..244bc091f3 100644 --- a/src/cpp/ripple/ripple_TransactionAcquire.h +++ b/src/cpp/ripple/ripple_TransactionAcquire.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_TRANSACTIONACQUIRE_H #define RIPPLE_TRANSACTIONACQUIRE_H diff --git a/src/cpp/ripple/ripple_UniqueNodeList.cpp b/src/cpp/ripple/ripple_UniqueNodeList.cpp index c2ba5fe729..4650cd4ecd 100644 --- a/src/cpp/ripple/ripple_UniqueNodeList.cpp +++ b/src/cpp/ripple/ripple_UniqueNodeList.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + // XXX Dynamically limit fetching by distance. // XXX Want a limit of 2000 validators. diff --git a/src/cpp/ripple/ripple_Validations.cpp b/src/cpp/ripple/ripple_Validations.cpp index 238af8e46f..f291741368 100644 --- a/src/cpp/ripple/ripple_Validations.cpp +++ b/src/cpp/ripple/ripple_Validations.cpp @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== class Validations; diff --git a/src/cpp/ripple/ripple_Version.h b/src/cpp/ripple/ripple_Version.h index 672a83be3c..dcd77fe60e 100644 --- a/src/cpp/ripple/ripple_Version.h +++ b/src/cpp/ripple/ripple_Version.h @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #ifndef RIPPLE_VERSION_H #define RIPPLE_VERSION_H // diff --git a/src/cpp/ripple/rpc.cpp b/src/cpp/ripple/rpc.cpp index 9178d91903..125642d198 100644 --- a/src/cpp/ripple/rpc.cpp +++ b/src/cpp/ripple/rpc.cpp @@ -1,3 +1,9 @@ +//------------------------------------------------------------------------------ +/* + Copyright (c) 2011-2013, OpenCoin, Inc. +*/ +//============================================================================== + #include #include