diff --git a/modules/ripple_basics/containers/ripple_KeyCache.h b/modules/ripple_basics/containers/ripple_KeyCache.h index cca9266fa..b9eb63cbd 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 547ac99e8..155bca307 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 2b2642d8a..cbed4135d 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 0369021d3..f956de796 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 a37a161c8..989c0d767 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 a425fc764..1551ebda0 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 cd9397289..f4716d5a7 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 72be59c5c..f5aa1305f 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 d92d9d6bb..eceae71de 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 35c9bfb3c..8c4da244a 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 0839863a8..8be487997 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 56904929c..fa135ee21 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 de226524c..2b6851e2b 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 ca2a0ab5f..872c415bb 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 08fd1d477..269407ccf 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 c9e4679c8..18b0a7fcf 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 a8eb76975..bc2f76cb0 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 20d264435..351ed3968 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 ce3d121dc..49b8a3b40 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 11ce703d6..95ffadee5 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 099edc78f..520a34bb3 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 0403bbbf8..6493a987b 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 0b6c6f632..d6be4a2f4 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 48752abf1..76310d32c 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 fc125466c..d53ee3ba9 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 922264ace..a51dd1dd3 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 8d499f87f..090fad3c9 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 c7959a73b..4541752a3 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 8271896cb..a5b0b88e4 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 a2dca2741..d5ffecccb 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 69b0ed4ed..634ad5ad4 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 4edaa8563..568e1e16a 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 58af2009f..ea7dc321a 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 2492f628e..1858a6750 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 83bcf0b81..2412b9f20 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 ffe135b03..8876173b0 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 58afbe5a8..fa3650fbf 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 25d4dce5e..9f13c2407 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 4dd6e661f..e00a39b0a 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 c6e848120..7937e2178 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 08198d173..9cda02e6f 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 346122055..84ce69fe4 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 5d7811a8a..ba9412dd1 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 529b25a8f..951e4cecf 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 b86720b42..1a443a5a6 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 a6048cf74..78d025890 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 aa9f304be..c60ed4e3f 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 9c3fe6882..0903e0127 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 cfd46213c..9c1e9ef39 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 33203d674..3a612b410 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 e1964ead7..8b8f6282d 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 e111cc402..918632288 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 073ba7079..fe7d575a7 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 17cf1377a..5231ea182 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 914a4cd43..3cc08692f 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 4aff824e0..3b60f9a69 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 a949c3fd2..978127646 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 77a07cb73..41fd4bd8c 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 3f36f35a4..c0dd4da9d 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 b32841c39..cb05b20d1 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 a1ce38600..040aeb375 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 296dff2ac..f0d057094 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 92de7a787..d32665c48 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 0af868e73..6c65089ae 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 c159941a9..be3a4cc09 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 0bd330157..91e45731a 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 2bb590072..c837ece52 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 61007cce9..9a844074b 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 6a2546f18..43ae0bbba 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 7d4a7c38a..3fd02ea35 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 94562db2c..2debcb532 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 6230a3e35..8a2fb4ce8 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 74b5e8f2d..ff08562a5 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 57f922b70..1ca9d7f5d 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 13d8b265d..5a8fee220 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 dc1da150e..b8a45ae6e 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 f8e31abf9..09ff0ea2a 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 2d566965a..14c248c21 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 dfb2f4578..12878db2a 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 0ecb8758e..d8a9981b9 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 a531141d7..022434150 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 f2f50f8ec..1eaed909c 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 3535dced0..b86bdc150 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 436894dfb..d8b838cd4 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 c71ed65ab..69d2c9972 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 ea5ba2a30..3e640f5bc 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 cd5feede7..6249b8776 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 5d334cbc5..c637b83aa 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 0d289bb13..ae1610941 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 fefa02702..0d3d510ec 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 4709ab848..f0ac4c58e 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 956ae81e7..52fac1662 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 4d4bc60fd..aa4e1353f 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 e906954a3..b49fc6e17 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 274314e0d..d7f2404ad 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 cd713e179..204da7d59 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 1bd08253f..7308f1ff5 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 8b7ccb06d..318577d91 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 7cf420170..7f9e9b3f9 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 de19672a0..40a531250 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 423da292a..5dfdc2b1d 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 a2526b5b4..5ff5ff109 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 a03bd93e9..ff56cbed5 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 221a56d05..d6bea4bba 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 ee603ca3a..c0e4ff6f0 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 8057b5df3..ac31a6874 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 6602b5b3d..c6b337098 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 da09fe83b..37820f491 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 05e07c4ff..313e21f57 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 d24ebd100..f9ef60fa4 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 6af1cbc5b..683456b31 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 2bad1d3f4..552eac834 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 669606af6..8ab0a5950 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 0d8aec86b..f4fd3bc2a 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 d472eb982..315b70ce7 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 edb4ced86..5470542ec 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 a024cb77c..10c84ebd7 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 65f375853..c7e2d4c88 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 af9f8c1e2..ab79bf8e1 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 4b9bf1b85..e17453ca9 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 48895588c..8a72f2b78 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 176fda95e..69d6a8214 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 a282b1810..236183483 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 12323233a..86152d01f 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 48a2be98b..c90979fd8 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 8e2b214ab..f291f6ae9 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 931c4f424..58afd0322 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 bfee23929..07a062484 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 7382d7a71..0a7f98caf 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 0967f4629..6aaca879d 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 33a4f6ffe..ed652a093 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 df03e1839..261ead944 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 6ca2d6ea6..bf0bb8fd3 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 e844894f1..d333680ea 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 8eb888062..93b39ef13 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 0aa493f96..b2b8c0894 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 496d12b23..d9dd41205 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 f9f3eb69b..dfb4f9117 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 1a8734081..01fe13a68 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 b74aad217..34a3f2459 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 f43e4d166..4a34819df 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 004f29c67..059cf057a 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 c5d09d399..45ff33883 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 d5b246136..f0982bf6e 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 ffe0b09d5..fe9300843 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 7fc25d5a4..c10eba82b 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 11453753a..3f4a4b7cc 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 091df0f79..be4bbcf41 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 3109f649a..9b00c435e 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 9b8a18793..4dfe8ab53 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 3c34dced2..0c8038175 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 48736e265..103dbe0ba 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 fb8445220..beccb5d9d 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 5b54f60ae..d27372b3f 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 8d78c0c5a..808fa08ae 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 a1630f406..3a4458206 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 04865a579..6b33587f7 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 90fe2e35b..45f3f7ec8 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 e76aa89dd..801ed9597 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 2a4dc600f..c00343ca3 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 2c5f0f076..efe9e58c6 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 fdb8144dc..715a1ab50 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 2f9b17b0d..6d53204dd 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 8a2e084ff..bbfc750b5 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 5d295e56a..8734ff40a 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 c3272df77..339eb62d9 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 1eac7eddd..0b941a305 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 0250d3235..532af4db6 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 60105060e..9de523044 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 1d7a07a66..929b3d331 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 3058c99af..fdfc54055 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 51cb4caf0..c3a2fef23 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 5056fc692..a843223a0 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 14b907017..23ab8c973 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 b34ff61ee..f85c3439e 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 25c449782..fb52df7f7 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 4c75f89f1..28ac0bd5a 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 bf8b2614b..da4639217 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 22274bb30..ebc2ef1bf 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 a82ed48e4..e02800478 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 71ddc54fa..b822469b4 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 368bce2b1..feb1a4527 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 ee41ae567..af28069fa 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 1169edf9e..ba7b28771 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 405928374..70bd76bc3 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 987a5f524..ce4574927 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 98c9a152c..08bf56936 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 9a83cb185..909cb9a2b 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 1f4ee2da6..817f2751b 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 8958f0eef..f3f8e2d56 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 332e40ddb..75799eb9b 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 55bec81d2..f9e488fa7 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 0305028bf..2016f4d1e 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 4cff26ec1..b8c9b3012 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 823f3ac02..3b7d744cc 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 5096096ce..1e7224150 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 80b04bfaf..91aeea9b4 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 50d6e51fb..82c762685 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 c32bd959e..4d5ec8603 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 c88a8bd02..ec58d019a 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 dd5bc4b15..17a7878e1 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 d54fe8177..23346f01d 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 29646aa9b..2b14f8454 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 f1be6fb0b..599360b27 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 84011b272..b10120333 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 542ee0d24..d9827f733 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 44ed9d01b..c94a9dd16 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 9ba8a26bb..5c4da3b6a 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 e491cec96..bd98a275a 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 32c7e1250..17554cd9a 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 7de7de51b..6b243c1cc 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 4e0dbaa0d..f10e660ae 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 803073b78..b20ca9212 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 1b5f9de8b..b8e3f61d4 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 6b128b526..44535fa74 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 c84e0449e..d9bbdcca2 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 764ff255c..7c7694dc0 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 f547da656..405a009f1 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 3dff088ee..680708945 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 6f338b6e5..8f6c2ad9d 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 cb98cc341..dd5dfa729 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 b85d6b2bb..2505d5323 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 7e84028d7..963dcb2d9 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 7ae7693a9..66fcd2a6e 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 76fc2f731..f5f54fd82 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 49dae55bc..1adc3a9bb 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 e30bd650b..5f3a63664 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 3372bbb38..d6c97e4a9 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 bfe407465..87b3eedbe 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 36283c26a..a0b2b9557 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 e0d717a93..ecee1eee6 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 fb955336d..58089cdd1 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 9a2218aa5..827b58677 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 4672d1048..fd0951a9c 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 7f284cc28..e4ce7fde9 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 58c43f2c6..3c08dc7dc 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 79d99276b..fe0075a27 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 e85c2e8ec..a49589bf3 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 af915f371..643ab1add 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 541cb949b..616ca987e 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 b57156463..b09298f89 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 487e9a425..1e0c404f9 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 c89b679da..fcdd1608c 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 acd9a8858..b79bde96f 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 de17990f7..b266a9f1c 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 7b406b698..9b8b983b5 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 528d8e226..f15fd67bd 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 6be147a1e..ebde79f4d 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 5b1c277cb..80545d86d 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 6ad16e218..a2abf8492 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 85120815e..c6ff6d829 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 b8d6ead7c..1c6701d82 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 4a84a10c2..972ad8782 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 7540c3c72..bb7cc4baf 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 b15d18334..447522180 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 786d9a25d..adb714c9a 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 71201f36e..8d53cb08c 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 452f0451e..8f8d23494 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 a16a2c96e..6a4bf24a3 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 cacc9fcd8..11f21a3a0 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 9000e7d8b..7e96efb63 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 2512108d1..8c4df132d 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 3f115c438..aefecb9ec 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 edc9cffb6..3b2c86769 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 978d7d6e4..be2f2e851 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 7e253ebd2..9e48fed28 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 7533c72c6..9f9c2ae95 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 af7e3d244..539608737 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 01a24fce0..9f7b6811e 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 30783112f..a706bcc43 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 727d8f368..35112a8ec 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 f9d72930f..7b863d61c 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 b221060ff..ce1cf1ac4 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 566cbd3ac..e7c60083c 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 15a88555a..b96596ad0 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 bb250623d..537e7dcb1 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 7117d65eb..6fc891a36 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 114149ef8..5c0a72dfa 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 40a4b6bc2..122d3ee3d 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 a788485d7..642ca73ac 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 c71ebfc31..49f258a97 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 22ecdde83..a23525310 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 c1a18f18b..785f7fa70 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 518f49c39..2f6867afb 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 a4f108b82..a83b9740f 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 37d8d2493..3cf528677 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 06b418b89..637b379ba 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 0e7aca91b..26f62b4d9 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 ecf8d4e8e..c389ee4f7 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 49a292c2c..a4dd6d5a5 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 7892c86ac..0193e17b7 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 873fefab8..86ae9e5e4 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 274837843..6b4049f8d 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 7efb8ebf5..50ab4ad8e 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 393b61885..0831b7c05 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 1d60f0d19..1b2ec89b4 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 176483772..f4500f30d 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 08a3fa847..d41593bb7 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 4b683e3fe..ccc9ab8da 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 c716f73c2..fc0f713c7 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 a7f7d037e..0741ef1e9 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 1bae70a9d..13b61c7e1 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 1f739d8a6..17ecb1530 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 a9aa6253b..ca85c3cbc 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 7b1080f4e..eb935bf4a 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 d3eac6fc0..244bc091f 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 c2ba5fe72..4650cd4ec 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 238af8e46..f29174136 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 672a83be3..dcd77fe60 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 9178d9190..125642d19 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