PlatON-Go icon indicating copy to clipboard operation
PlatON-Go copied to clipboard

why platon.blockNumber is zero

Open woyouwole2012 opened this issue 4 years ago • 9 comments

I run my client ,and platon.blockNumber is zero for a long time ! why?

woyouwole2012 avatar May 30 '21 04:05 woyouwole2012

Take a look at how many peers are connected? You can enter admin.peers.length in the console

jiangshangqifeng avatar May 31 '21 00:05 jiangshangqifeng

Take a look at how many peers are connected?

You can enter admin.peers.length in the console It's still zero, but I've run for one day

woyouwole2012 avatar May 31 '21 05:05 woyouwole2012

image Is it ok?

woyouwole2012 avatar May 31 '21 11:05 woyouwole2012

image Is it ok?

that’s OK can you check the genesis block's hash value? you can type:

platon.getBlock(0).hash

in console,the PlatON mainnet genesis hash is 0xbd3e148a58392bc546aee5e69aa751c8e572e2cd2c82d06d9418a686b82252b9

benbaley avatar Jun 01 '21 11:06 benbaley

Take a look at how many peers are connected? You can enter admin.peers.length in the console It's still zero, but I've run for one day

No need coin at all, can you send me your node's log file?

benbaley avatar Jun 01 '21 11:06 benbaley

Take a look at how many peers are connected? You can enter admin.peers.length in the console It's still zero, but I've run for one day

No need coin at all, can you send me your node's log file?

log.log Here is my log

woyouwole2012 avatar Jun 01 '21 23:06 woyouwole2012

From the log, I see that your startup option adds --nodiscover, so that your node can't find the rest of the nodes in the network, try to delete this option.

niuxiaojie81 avatar Jun 02 '21 01:06 niuxiaojie81

From the log, I see that your startup option adds --nodiscover, so that your node can't find the rest of the nodes in the network, try to delete this option.

Thanks , I'll try

woyouwole2012 avatar Jun 02 '21 04:06 woyouwole2012

From the log, I see that your startup option adds --nodiscover, so that your node can't find the rest of the nodes in the network, try to delete this option.

Thanks , I'll try

Does this work?

benbaley avatar Sep 06 '21 08:09 benbaley

Closed due to prolonged lack of feedback

benbaley avatar Oct 14 '22 02:10 benbaley