Attempts to add or remove a node from the addnode list. Or try a connection to a node once.
addnode(con, node, command = c("add", "remove", "onetry"))
A S4-object of class ANSRPC
.
object of class CONRPC
.
character
the node (see getpeerinfo()
for nodes).
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.
Bernhard Pfaff
https://bitcoin.org/en/developer-reference#addnode, https://bitcoin.org/en/developer-reference#remote-procedure-calls-rpcs
Other Network RPCs:
clearbanned()
,
disconnectnode()
,
getaddednodeinfo()
,
getconnectioncount()
,
getnettotals()
,
getnetworkinfo()
,
getpeerinfo()
,
listbanned()
,
ping()