addnode: RPC-JSON API: addnode

Description Usage Arguments Value Author(s) References See Also

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


bpfaff/rbtc documentation built on May 13, 2019, 5:34 p.m.