disconnectnode {rbtc}R Documentation

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)

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).

Value

A S4-object of class ANSRPC.

Author(s)

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


[Package rbtc version 0.1-6 Index]