addnode

Or try a connection to a node once.

Nodes added using addnode (or -connect) are protected from DoS disconnection and are not required to be full nodes/support SegWit as other outbound peers are (though such peers will not be synced from).

Addnode connections are limited to 8 at a time and are counted separately from the -maxconnections limit.

Argument #1-node

Type: string, Required

Description: The address of the peer to connect to

Argument #2-command

Type: string, Required

Description: '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

Argument #3-v2transport

Type: boolean, Optional
Default=set by -v2transport

Description: Attempt to connect using BIP324 v2 transport protocol (ignored for 'remove' command)

Result

  null    (json null)