Open yanguoyu opened 4 months ago
When starting a dev blockchain with Neuron, the sync status always shows not start sync yet. This reason is caused by https://github.com/nervosnetwork/ckb/tree/develop/rpc#net-sync_state always returns
not start sync yet
https://github.com/nervosnetwork/ckb/tree/develop/rpc#net-sync_state
{ "jsonrpc":"2.0", "result":{"best_known_block_number":"0x0","best_known_block_timestamp":"0x0","fast_time":"0x3e8","ibd":false,"inflight_blocks_count":"0x0","low_time":"0x5dc","normal_time":"0x4e2","orphan_blocks_count":"0x0"}, "id":42 }
Because the calculated sync status needs best_known_block_number which always keeps 0x0, the sync status always shows not start yet
best_known_block_number
0x0
not start yet
@devchenyan Any update?
ckb issue: https://github.com/nervosnetwork/ckb/issues/4472
https://github.com/nervosnetwork/neuron/pull/3183
When starting a dev blockchain with Neuron, the sync status always shows
not start sync yet
. This reason is caused byhttps://github.com/nervosnetwork/ckb/tree/develop/rpc#net-sync_state
always returnsBecause the calculated sync status needs
best_known_block_number
which always keeps0x0
, the sync status always showsnot start yet