addnode

Input(s) 3

This command allows for the manual management of peer connections. It can add a node to the list of peers to connect, remove it, or try a one-time connection.

How is this used?

Think of your Bitcoin wallet as part of a big network, like being in a huge, bustling city. Just like in a city where you might want to make new friends, avoid certain individuals, or occasionally meet someone for coffee, the 'addnode' command helps you manage who your wallet talks to in the Bitcoin network.

Request

method

addnode

node

Required

command

Required

v2transport

Optional

Inputs(3)

two required input remaining...

node (required) - The address of the peer to connect to
command (required) - '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
v2transport Attempt to connect using BIP324 v2 transport protocol (ignored for 'remove' command)

Result