5

In Geth, if I use the --nodiscover option, my node won't be discovered by default from other nodes.

Conversely, with bootnode tool implemented in geth, first I have to generate a key, then I have to use the command

bootnode -nodekey "./boot.key" -addr "addr:port" 

and lastly I have to put the output enode information as parameter when starting each node (so that I can have an authomatic "adding peers mechanism"). However, using this tool, I can't use --nodiscover option.

Is it less secure to use this tool? Could my nodes be discovered from external nodes?

0

Yes you will be if your network id and the genesis files are same on the other side of the network. I started receiving block from public ip after removing --nodiscover option

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.