6

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?

9

"addnode" add a node to the list of nodes to connect.

"connect" only connect to THIS node.

For example, you are connected to nodes : 'A B C'

addnode=D and you'll be connected to : 'A B C D'

connect=D and 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.