mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
changed some RPC returns
This commit is contained in:
@@ -156,7 +156,6 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Account.h" />
|
||||
<ClInclude Include="Application.h" />
|
||||
<ClInclude Include="bitcoinUtil.h" />
|
||||
<ClInclude Include="Conversion.h" />
|
||||
<ClInclude Include="cryptopp\config.h" />
|
||||
|
||||
@@ -248,9 +248,6 @@
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Application.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="KnownNodeList.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
|
||||
@@ -52,3 +52,6 @@
|
||||
|
||||
[rpc_allow_remote]
|
||||
1
|
||||
|
||||
[validation_seed]
|
||||
snTBDmrhUK3znvF8AaQURLm4UCkbS
|
||||
|
||||
@@ -412,7 +412,8 @@ void Ledger::addJson(Json::Value& ret, int options)
|
||||
}
|
||||
ledger["AccountState"] = state;
|
||||
}
|
||||
ret[boost::lexical_cast<std::string>(mLedgerSeq)] = ledger;
|
||||
ledger["SeqNum"]=boost::lexical_cast<std::string>(mLedgerSeq);
|
||||
ret["ledger"] = ledger;
|
||||
}
|
||||
|
||||
void Ledger::setAcquiring(void)
|
||||
|
||||
@@ -1133,7 +1133,9 @@ Json::Value RPCServer::doPasswordSet(Json::Value& params)
|
||||
Json::Value RPCServer::doPeers(Json::Value& params)
|
||||
{
|
||||
// peers
|
||||
return theApp->getConnectionPool().getPeersJson();
|
||||
Json::Value obj(Json::objectValue);
|
||||
obj['peers']=theApp->getConnectionPool().getPeersJson();
|
||||
return obj;
|
||||
}
|
||||
|
||||
// send regular_seed paying_account account_id amount [currency] [send_max] [send_currency]
|
||||
|
||||
Reference in New Issue
Block a user