Bitcoin ABC  0.22.13
P2P Digital Currency
Functions
net.cpp File Reference
#include <rpc/server.h>
#include <banman.h>
#include <clientversion.h>
#include <config.h>
#include <core_io.h>
#include <net.h>
#include <net_permissions.h>
#include <net_processing.h>
#include <net_types.h>
#include <netbase.h>
#include <network.h>
#include <node/context.h>
#include <policy/settings.h>
#include <rpc/blockchain.h>
#include <rpc/protocol.h>
#include <rpc/util.h>
#include <sync.h>
#include <timedata.h>
#include <util/strencodings.h>
#include <util/string.h>
#include <util/system.h>
#include <validation.h>
#include <version.h>
#include <warnings.h>
#include <univalue.h>
Include dependency graph for net.cpp:

Go to the source code of this file.

Functions

static UniValue getconnectioncount (const Config &config, const JSONRPCRequest &request)
 
static UniValue ping (const Config &config, const JSONRPCRequest &request)
 
static UniValue getpeerinfo (const Config &config, const JSONRPCRequest &request)
 
static UniValue addnode (const Config &config, const JSONRPCRequest &request)
 
static UniValue disconnectnode (const Config &config, const JSONRPCRequest &request)
 
static UniValue getaddednodeinfo (const Config &config, const JSONRPCRequest &request)
 
static UniValue getnettotals (const Config &config, const JSONRPCRequest &request)
 
static UniValue GetNetworksInfo ()
 
static UniValue getnetworkinfo (const Config &config, const JSONRPCRequest &request)
 
static UniValue setban (const Config &config, const JSONRPCRequest &request)
 
static UniValue listbanned (const Config &config, const JSONRPCRequest &request)
 
static UniValue clearbanned (const Config &config, const JSONRPCRequest &request)
 
static UniValue setnetworkactive (const Config &config, const JSONRPCRequest &request)
 
static UniValue getnodeaddresses (const Config &config, const JSONRPCRequest &request)
 
void RegisterNetRPCCommands (CRPCTable &t)
 Register P2P networking RPC commands. More...
 

Function Documentation

◆ addnode()

static UniValue addnode ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 290 of file net.cpp.

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

◆ clearbanned()

static UniValue clearbanned ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 856 of file net.cpp.

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

◆ disconnectnode()

static UniValue disconnectnode ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 351 of file net.cpp.

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

◆ getaddednodeinfo()

static UniValue getaddednodeinfo ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 410 of file net.cpp.

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

◆ getconnectioncount()

static UniValue getconnectioncount ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 33 of file net.cpp.

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

◆ getnettotals()

static UniValue getnettotals ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 499 of file net.cpp.

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

◆ getnetworkinfo()

static UniValue getnetworkinfo ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 587 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 566 of file net.cpp.

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

◆ getnodeaddresses()

static UniValue getnodeaddresses ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 906 of file net.cpp.

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

◆ getpeerinfo()

static UniValue getpeerinfo ( const Config config,
const JSONRPCRequest request 
)
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 UniValue listbanned ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 808 of file net.cpp.

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

◆ ping()

static UniValue ping ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 55 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 974 of file net.cpp.

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

◆ setban()

static UniValue setban ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 705 of file net.cpp.

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

◆ setnetworkactive()

static UniValue setnetworkactive ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 880 of file net.cpp.

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