Learn R Programming

rbtc (version 0.1-7)

disconnectnode: RPC-JSON API: disconnectnode

Description

Immediately disconnects from the specified peer node. Strictly one out of address and nodeid can be provided to identify the node.

Usage

disconnectnode(con, address = NULL, nodeid = NULL)

Value

A S4-object of class ANSRPC.

Arguments

con

object of class CONRPC.

address

character the IP address/port of the node.

nodeid

character The node ID (see getpeerinfo() for node IDs).

Author

Bernhard Pfaff

References

https://bitcoin.org/en/developer-reference#disconnectnode, https://bitcoin.org/en/developer-reference#remote-procedure-calls-rpcs

See Also

Other Network RPCs: addnode, clearbanned, getaddednodeinfo, getconnectioncount, getnettotals, getnetworkinfo, getpeerinfo, listbanned, ping, setnetworkactive