addnode: RPC-JSON API: addnode

Description Usage Arguments Value Author(s) References See Also

View source: R/NetworkRpcs.R

Description

Attempts to add or remove a node from the addnode list. Or try a connection to a node once.

Usage

1
addnode(con, node, command = c("add", "remove", "onetry"))

Arguments

con

object of class CONRPC.

node

character the node (see getpeerinfo() for nodes).

command

character 'add' to add a node to the list, 'remove' to remove a node from the list, 'onetry' to try a connection to the node once.

Value

A S4-object of class ANSRPC.

Author(s)

Bernhard Pfaff

References

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

See Also

Other Network RPCs: clearbanned(), disconnectnode(), getaddednodeinfo(), getconnectioncount(), getnettotals(), getnetworkinfo(), getpeerinfo(), listbanned(), ping()


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

Related to addnode in rbch...