Add support for calling RPC command at startup from config file.

This commit is contained in:
Arthur Britto
2013-01-16 15:05:44 -08:00
parent 503e9a7ddc
commit 4982ffdf74
5 changed files with 52 additions and 11 deletions

View File

@@ -1,13 +1,15 @@
#ifndef __CONFIG__
#define __CONFIG__
#include <string>
#include <boost/filesystem.hpp>
#include "types.h"
#include "RippleAddress.h"
#include "ParseSection.h"
#include "SerializedTypes.h"
#include <string>
#include <boost/filesystem.hpp>
#include "../json/value.h"
#define ENABLE_INSECURE 0 // 1, to enable unnecessary features.
@@ -110,6 +112,7 @@ public:
std::string RPC_USER;
std::string RPC_PASSWORD;
bool RPC_ALLOW_REMOTE;
std::vector<Json::Value> RPC_STARTUP;
// Validation
RippleAddress VALIDATION_SEED, VALIDATION_PUB, VALIDATION_PRIV;