As seen here: https://en.bitcoin.it/wiki/Running_Bitcoin#Command-line_arguments

-addnode=ip Add a node to connect to and attempt to keep the connection open
-connect=ip Connect only to the specified node(s)

Both of those explanations seem to say the same thing to me.

Can anyone explain them in more detail?


addnode add a node to the list of nodes to connect.
connect only connect to THIS node.

For example, if you are currently connected to the nodes {A, B, C} and then issue…

addnode=D: you'll be connected to {A, B, C, D}
connect=D: you'll be connected to {D}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.