Add ledger_get RPC command to fetch a ledger from the network

Conflicts:
	Builds/VisualStudio2013/RippleD.vcxproj
	Builds/VisualStudio2013/RippleD.vcxproj.filters
	Builds/VisualStudio2013/RippleD2.vcxproj
	Builds/VisualStudio2013/RippleD2.vcxproj.filters
	src/ripple_rpc/impl/Handlers.cpp
This commit is contained in:
JoelKatz
2014-05-19 22:21:21 -07:00
committed by Vinnie Falco
parent 37201ecaa6
commit 526bd88dc4
6 changed files with 213 additions and 0 deletions

View File

@@ -813,6 +813,7 @@ public:
{ "ledger_closed", &RPCParser::parseAsIs, 0, 0 },
{ "ledger_current", &RPCParser::parseAsIs, 0, 0 },
// { "ledger_entry", &RPCParser::parseLedgerEntry, -1, -1 },
{ "ledger_get", &RPCParser::parseLedgerId, 1, 1 },
{ "ledger_header", &RPCParser::parseLedgerId, 1, 1 },
{ "log_level", &RPCParser::parseLogLevel, 0, 2 },
{ "logrotate", &RPCParser::parseAsIs, 0, 0 },