mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-22 12:05:53 +00:00
81 lines
2.7 KiB
C++
81 lines
2.7 KiB
C++
//------------------------------------------------------------------------------
|
|
/*
|
|
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.
|
|
*/
|
|
//==============================================================================
|
|
|
|
/** Include this to get the @ref ripple_data module.
|
|
|
|
@file ripple_data.h
|
|
@ingroup ripple_data
|
|
*/
|
|
|
|
/** Ripple specific data representation and manipulation.
|
|
|
|
These form the building blocks of Ripple data.
|
|
|
|
@defgroup ripple_data
|
|
*/
|
|
|
|
#ifndef RIPPLE_DATA_H
|
|
#define RIPPLE_DATA_H
|
|
|
|
#include <algorithm>
|
|
#include <cassert>
|
|
#include <cstdio>
|
|
#include <list>
|
|
#include <stdexcept>
|
|
#include <string>
|
|
#include <stdexcept>
|
|
#include <vector>
|
|
|
|
#include <boost/cstdint.hpp>
|
|
#include <boost/enable_shared_from_this.hpp>
|
|
#include <boost/functional/hash.hpp>
|
|
#include <boost/shared_ptr.hpp>
|
|
#include <boost/ptr_container/ptr_vector.hpp> // VFALCO NOTE this looks like junk
|
|
|
|
#include <openssl/bn.h>
|
|
#include <openssl/ec.h>
|
|
#include <openssl/ecdsa.h>
|
|
#include <openssl/obj_mac.h>
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
// VFALCO TODO try to reduce these dependencies
|
|
#include "../ripple_basics/ripple_basics.h"
|
|
|
|
// VFALCO TODO figure out a good place for this file, perhaps give it some
|
|
// additional hierarchy via directories.
|
|
#include "ripple.pb.h"
|
|
|
|
#include "crypto/ripple_CBigNum.h"
|
|
#include "crypto/ripple_Base58.h" // VFALCO TODO Can be moved to .cpp if we clean up setAlphabet stuff
|
|
#include "crypto/ripple_Base58Data.h"
|
|
|
|
#include "protocol/ripple_FieldNames.h"
|
|
#include "protocol/ripple_PackedMessage.h"
|
|
#include "protocol/ripple_RippleAddress.h"
|
|
#include "protocol/ripple_RippleSystem.h"
|
|
#include "protocol/ripple_Serializer.h" // needs CKey
|
|
#include "protocol/ripple_TER.h"
|
|
#include "protocol/ripple_SerializedTypes.h" // needs Serializer, TER
|
|
#include "protocol/ripple_SerializedObjectTemplate.h"
|
|
#include "protocol/ripple_SerializedObject.h"
|
|
#include "protocol/ripple_LedgerFormat.h" // needs SOTemplate from SerializedObject
|
|
#include "protocol/ripple_TransactionFormat.h"
|
|
|
|
#endif
|