Bitcoin Core  0.20.99
P2P Digital Currency
Functions
net.cpp File Reference
#include <rpc/server.h>
#include <banman.h>
#include <clientversion.h>
#include <core_io.h>
#include <net.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/util.h>
#include <sync.h>
#include <timedata.h>
#include <util/strencodings.h>
#include <util/string.h>
#include <util/system.h>
#include <util/translation.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 JSONRPCRequest &request)
 
static UniValue ping (const JSONRPCRequest &request)
 
static UniValue getpeerinfo (const JSONRPCRequest &request)
 
static UniValue addnode (const JSONRPCRequest &request)
 
static UniValue disconnectnode (const JSONRPCRequest &request)
 
static UniValue getaddednodeinfo (const JSONRPCRequest &request)
 
static UniValue getnettotals (const JSONRPCRequest &request)
 
static UniValue GetNetworksInfo ()
 
static UniValue getnetworkinfo (const JSONRPCRequest &request)
 
static UniValue setban (const JSONRPCRequest &request)
 
static UniValue listbanned (const JSONRPCRequest &request)
 
static UniValue clearbanned (const JSONRPCRequest &request)
 
static UniValue setnetworkactive (const JSONRPCRequest &request)
 
static UniValue getnodeaddresses (const JSONRPCRequest &request)
 
void RegisterNetRPCCommands (CRPCTable &t)
 Register P2P networking RPC commands. More...
 

Function Documentation

◆ addnode()

static UniValue addnode ( const JSONRPCRequest request)
static

Definition at line 231 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 JSONRPCRequest request)
static

Definition at line 682 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 JSONRPCRequest request)
static

Definition at line 282 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 JSONRPCRequest request)
static

Definition at line 327 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 JSONRPCRequest request)
static

Definition at line 32 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 JSONRPCRequest request)
static

Definition at line 399 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 JSONRPCRequest request)
static

Definition at line 468 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 447 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 JSONRPCRequest request)
static

Definition at line 724 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 JSONRPCRequest request)
static

Definition at line 78 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 JSONRPCRequest request)
static

Definition at line 637 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 JSONRPCRequest request)
static

Definition at line 53 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 777 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 JSONRPCRequest request)
static

Definition at line 556 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 JSONRPCRequest request)
static

Definition at line 703 of file net.cpp.

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