Dash Core  0.12.2.1
P2P Digital Currency
net.cpp File Reference
#include "rpc/server.h"
#include "chainparams.h"
#include "clientversion.h"
#include "validation.h"
#include "net.h"
#include "net_processing.h"
#include "netbase.h"
#include "protocol.h"
#include "sync.h"
#include "timedata.h"
#include "ui_interface.h"
#include "util.h"
#include "utilstrencodings.h"
#include "version.h"
#include <boost/foreach.hpp>
#include <univalue.h>

Go to the source code of this file.

Functions

UniValue getconnectioncount (const UniValue &params, bool fHelp)
 
UniValue ping (const UniValue &params, bool fHelp)
 
UniValue getpeerinfo (const UniValue &params, bool fHelp)
 
UniValue addnode (const UniValue &params, bool fHelp)
 
UniValue disconnectnode (const UniValue &params, bool fHelp)
 
UniValue getaddednodeinfo (const UniValue &params, bool fHelp)
 
UniValue getnettotals (const UniValue &params, bool fHelp)
 
static UniValue GetNetworksInfo ()
 
UniValue getnetworkinfo (const UniValue &params, bool fHelp)
 
UniValue setban (const UniValue &params, bool fHelp)
 
UniValue listbanned (const UniValue &params, bool fHelp)
 
UniValue clearbanned (const UniValue &params, bool fHelp)
 
UniValue setnetworkactive (const UniValue &params, bool fHelp)
 

Function Documentation

◆ addnode()

UniValue addnode ( const UniValue params,
bool  fHelp 
)

Definition at line 189 of file net.cpp.

◆ clearbanned()

UniValue clearbanned ( const UniValue params,
bool  fHelp 
)

Definition at line 562 of file net.cpp.

Referenced by nodehandling.NodeHandlingTest::run_test().

◆ disconnectnode()

UniValue disconnectnode ( const UniValue params,
bool  fHelp 
)

◆ getaddednodeinfo()

UniValue getaddednodeinfo ( const UniValue params,
bool  fHelp 
)

Definition at line 257 of file net.cpp.

◆ getconnectioncount()

UniValue getconnectioncount ( const UniValue params,
bool  fHelp 
)

Definition at line 28 of file net.cpp.

◆ getnettotals()

UniValue getnettotals ( const UniValue params,
bool  fHelp 
)

Definition at line 326 of file net.cpp.

◆ getnetworkinfo()

◆ GetNetworksInfo()

static UniValue GetNetworksInfo ( )
static

Definition at line 371 of file net.cpp.

Referenced by getnetworkinfo().

◆ getpeerinfo()

UniValue getpeerinfo ( const UniValue params,
bool  fHelp 
)

◆ listbanned()

UniValue listbanned ( const UniValue params,
bool  fHelp 
)

Definition at line 529 of file net.cpp.

Referenced by nodehandling.NodeHandlingTest::run_test().

◆ ping()

UniValue ping ( const UniValue params,
bool  fHelp 
)

Definition at line 47 of file net.cpp.

◆ setban()

UniValue setban ( const UniValue params,
bool  fHelp 
)

Definition at line 465 of file net.cpp.

Referenced by nodehandling.NodeHandlingTest::run_test().

◆ setnetworkactive()

UniValue setnetworkactive ( const UniValue params,
bool  fHelp 
)

Definition at line 580 of file net.cpp.