mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add annotation and clean up whitespace
This commit is contained in:
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_HTTP_PORT_H_INCLUDED
|
#ifndef RIPPLE_HTTP_PORT_H_INCLUDED
|
||||||
#define RIPPLE_HTTP_PORT_H_INCLUDED
|
#define RIPPLE_HTTP_PORT_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_HTTP_SCOPEDSTREAM_H_INCLUDED
|
#ifndef RIPPLE_HTTP_SCOPEDSTREAM_H_INCLUDED
|
||||||
#define RIPPLE_HTTP_SCOPEDSTREAM_H_INCLUDED
|
#define RIPPLE_HTTP_SCOPEDSTREAM_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_HTTP_SERVER_H_INCLUDED
|
#ifndef RIPPLE_HTTP_SERVER_H_INCLUDED
|
||||||
#define RIPPLE_HTTP_SERVER_H_INCLUDED
|
#define RIPPLE_HTTP_SERVER_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_HTTP_SESSION_H_INCLUDED
|
#ifndef RIPPLE_HTTP_SESSION_H_INCLUDED
|
||||||
#define RIPPLE_HTTP_SESSION_H_INCLUDED
|
#define RIPPLE_HTTP_SESSION_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_HTTP_DOOR_H_INCLUDED
|
#ifndef RIPPLE_HTTP_DOOR_H_INCLUDED
|
||||||
#define RIPPLE_HTTP_DOOR_H_INCLUDED
|
#define RIPPLE_HTTP_DOOR_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_HTTP_PEER_H_INCLUDED
|
#ifndef RIPPLE_HTTP_PEER_H_INCLUDED
|
||||||
#define RIPPLE_HTTP_PEER_H_INCLUDED
|
#define RIPPLE_HTTP_PEER_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_HTTP_SERVERIMPL_H_INCLUDED
|
#ifndef RIPPLE_HTTP_SERVERIMPL_H_INCLUDED
|
||||||
#define RIPPLE_HTTP_SERVERIMPL_H_INCLUDED
|
#define RIPPLE_HTTP_SERVERIMPL_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_HTTP_TYPES_H_INCLUDED
|
#ifndef RIPPLE_HTTP_TYPES_H_INCLUDED
|
||||||
#define RIPPLE_HTTP_TYPES_H_INCLUDED
|
#define RIPPLE_HTTP_TYPES_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_HTTP_H_INCLUDED
|
#ifndef RIPPLE_HTTP_H_INCLUDED
|
||||||
#define RIPPLE_HTTP_H_INCLUDED
|
#define RIPPLE_HTTP_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef JSON_CONFIG_H_INCLUDED
|
#ifndef JSON_CONFIG_H_INCLUDED
|
||||||
#define JSON_CONFIG_H_INCLUDED
|
#define JSON_CONFIG_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef CPPTL_JSON_FEATURES_H_INCLUDED
|
#ifndef CPPTL_JSON_FEATURES_H_INCLUDED
|
||||||
#define CPPTL_JSON_FEATURES_H_INCLUDED
|
#define CPPTL_JSON_FEATURES_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef JSON_FORWARDS_H_INCLUDED
|
#ifndef JSON_FORWARDS_H_INCLUDED
|
||||||
#define JSON_FORWARDS_H_INCLUDED
|
#define JSON_FORWARDS_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef CPPTL_JSON_READER_H_INCLUDED
|
#ifndef CPPTL_JSON_READER_H_INCLUDED
|
||||||
# define CPPTL_JSON_READER_H_INCLUDED
|
# define CPPTL_JSON_READER_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef CPPTL_JSON_H_INCLUDED
|
#ifndef CPPTL_JSON_H_INCLUDED
|
||||||
#define CPPTL_JSON_H_INCLUDED
|
#define CPPTL_JSON_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef JSON_WRITER_H_INCLUDED
|
#ifndef JSON_WRITER_H_INCLUDED
|
||||||
#define JSON_WRITER_H_INCLUDED
|
#define JSON_WRITER_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef JSON_AUTOLINK_H_INCLUDED
|
#ifndef JSON_AUTOLINK_H_INCLUDED
|
||||||
#define JSON_AUTOLINK_H_INCLUDED
|
#define JSON_AUTOLINK_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef JSONCPP_BATCHALLOCATOR_H_INCLUDED
|
#ifndef JSONCPP_BATCHALLOCATOR_H_INCLUDED
|
||||||
#define JSONCPP_BATCHALLOCATOR_H_INCLUDED
|
#define JSONCPP_BATCHALLOCATOR_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_PEERFINDER_GIVEAWAYS_H_INCLUDED
|
#ifndef RIPPLE_PEERFINDER_GIVEAWAYS_H_INCLUDED
|
||||||
#define RIPPLE_PEERFINDER_GIVEAWAYS_H_INCLUDED
|
#define RIPPLE_PEERFINDER_GIVEAWAYS_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
30
src/ripple/resource/README.md
Normal file
30
src/ripple/resource/README.md
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
# ResourceManager
|
||||||
|
|
||||||
|
The ResourceManager module has these responsibilities:
|
||||||
|
|
||||||
|
- Uniquely identify endpoints which impose load.
|
||||||
|
- Track the load used across endpoints.
|
||||||
|
- Provide an interface to share load information in a cluster.
|
||||||
|
- Warn and/or disconnect endpoints for imposing load.
|
||||||
|
|
||||||
|
## Description
|
||||||
|
|
||||||
|
To prevent monopolization of server resources or attacks on servers,
|
||||||
|
resource consumption is monitored at each endpoint. When consumption
|
||||||
|
exceeds certain thresholds, costs are imposed. Costs include charging
|
||||||
|
additional XRP for transactions, requiring a proof of work to be
|
||||||
|
performed, or simply disconnecting the endpoint.
|
||||||
|
|
||||||
|
Currently, consumption endpoints include websocket connections used to
|
||||||
|
service clients, and peer connections used to create the peer to peer
|
||||||
|
overlay network implementing the Ripple protcool.
|
||||||
|
|
||||||
|
The current "balance" of a Consumer represents resource consumption
|
||||||
|
debt or credit. Debt is accrued when bad loads are imposed. Credit is
|
||||||
|
granted when good loads are imposed. When the balance crosses heuristic
|
||||||
|
thresholds, costs are increased on the endpoint. The balance is
|
||||||
|
represented as a unitless relative quantity.
|
||||||
|
|
||||||
|
Although RPC connections consume resources, they are transient and
|
||||||
|
cannot be rate limited. It is advised not to expose RPC interfaces
|
||||||
|
to the general public.
|
||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_RPC_HANDLER_H_INCLUDED
|
#ifndef RIPPLE_RPC_HANDLER_H_INCLUDED
|
||||||
#define RIPPLE_RPC_HANDLER_H_INCLUDED
|
#define RIPPLE_RPC_HANDLER_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_RPC_MANAGER_H_INCLUDED
|
#ifndef RIPPLE_RPC_MANAGER_H_INCLUDED
|
||||||
#define RIPPLE_RPC_MANAGER_H_INCLUDED
|
#define RIPPLE_RPC_MANAGER_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_RPC_SERVCE_H_INCLUDED
|
#ifndef RIPPLE_RPC_SERVCE_H_INCLUDED
|
||||||
#define RIPPLE_RPC_SERVCE_H_INCLUDED
|
#define RIPPLE_RPC_SERVCE_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_RPC_MANAGERIMPL_H_INCLUDED
|
#ifndef RIPPLE_RPC_MANAGERIMPL_H_INCLUDED
|
||||||
#define RIPPLE_RPC_MANAGERIMPL_H_INCLUDED
|
#define RIPPLE_RPC_MANAGERIMPL_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_RPC_H_INCLUDED
|
#ifndef RIPPLE_RPC_H_INCLUDED
|
||||||
#define RIPPLE_RPC_H_INCLUDED
|
#define RIPPLE_RPC_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_SOPHIA_H_INCLUDED
|
#ifndef RIPPLE_SOPHIA_H_INCLUDED
|
||||||
#define RIPPLE_SOPHIA_H_INCLUDED
|
#define RIPPLE_SOPHIA_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_SSLUTIL_DHUTIL_H_INCLUDED
|
#ifndef RIPPLE_SSLUTIL_DHUTIL_H_INCLUDED
|
||||||
#define RIPPLE_SSLUTIL_DHUTIL_H_INCLUDED
|
#define RIPPLE_SSLUTIL_DHUTIL_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_SSLUTIL_HASHUTILITIES_H_INCLUDED
|
#ifndef RIPPLE_SSLUTIL_HASHUTILITIES_H_INCLUDED
|
||||||
#define RIPPLE_SSLUTIL_HASHUTILITIES_H_INCLUDED
|
#define RIPPLE_SSLUTIL_HASHUTILITIES_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_SSLUTIL_H_INCLUDED
|
#ifndef RIPPLE_SSLUTIL_H_INCLUDED
|
||||||
#define RIPPLE_SSLUTIL_H_INCLUDED
|
#define RIPPLE_SSLUTIL_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_TESTOVERLAY_CONFIGTYPE_H_INCLUDED
|
#ifndef RIPPLE_TESTOVERLAY_CONFIGTYPE_H_INCLUDED
|
||||||
#define RIPPLE_TESTOVERLAY_CONFIGTYPE_H_INCLUDED
|
#define RIPPLE_TESTOVERLAY_CONFIGTYPE_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_TESTOVERLAY_CONNECTIONTYPE_H_INCLUDED
|
#ifndef RIPPLE_TESTOVERLAY_CONNECTIONTYPE_H_INCLUDED
|
||||||
#define RIPPLE_TESTOVERLAY_CONNECTIONTYPE_H_INCLUDED
|
#define RIPPLE_TESTOVERLAY_CONNECTIONTYPE_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_TESTOVERLAY_INITPOLICY_H_INCLUDED
|
#ifndef RIPPLE_TESTOVERLAY_INITPOLICY_H_INCLUDED
|
||||||
#define RIPPLE_TESTOVERLAY_INITPOLICY_H_INCLUDED
|
#define RIPPLE_TESTOVERLAY_INITPOLICY_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_TESTOVERLAY_MESSAGETYPE_H_INCLUDED
|
#ifndef RIPPLE_TESTOVERLAY_MESSAGETYPE_H_INCLUDED
|
||||||
#define RIPPLE_TESTOVERLAY_MESSAGETYPE_H_INCLUDED
|
#define RIPPLE_TESTOVERLAY_MESSAGETYPE_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_TESTOVERLAY_NETWORKTYPE_H_INCLUDED
|
#ifndef RIPPLE_TESTOVERLAY_NETWORKTYPE_H_INCLUDED
|
||||||
#define RIPPLE_TESTOVERLAY_NETWORKTYPE_H_INCLUDED
|
#define RIPPLE_TESTOVERLAY_NETWORKTYPE_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_TESTOVERLAY_PEERLOGICBASE_H_INCLUDED
|
#ifndef RIPPLE_TESTOVERLAY_PEERLOGICBASE_H_INCLUDED
|
||||||
#define RIPPLE_TESTOVERLAY_PEERLOGICBASE_H_INCLUDED
|
#define RIPPLE_TESTOVERLAY_PEERLOGICBASE_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_TESTOVERLAY_PEERTYPE_H_INCLUDED
|
#ifndef RIPPLE_TESTOVERLAY_PEERTYPE_H_INCLUDED
|
||||||
#define RIPPLE_TESTOVERLAY_PEERTYPE_H_INCLUDED
|
#define RIPPLE_TESTOVERLAY_PEERTYPE_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_TESTOVERLAY_RESULTS_H_INCLUDED
|
#ifndef RIPPLE_TESTOVERLAY_RESULTS_H_INCLUDED
|
||||||
#define RIPPLE_TESTOVERLAY_RESULTS_H_INCLUDED
|
#define RIPPLE_TESTOVERLAY_RESULTS_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_TESTOVERLAY_SIMPLEPAYLOAD_H_INCLUDED
|
#ifndef RIPPLE_TESTOVERLAY_SIMPLEPAYLOAD_H_INCLUDED
|
||||||
#define RIPPLE_TESTOVERLAY_SIMPLEPAYLOAD_H_INCLUDED
|
#define RIPPLE_TESTOVERLAY_SIMPLEPAYLOAD_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_TESTOVERLAY_STATEBASE_H_INCLUDED
|
#ifndef RIPPLE_TESTOVERLAY_STATEBASE_H_INCLUDED
|
||||||
#define RIPPLE_TESTOVERLAY_STATEBASE_H_INCLUDED
|
#define RIPPLE_TESTOVERLAY_STATEBASE_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_TESTOVERLAY_H_INCLUDED
|
#ifndef RIPPLE_TESTOVERLAY_H_INCLUDED
|
||||||
#define RIPPLE_TESTOVERLAY_H_INCLUDED
|
#define RIPPLE_TESTOVERLAY_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_TYPES_AGEDHISTORY_H_INCLUDED
|
#ifndef RIPPLE_TYPES_AGEDHISTORY_H_INCLUDED
|
||||||
#define RIPPLE_TYPES_AGEDHISTORY_H_INCLUDED
|
#define RIPPLE_TYPES_AGEDHISTORY_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_TYPES_BLOB_H_INCLUDED
|
#ifndef RIPPLE_TYPES_BLOB_H_INCLUDED
|
||||||
#define RIPPLE_TYPES_BLOB_H_INCLUDED
|
#define RIPPLE_TYPES_BLOB_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_TYPES_BYTEORDER_H
|
#ifndef RIPPLE_TYPES_BYTEORDER_H
|
||||||
#define RIPPLE_TYPES_BYTEORDER_H
|
#define RIPPLE_TYPES_BYTEORDER_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_TYPES_CRYPTOIDENTIFIER_H_INCLUDED
|
#ifndef RIPPLE_TYPES_CRYPTOIDENTIFIER_H_INCLUDED
|
||||||
#define RIPPLE_TYPES_CRYPTOIDENTIFIER_H_INCLUDED
|
#define RIPPLE_TYPES_CRYPTOIDENTIFIER_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_TYPES_HASHMAPS_H_INCLUDED
|
#ifndef RIPPLE_TYPES_HASHMAPS_H_INCLUDED
|
||||||
#define RIPPLE_TYPES_HASHMAPS_H_INCLUDED
|
#define RIPPLE_TYPES_HASHMAPS_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_TYPES_IDENTIFIERTYPE_H_INCLUDED
|
#ifndef RIPPLE_TYPES_IDENTIFIERTYPE_H_INCLUDED
|
||||||
#define RIPPLE_TYPES_IDENTIFIERTYPE_H_INCLUDED
|
#define RIPPLE_TYPES_IDENTIFIERTYPE_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_TYPES_RANDOMNUMBERS_H
|
#ifndef RIPPLE_TYPES_RANDOMNUMBERS_H
|
||||||
#define RIPPLE_TYPES_RANDOMNUMBERS_H
|
#define RIPPLE_TYPES_RANDOMNUMBERS_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_TYPES_RIPPLEACCOUNTID_H_INCLUDED
|
#ifndef RIPPLE_TYPES_RIPPLEACCOUNTID_H_INCLUDED
|
||||||
#define RIPPLE_TYPES_RIPPLEACCOUNTID_H_INCLUDED
|
#define RIPPLE_TYPES_RIPPLEACCOUNTID_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_TYPES_RIPPLEACCOUNTPRIVATEKEY_H_INCLUDED
|
#ifndef RIPPLE_TYPES_RIPPLEACCOUNTPRIVATEKEY_H_INCLUDED
|
||||||
#define RIPPLE_TYPES_RIPPLEACCOUNTPRIVATEKEY_H_INCLUDED
|
#define RIPPLE_TYPES_RIPPLEACCOUNTPRIVATEKEY_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_TYPES_RIPPLEACCOUNTPUBLICKEY_H_INCLUDED
|
#ifndef RIPPLE_TYPES_RIPPLEACCOUNTPUBLICKEY_H_INCLUDED
|
||||||
#define RIPPLE_TYPES_RIPPLEACCOUNTPUBLICKEY_H_INCLUDED
|
#define RIPPLE_TYPES_RIPPLEACCOUNTPUBLICKEY_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_TYPES_RIPPLELEDGERHASH_H_INCLUDED
|
#ifndef RIPPLE_TYPES_RIPPLELEDGERHASH_H_INCLUDED
|
||||||
#define RIPPLE_TYPES_RIPPLELEDGERHASH_H_INCLUDED
|
#define RIPPLE_TYPES_RIPPLELEDGERHASH_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_TYPES_RIPPLEPRIVATEKEY_H_INCLUDED
|
#ifndef RIPPLE_TYPES_RIPPLEPRIVATEKEY_H_INCLUDED
|
||||||
#define RIPPLE_TYPES_RIPPLEPRIVATEKEY_H_INCLUDED
|
#define RIPPLE_TYPES_RIPPLEPRIVATEKEY_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_TYPES_RIPPLEPUBLICKEY_H_INCLUDED
|
#ifndef RIPPLE_TYPES_RIPPLEPUBLICKEY_H_INCLUDED
|
||||||
#define RIPPLE_TYPES_RIPPLEPUBLICKEY_H_INCLUDED
|
#define RIPPLE_TYPES_RIPPLEPUBLICKEY_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_TYPES_RIPPLEPUBLICKEYHASH_H_INCLUDED
|
#ifndef RIPPLE_TYPES_RIPPLEPUBLICKEYHASH_H_INCLUDED
|
||||||
#define RIPPLE_TYPES_RIPPLEPUBLICKEYHASH_H_INCLUDED
|
#define RIPPLE_TYPES_RIPPLEPUBLICKEYHASH_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_TYPES_SIMPLEIDENTIFIER_H_INCLUDED
|
#ifndef RIPPLE_TYPES_SIMPLEIDENTIFIER_H_INCLUDED
|
||||||
#define RIPPLE_TYPES_SIMPLEIDENTIFIER_H_INCLUDED
|
#define RIPPLE_TYPES_SIMPLEIDENTIFIER_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_DISPUTEDTX_H
|
#ifndef RIPPLE_DISPUTEDTX_H
|
||||||
#define RIPPLE_DISPUTEDTX_H
|
#define RIPPLE_DISPUTEDTX_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_LEDGERCONSENSUS_H
|
#ifndef RIPPLE_LEDGERCONSENSUS_H
|
||||||
#define RIPPLE_LEDGERCONSENSUS_H
|
#define RIPPLE_LEDGERCONSENSUS_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef CONTRACT_H
|
#ifndef CONTRACT_H
|
||||||
#define CONTRACT_H
|
#define CONTRACT_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef INTERPRETER_H
|
#ifndef INTERPRETER_H
|
||||||
#define INTERPRETER_H
|
#define INTERPRETER_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef OPERATION_H
|
#ifndef OPERATION_H
|
||||||
#define OPERATION_H
|
#define OPERATION_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef SCRIPT_DATA_H
|
#ifndef SCRIPT_DATA_H
|
||||||
#define SCRIPT_DATA_H
|
#define SCRIPT_DATA_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_DBINIT_H_INCLUDED
|
#ifndef RIPPLE_DBINIT_H_INCLUDED
|
||||||
#define RIPPLE_DBINIT_H_INCLUDED
|
#define RIPPLE_DBINIT_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_DATABASE_H_INCLUDED
|
#ifndef RIPPLE_DATABASE_H_INCLUDED
|
||||||
#define RIPPLE_DATABASE_H_INCLUDED
|
#define RIPPLE_DATABASE_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_DATABASECON_H
|
#ifndef RIPPLE_DATABASECON_H
|
||||||
#define RIPPLE_DATABASECON_H
|
#define RIPPLE_DATABASECON_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_SQLITEDATABASE_H_INCLUDED
|
#ifndef RIPPLE_SQLITEDATABASE_H_INCLUDED
|
||||||
#define RIPPLE_SQLITEDATABASE_H_INCLUDED
|
#define RIPPLE_SQLITEDATABASE_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_ACCEPTEDLEDGER_H
|
#ifndef RIPPLE_ACCEPTEDLEDGER_H
|
||||||
#define RIPPLE_ACCEPTEDLEDGER_H
|
#define RIPPLE_ACCEPTEDLEDGER_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_ACCEPTEDLEDGERTX_H
|
#ifndef RIPPLE_ACCEPTEDLEDGERTX_H
|
||||||
#define RIPPLE_ACCEPTEDLEDGERTX_H
|
#define RIPPLE_ACCEPTEDLEDGERTX_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_INBOUNDLEDGER_H
|
#ifndef RIPPLE_INBOUNDLEDGER_H
|
||||||
#define RIPPLE_INBOUNDLEDGER_H
|
#define RIPPLE_INBOUNDLEDGER_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_INBOUNDLEDGERS_H
|
#ifndef RIPPLE_INBOUNDLEDGERS_H
|
||||||
#define RIPPLE_INBOUNDLEDGERS_H
|
#define RIPPLE_INBOUNDLEDGERS_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_LEDGER_H
|
#ifndef RIPPLE_LEDGER_H
|
||||||
#define RIPPLE_LEDGER_H
|
#define RIPPLE_LEDGER_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_LEDGERENTRYSET_H
|
#ifndef RIPPLE_LEDGERENTRYSET_H
|
||||||
#define RIPPLE_LEDGERENTRYSET_H
|
#define RIPPLE_LEDGERENTRYSET_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_LEDGERHISTORY_H
|
#ifndef RIPPLE_LEDGERHISTORY_H
|
||||||
#define RIPPLE_LEDGERHISTORY_H
|
#define RIPPLE_LEDGERHISTORY_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_LEDGERMASTER_H
|
#ifndef RIPPLE_LEDGERMASTER_H
|
||||||
#define RIPPLE_LEDGERMASTER_H
|
#define RIPPLE_LEDGERMASTER_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef __PROPOSELEDGER__
|
#ifndef __PROPOSELEDGER__
|
||||||
#define __PROPOSELEDGER__
|
#define __PROPOSELEDGER__
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef __LEDGERTIMING__
|
#ifndef __LEDGERTIMING__
|
||||||
#define __LEDGERTIMING__
|
#define __LEDGERTIMING__
|
||||||
|
|
||||||
|
|||||||
@@ -17,16 +17,50 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
#ifndef RIPPLE_ORDERBOOKDB_H_INCLUDED
|
||||||
|
#define RIPPLE_ORDERBOOKDB_H_INCLUDED
|
||||||
|
|
||||||
#ifndef ORDERBOOK_DB_H
|
/*
|
||||||
#define ORDERBOOK_DB_H
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
TODO
|
||||||
|
----
|
||||||
|
|
||||||
|
- Add typedefs (in src/ripple/types) for usage of the following primitives:
|
||||||
|
* uint64
|
||||||
|
* uint160
|
||||||
|
* uint256
|
||||||
|
Each typedef should make it clear what the semantics of the value are,
|
||||||
|
and have a javadoc comment. Examples:
|
||||||
|
RippleCurrencyHash
|
||||||
|
RippleIssuerHash
|
||||||
|
|
||||||
|
- Add a new struct OrderBookKey with these fields:
|
||||||
|
* issuerPays
|
||||||
|
* issuerGets
|
||||||
|
* currencyPays
|
||||||
|
* currencyGets
|
||||||
|
Use this struct as the key to map order books to the book listeners,
|
||||||
|
instead of passing the four parameters around everywhere. Change
|
||||||
|
all function signatures and container types to use this key instead
|
||||||
|
of the four parameters.
|
||||||
|
|
||||||
|
- Add typedefs for all containers, choose a descriptive name that follows
|
||||||
|
the coding style, add a Javadoc comment explaining what it holds.
|
||||||
|
|
||||||
|
- Rename currencyIssuer_ct to follow the coding style. e.g. CurrencyPair
|
||||||
|
|
||||||
|
- Replace C11X with a suitable Beast macro
|
||||||
|
|
||||||
|
- Move BookListeners to its own header file
|
||||||
|
|
||||||
|
- Add documentation explaining what each class does
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
// VFALCO TODO Rename this type and give the key and value typedefs.
|
||||||
typedef std::pair<uint160, uint160> currencyIssuer_t;
|
typedef std::pair<uint160, uint160> currencyIssuer_t;
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
// VFALCO TODO Replace C11X with a suitable Beast macro
|
||||||
|
|
||||||
#ifdef C11X
|
#ifdef C11X
|
||||||
typedef std::pair<const uint160&, const uint160&> currencyIssuer_ct;
|
typedef std::pair<const uint160&, const uint160&> currencyIssuer_ct;
|
||||||
#else
|
#else
|
||||||
@@ -35,6 +69,7 @@ typedef std::pair<uint160, uint160> currencyIssuer_ct; // C++ defect 106
|
|||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
// VFALCO TODO Add Javadoc comment explaining what this class does
|
||||||
class BookListeners
|
class BookListeners
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -49,11 +84,15 @@ private:
|
|||||||
typedef RippleRecursiveMutex LockType;
|
typedef RippleRecursiveMutex LockType;
|
||||||
typedef LockType::ScopedLockType ScopedLockType;
|
typedef LockType::ScopedLockType ScopedLockType;
|
||||||
LockType mLock;
|
LockType mLock;
|
||||||
|
|
||||||
|
// VFALCO TODO Use a typedef for the uint64
|
||||||
|
// Use a typedef for the container
|
||||||
boost::unordered_map<uint64, InfoSub::wptr> mListeners;
|
boost::unordered_map<uint64, InfoSub::wptr> mListeners;
|
||||||
};
|
};
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
// VFALCO TODO Add Javadoc comment explaining what this class does
|
||||||
class OrderBookDB
|
class OrderBookDB
|
||||||
: public Stoppable
|
: public Stoppable
|
||||||
, public LeakChecked <OrderBookDB>
|
, public LeakChecked <OrderBookDB>
|
||||||
@@ -94,6 +133,7 @@ private:
|
|||||||
LockType mLock;
|
LockType mLock;
|
||||||
|
|
||||||
|
|
||||||
|
// VFALCO TODO Replace with just one map / unordered_map with a struct for the key
|
||||||
// issuerPays, issuerGets, currencyPays, currencyGets
|
// issuerPays, issuerGets, currencyPays, currencyGets
|
||||||
std::map<uint160, std::map<uint160, std::map<uint160, std::map<uint160, BookListeners::pointer> > > > mListeners;
|
std::map<uint160, std::map<uint160, std::map<uint160, std::map<uint160, BookListeners::pointer> > > > mListeners;
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_SERIALIZEDVALIDATION_H
|
#ifndef RIPPLE_SERIALIZEDVALIDATION_H
|
||||||
#define RIPPLE_SERIALIZEDVALIDATION_H
|
#define RIPPLE_SERIALIZEDVALIDATION_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_APP_APPLICATION_H_INCLUDED
|
#ifndef RIPPLE_APP_APPLICATION_H_INCLUDED
|
||||||
#define RIPPLE_APP_APPLICATION_H_INCLUDED
|
#define RIPPLE_APP_APPLICATION_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_FATALERRORREPORTER_H_INCLUDED
|
#ifndef RIPPLE_FATALERRORREPORTER_H_INCLUDED
|
||||||
#define RIPPLE_FATALERRORREPORTER_H_INCLUDED
|
#define RIPPLE_FATALERRORREPORTER_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_APP_IOSERVICEPOOL_H_INCLUDED
|
#ifndef RIPPLE_APP_IOSERVICEPOOL_H_INCLUDED
|
||||||
#define RIPPLE_APP_IOSERVICEPOOL_H_INCLUDED
|
#define RIPPLE_APP_IOSERVICEPOOL_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_LOCALCREDENTIALS_H
|
#ifndef RIPPLE_LOCALCREDENTIALS_H
|
||||||
#define RIPPLE_LOCALCREDENTIALS_H
|
#define RIPPLE_LOCALCREDENTIALS_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_APP_NODESTORESCHEDULER_H_INCLUDED
|
#ifndef RIPPLE_APP_NODESTORESCHEDULER_H_INCLUDED
|
||||||
#define RIPPLE_APP_NODESTORESCHEDULER_H_INCLUDED
|
#define RIPPLE_APP_NODESTORESCHEDULER_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_PARAMETERTABLE_H
|
#ifndef RIPPLE_PARAMETERTABLE_H
|
||||||
#define RIPPLE_PARAMETERTABLE_H
|
#define RIPPLE_PARAMETERTABLE_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_APP_RPCHTTPSERVER_H_INCLUDED
|
#ifndef RIPPLE_APP_RPCHTTPSERVER_H_INCLUDED
|
||||||
#define RIPPLE_APP_RPCHTTPSERVER_H_INCLUDED
|
#define RIPPLE_APP_RPCHTTPSERVER_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_RIPPLEMAIN_H_INCLUDED
|
#ifndef RIPPLE_RIPPLEMAIN_H_INCLUDED
|
||||||
#define RIPPLE_RIPPLEMAIN_H_INCLUDED
|
#define RIPPLE_RIPPLEMAIN_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_ACCOUNTITEM_H
|
#ifndef RIPPLE_ACCOUNTITEM_H
|
||||||
#define RIPPLE_ACCOUNTITEM_H
|
#define RIPPLE_ACCOUNTITEM_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_ACCOUNTITEMS_H
|
#ifndef RIPPLE_ACCOUNTITEMS_H
|
||||||
#define RIPPLE_ACCOUNTITEMS_H
|
#define RIPPLE_ACCOUNTITEMS_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_ACCOUNTSTATE_H
|
#ifndef RIPPLE_ACCOUNTSTATE_H
|
||||||
#define RIPPLE_ACCOUNTSTATE_H
|
#define RIPPLE_ACCOUNTSTATE_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_CANONICALTXSET_H
|
#ifndef RIPPLE_CANONICALTXSET_H
|
||||||
#define RIPPLE_CANONICALTXSET_H
|
#define RIPPLE_CANONICALTXSET_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_IFEATURES_H
|
#ifndef RIPPLE_IFEATURES_H
|
||||||
#define RIPPLE_IFEATURES_H
|
#define RIPPLE_IFEATURES_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_IFEEVOTE_H
|
#ifndef RIPPLE_IFEEVOTE_H
|
||||||
#define RIPPLE_IFEEVOTE_H
|
#define RIPPLE_IFEEVOTE_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_HASHROUTER_H_INCLUDED
|
#ifndef RIPPLE_HASHROUTER_H_INCLUDED
|
||||||
#define RIPPLE_HASHROUTER_H_INCLUDED
|
#define RIPPLE_HASHROUTER_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_NETWORKOPS_H
|
#ifndef RIPPLE_NETWORKOPS_H
|
||||||
#define RIPPLE_NETWORKOPS_H
|
#define RIPPLE_NETWORKOPS_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_OFFER_H
|
#ifndef RIPPLE_OFFER_H
|
||||||
#define RIPPLE_OFFER_H
|
#define RIPPLE_OFFER_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_POWRESULT_H_INCLUDED
|
#ifndef RIPPLE_POWRESULT_H_INCLUDED
|
||||||
#define RIPPLE_POWRESULT_H_INCLUDED
|
#define RIPPLE_POWRESULT_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_PROOFOFWORK_H
|
#ifndef RIPPLE_PROOFOFWORK_H
|
||||||
#define RIPPLE_PROOFOFWORK_H
|
#define RIPPLE_PROOFOFWORK_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_PROOFOFWORKFACTORY_H_INCLUDED
|
#ifndef RIPPLE_PROOFOFWORKFACTORY_H_INCLUDED
|
||||||
#define RIPPLE_PROOFOFWORKFACTORY_H_INCLUDED
|
#define RIPPLE_PROOFOFWORKFACTORY_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_SERIALIZEDLEDGER_H
|
#ifndef RIPPLE_SERIALIZEDLEDGER_H
|
||||||
#define RIPPLE_SERIALIZEDLEDGER_H
|
#define RIPPLE_SERIALIZEDLEDGER_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_SERIALIZEDTRANSACTION_H
|
#ifndef RIPPLE_SERIALIZEDTRANSACTION_H
|
||||||
#define RIPPLE_SERIALIZEDTRANSACTION_H
|
#define RIPPLE_SERIALIZEDTRANSACTION_H
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_VALIDATIONS_H_INCLUDED
|
#ifndef RIPPLE_VALIDATIONS_H_INCLUDED
|
||||||
#define RIPPLE_VALIDATIONS_H_INCLUDED
|
#define RIPPLE_VALIDATIONS_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
#ifndef RIPPLE_APP_SQLITEFACTORY_H_INCLUDED
|
#ifndef RIPPLE_APP_SQLITEFACTORY_H_INCLUDED
|
||||||
#define RIPPLE_APP_SQLITEFACTORY_H_INCLUDED
|
#define RIPPLE_APP_SQLITEFACTORY_H_INCLUDED
|
||||||
|
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user