eos icon indicating copy to clipboard operation
eos copied to clipboard

how does producer node find genesis node

Open GeneSourceCode opened this issue 8 years ago • 2 comments

I can't figure out how producer find genesis node in the case of "tutorial bios boot sequence". genesis node is launched without specifying its listening p2p port, so that producer can't specify genesis node's p2p address as peer address. How does producer make it? please give me some hints.

GeneSourceCode avatar Jun 05 '18 10:06 GeneSourceCode

There is no auto-discovery mechanism. Basically the producers, including the genesis node, must publish their address info (listening endpoint). A node can then add that peer using the --p2p-peer-address command line option to nodeos, or can specify the property in its config.ini file.

rbw3821 avatar Jun 06 '18 21:06 rbw3821

thx

GeneSourceCode avatar Jun 07 '18 07:06 GeneSourceCode