mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Work toward revised RPC send.
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include "HttpRequest.h"
|
||||
#include "RequestParser.h"
|
||||
#include "NewcoinAddress.h"
|
||||
#include "SerializedLedger.h"
|
||||
|
||||
class RPCServer : public boost::enable_shared_from_this<RPCServer>
|
||||
{
|
||||
@@ -31,6 +32,10 @@ class RPCServer : public boost::enable_shared_from_this<RPCServer>
|
||||
int getParamCount(const Json::Value& params);
|
||||
bool extractString(std::string& param, const Json::Value& params, int index);
|
||||
|
||||
Json::Value authorize(const NewcoinAddress& naSeed, const NewcoinAddress& naSrcAccountID,
|
||||
NewcoinAddress& naAccountPublic, NewcoinAddress& naAccountPrivate,
|
||||
SerializedLedgerEntry::pointer& sleSrc);
|
||||
|
||||
Json::Value doAccountInfo(Json::Value& params);
|
||||
Json::Value doConnect(Json::Value& params);
|
||||
Json::Value doLedger(Json::Value& params);
|
||||
|
||||
Reference in New Issue
Block a user