disconnectnode: RPC-JSON API: disconnectnode

Description Usage Arguments Value Author(s) References See Also

View source: R/NetworkRpcs.R

Description

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

Usage

1
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()


rbch documentation built on Jan. 11, 2022, 1:06 a.m.

Related to disconnectnode in rbch...