addnode {rbtc}R Documentation

RPC-JSON API: addnode

Description

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

Usage

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, setnetworkactive


[Package rbtc version 0.1-6 Index]