Bitcoin ABC 0.30.12
P2P Digital Currency
Functions
net.cpp File Reference
#include <rpc/server.h>
#include <addrman.h>
#include <avalanche/avalanche.h>
#include <banman.h>
#include <chainparams.h>
#include <clientversion.h>
#include <config.h>
#include <net_permissions.h>
#include <net_processing.h>
#include <net_types.h>
#include <netbase.h>
#include <node/context.h>
#include <policy/settings.h>
#include <rpc/blockchain.h>
#include <rpc/protocol.h>
#include <rpc/server_util.h>
#include <rpc/util.h>
#include <sync.h>
#include <timedata.h>
#include <util/strencodings.h>
#include <util/string.h>
#include <util/time.h>
#include <util/translation.h>
#include <validation.h>
#include <version.h>
#include <warnings.h>
#include <optional>
#include <univalue.h>
Include dependency graph for net.cpp:

Go to the source code of this file.

Functions

static RPCHelpMan getconnectioncount ()
 
static RPCHelpMan ping ()
 
static RPCHelpMan getpeerinfo ()
 
static RPCHelpMan addnode ()
 
static RPCHelpMan addconnection ()
 
static RPCHelpMan disconnectnode ()
 
static RPCHelpMan getaddednodeinfo ()
 
static RPCHelpMan getnettotals ()
 
static UniValue GetNetworksInfo ()
 
static RPCHelpMan getnetworkinfo ()
 
static RPCHelpMan setban ()
 
static RPCHelpMan listbanned ()
 
static RPCHelpMan clearbanned ()
 
static RPCHelpMan setnetworkactive ()
 
static RPCHelpMan getnodeaddresses ()
 
static RPCHelpMan addpeeraddress ()
 
static RPCHelpMan sendmsgtopeer ()
 
void RegisterNetRPCCommands (CRPCTable &t)
 Register P2P networking RPC commands. More...
 

Function Documentation

◆ addconnection()

static RPCHelpMan addconnection ( )
static

Definition at line 406 of file net.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addnode()

static RPCHelpMan addnode ( )
static

Definition at line 344 of file net.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addpeeraddress()

static RPCHelpMan addpeeraddress ( )
static

Definition at line 1125 of file net.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ clearbanned()

static RPCHelpMan clearbanned ( )
static

Definition at line 994 of file net.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ disconnectnode()

static RPCHelpMan disconnectnode ( )
static

Definition at line 484 of file net.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getaddednodeinfo()

static RPCHelpMan getaddednodeinfo ( )
static

Definition at line 539 of file net.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getconnectioncount()

static RPCHelpMan getconnectioncount ( )
static

Definition at line 39 of file net.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getnettotals()

static RPCHelpMan getnettotals ( )
static

Definition at line 625 of file net.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getnetworkinfo()

static RPCHelpMan getnetworkinfo ( )
static

Definition at line 712 of file net.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetNetworksInfo()

static UniValue GetNetworksInfo ( )
static

Definition at line 690 of file net.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getnodeaddresses()

static RPCHelpMan getnodeaddresses ( )
static

Definition at line 1040 of file net.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getpeerinfo()

static RPCHelpMan getpeerinfo ( )
static

Definition at line 82 of file net.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ listbanned()

static RPCHelpMan listbanned ( )
static

Definition at line 946 of file net.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ping()

static RPCHelpMan ping ( )
static

Definition at line 57 of file net.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RegisterNetRPCCommands()

void RegisterNetRPCCommands ( CRPCTable t)

Register P2P networking RPC commands.

Definition at line 1249 of file net.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendmsgtopeer()

static RPCHelpMan sendmsgtopeer ( )
static

Definition at line 1190 of file net.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setban()

static RPCHelpMan setban ( )
static

Definition at line 841 of file net.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setnetworkactive()

static RPCHelpMan setnetworkactive ( )
static

Definition at line 1018 of file net.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: