disconnectnode: RPC-JSON API: disconnectnode

View source: R/NetworkRpcs.R

disconnectnodeR 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


rbtc documentation built on Oct. 20, 2024, 5:06 p.m.

Related to disconnectnode in rbtc...