1

I currently have a full bitcoin node on my local network and I would like to create another node but only update it by local network.

I have tried with: ./bitcoind -connect<iplocal> ./bitcoind -addnode<iplocal> but I get the following error syntax error near unexpected token `newline' I appreciate your help.

2
  • You need an equals sign (=) after -connect. Commented Apr 1, 2020 at 21:11
  • i'm goint to try ./bitcoin-qt -connect="iplocal"
    – David Melo
    Commented Apr 1, 2020 at 23:23

1 Answer 1

3

As mentioned above, your command needs to be ./bitcoind -connect=<iplocal>

-connect= will connect ONLY to that specified node. -addnode= will connect to the specified node in addition to attempting to connect to global nodes. If you're bootstrapping a new node either will work

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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