Immediately disconnects from the specified peer node.
Strictly one out of address
and nodeid
can be
provided to identify the node.
disconnectnode(con, address = NULL, nodeid = NULL)
A S4-object of class ANSRPC
.
object of class CONRPC
.
character
the IP address/port
of the node.
character
The node ID
(see getpeerinfo()
for node IDs).
Bernhard Pfaff
https://bitcoin.org/en/developer-reference#disconnectnode, https://bitcoin.org/en/developer-reference#remote-procedure-calls-rpcs
Other Network RPCs: addnode
,
clearbanned
,
getaddednodeinfo
,
getconnectioncount
,
getnettotals
, getnetworkinfo
,
getpeerinfo
, listbanned
,
ping
, setnetworkactive