![]() | NetworkRPCController Class |
Namespace: RPC.Controllers
public class NetworkRPCController : FeatureController
The NetworkRPCController type exposes the following members.
Name | Description | |
---|---|---|
![]() | AddNode |
Attempts to add or remove a node from the addnode list. Or try a connection to a node once.
|
![]() | ClearBanned |
Clear all banned IPs.
|
![]() | DisconnectNode |
Immediately disconnects from the specified peer node.
Strictly one out of 'address' and 'nodeid' can be provided to identify the node.
To disconnect by nodeid, either set 'address' to the empty string, or call using the named 'nodeid' argument only.
|
![]() | GetConnectionCount |
Returns the number of connections to other nodes.
|
![]() | GetNetTotals |
Returns information about network traffic, including bytes in, bytes out, and current time.
|
![]() | GetNodeInfo |
Returns information about the given added node, or all added nodes (note that onetry addnodes are not listed here)
|
![]() | GetPeerInfo |
Returns data about each connected network node as a json array of objects.
|
![]() | ListBanned |
List all banned IPs/Subnets.
|
![]() | SetBan |
Attempts to add or remove an IP:port from the banned list.
|
![]() | SetNetworkActive |
Disable/enable all p2p network activity.
|