[Ethereum] Geth: bootnode tool and –nodiscover

bootnodesgo-ethereumnode-discoveryprivate-blockchain

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?

Best Answer

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