Make pathfinder search size configurable, reduce to 5.

This commit is contained in:
Arthur Britto
2013-02-12 18:41:52 -08:00
parent e5b75c66a1
commit ef5069a706
3 changed files with 13 additions and 2 deletions

View File

@@ -50,6 +50,9 @@ const int SYSTEM_WEBSOCKET_PUBLIC_PORT = 6563; // XXX Going away.
// Might connect with fewer for testing.
#define DEFAULT_PEER_CONNECT_LOW_WATER 4
// Grows exponentially worse.
#define DEFAULT_PATH_SEARCH_SIZE 5
enum SizedItemName
{
siSweepInterval,
@@ -142,6 +145,9 @@ public:
bool RPC_ALLOW_REMOTE;
Json::Value RPC_STARTUP;
// Path searching
int PATH_SEARCH_SIZE;
// Validation
RippleAddress VALIDATION_SEED, VALIDATION_PUB, VALIDATION_PRIV;