![]() |
Master Core
v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
|
#include "rpcserver.h"#include "main.h"#include "net.h"#include "netbase.h"#include "protocol.h"#include "sync.h"#include "util.h"#include <boost/foreach.hpp>#include "json/json_spirit_value.h"
Include dependency graph for rpcnet.cpp:Go to the source code of this file.
Functions | |
| Value | getconnectioncount (const Array ¶ms, bool fHelp) |
| Value | ping (const Array ¶ms, bool fHelp) |
| static void | CopyNodeStats (std::vector< CNodeStats > &vstats) |
| Value | getpeerinfo (const Array ¶ms, bool fHelp) |
| Value | addnode (const Array ¶ms, bool fHelp) |
| Value | getaddednodeinfo (const Array ¶ms, bool fHelp) |
| Value | getnettotals (const Array ¶ms, bool fHelp) |
| Value | getnetworkinfo (const Array ¶ms, bool fHelp) |
| Value addnode | ( | const Array & | params, |
| bool | fHelp | ||
| ) |
Definition at line 145 of file rpcnet.cpp.
References ConnectNode(), cs_vAddedNodes, HelpExampleCli(), HelpExampleRpc(), JSONRPCError(), LOCK, RPC_CLIENT_NODE_ALREADY_ADDED, RPC_CLIENT_NODE_NOT_ADDED, and vAddedNodes.
Here is the call graph for this function:
|
static |
Definition at line 59 of file rpcnet.cpp.
References CNode::copyStats(), cs_vNodes, LOCK, and vNodes.
Referenced by getpeerinfo().
Here is the call graph for this function:
Here is the caller graph for this function:| Value getaddednodeinfo | ( | const Array & | params, |
| bool | fHelp | ||
| ) |
Definition at line 195 of file rpcnet.cpp.
References CNode::addr, cs_vAddedNodes, cs_vNodes, CNode::fInbound, fNameLookup, CChainParams::GetDefaultPort(), HelpExampleCli(), HelpExampleRpc(), JSONRPCError(), LOCK, Lookup(), Params(), RPC_CLIENT_NODE_NOT_ADDED, CService::ToString(), vAddedNodes, and vNodes.
Here is the call graph for this function:| Value getconnectioncount | ( | const Array & | params, |
| bool | fHelp | ||
| ) |
Definition at line 20 of file rpcnet.cpp.
References cs_vNodes, HelpExampleCli(), HelpExampleRpc(), LOCK, and vNodes.
Here is the call graph for this function:| Value getnettotals | ( | const Array & | params, |
| bool | fHelp | ||
| ) |
Definition at line 312 of file rpcnet.cpp.
References GetTimeMillis(), CNode::GetTotalBytesRecv(), CNode::GetTotalBytesSent(), HelpExampleCli(), and HelpExampleRpc().
Here is the call graph for this function:| Value getnetworkinfo | ( | const Array & | params, |
| bool | fHelp | ||
| ) |
Definition at line 337 of file rpcnet.cpp.
References CLIENT_VERSION, cs_mapLocalHost, GetProxy(), GetTimeOffset(), HelpExampleCli(), HelpExampleRpc(), LOCK, mapLocalHost, NET_IPV4, CTransaction::nMinRelayTxFee, LocalServiceInfo::nPort, LocalServiceInfo::nScore, PAIRTYPE, PROTOCOL_VERSION, ValueFromAmount(), and vNodes.
Here is the call graph for this function:| Value getpeerinfo | ( | const Array & | params, |
| bool | fHelp | ||
| ) |
Definition at line 72 of file rpcnet.cpp.
References CNodeStats::addrLocal, CNodeStats::addrName, CNodeStats::cleanSubVer, CopyNodeStats(), CNodeStats::dPingTime, CNodeStats::dPingWait, CNodeStats::fInbound, CNodeStats::fSyncNode, GetNodeStateStats(), HelpExampleCli(), HelpExampleRpc(), CNodeStats::nLastRecv, CNodeStats::nLastSend, CNodeStateStats::nMisbehavior, CNodeStats::nodeid, CNodeStats::nRecvBytes, CNodeStats::nSendBytes, CNodeStats::nServices, CNodeStats::nStartingHeight, CNodeStats::nTimeConnected, CNodeStats::nVersion, and strprintf.
Here is the call graph for this function:| Value ping | ( | const Array & | params, |
| bool | fHelp | ||
| ) |
Definition at line 37 of file rpcnet.cpp.
References cs_vNodes, CNode::fPingQueued, HelpExampleCli(), HelpExampleRpc(), LOCK, and vNodes.
Here is the call graph for this function:
1.8.8