Fantom-foundation / go-lachesis

aBFT consensus for permission-less networks
https://fantom.foundation
MIT License
224 stars 78 forks source link

can not find other validators #605

Closed linyintao2010 closed 3 years ago

linyintao2010 commented 3 years ago

server :Ubuntu 16.04.6 LTS [Opera.Emitter] VersionToPublish = "1.0.0-rc.0"

After the node is running Always show :synchronizing (just joined the validators group) image How to solve this problem, thanks!

quan8 commented 3 years ago

@linyintao2010 are you setting a fakenet? Can you please give some info, steps to reproduce?

linyintao2010 commented 3 years ago

@linyintao2010 are you setting a fakenet? Can you please give some info, steps to reproduce?

hello @quan8 Generate configuration file through --testnet。The genesis file was modified, the configuration file was generated, and 3 validators were obtained。

exec command: ./lachesis --legacy_config networklachesis.toml --config networkopera.toml --datadir=data --nousb

node some config info

image

I tested telnet on port 7946 of each server, and it all worked.But just can’t find other verifiers

linyintao2010 commented 3 years ago

@linyintao2010 are you setting a fakenet? Can you please give some info, steps to reproduce?

At the same time, I use the ./lachesis attach method to enter Lachesis JavaScript console! Add a node through web3.admin.addPeer, which shows that the execution is successful. But the total number of nodes is still zero

quan8 commented 3 years ago

@linyintao2010 Just wondering what you're trying to do "The genesis file was modified, the configuration file was generated ...". It sounds like not in proper use.

linyintao2010 commented 3 years ago

@linyintao2010 Just wondering what you're trying to do "The genesis file was modified, the configuration file was generated ...". It sounds like not in proper use.

Couldn't it be possible to generate a configuration file through this?