SyncGraphStatistics的inserted_block_count为什么一直等于1呢?

今天刚刚开始挖矿,使用的电脑是Ubuntu系统。下载的软件版本是conflux_linux_v0.6.1。

一切按照教程操作,注册了一个钱包地址,然后最后的执行命令是

./conflux --config default.toml --full 2>stderr.txt

奇怪的是,其它数字都在增长,就是SyncGraphStatistics的inserted_block_count一直等于1。

2020-08-25T22:59:40.607734451-07:00 INFO IO Worker #1 cfxcore::sta - Statistics: StatisticsInner { sync_graph: SyncGraphStatistics { inserted_block_count: 1, inserted_header_count: 1412740 }, consensus_graph: ConsensusGraphStatistics { inserted_block_count: 213431, activated_block_count: 1410826, processed_block_count: 1411788 } }
2020-08-25T22:59:41.007848906-07:00 INFO IO Worker #2 cfxcore::syn - Catch-up mode: true, latest epoch: 1031282
2020-08-25T22:59:42.008272429-07:00 INFO IO Worker #0 cfxcore::syn - Catch-up mode: true, latest epoch: 1031440
2020-08-25T22:59:43.008592097-07:00 INFO IO Worker #0 cfxcore::syn - Catch-up mode: true, latest epoch: 1031730
2020-08-25T22:59:44.008935914-07:00 INFO IO Worker #2 cfxcore::syn - Catch-up mode: true, latest epoch: 1032120
2020-08-25T22:59:45.009208135-07:00 INFO IO Worker #1 cfxcore::syn - Catch-up mode: true, latest epoch: 1032128
2020-08-25T22:59:45.609479253-07:00 INFO IO Worker #3 cfxcore::sta - Statistics: StatisticsInner { sync_graph: SyncGraphStatistics { inserted_block_count: 1, inserted_header_count: 1414390 }, consensus_graph: ConsensusGraphStatistics { inserted_block_count: 214946, activated_block_count: 1412341, processed_block_count: 1413303 } }
2020-08-25T22:59:46.009638528-07:00 INFO IO Worker #0 cfxcore::syn - Catch-up mode: true, latest epoch: 1032273
2020-08-25T22:59:47.010021028-07:00 INFO IO Worker #3 cfxcore::syn - Catch-up mode: true, latest epoch: 1032762
2020-08-25T22:59:48.010445142-07:00 INFO IO Worker #2 cfxcore::syn - Catch-up mode: true, latest epoch: 1032930
2020-08-25T22:59:49.010838275-07:00 INFO IO Worker #3 cfxcore::syn - Catch-up mode: true, latest epoch: 1033170
2020-08-25T22:59:50.011090143-07:00 INFO IO Worker #2 cfxcore::syn - Catch-up mode: true, latest epoch: 1033470
2020-08-25T22:59:50.611432233-07:00 INFO IO Worker #1 cfxcore::sta - Statistics: StatisticsInner { sync_graph: SyncGraphStatistics { inserted_block_count: 1, inserted_header_count: 1415997 }, consensus_graph: ConsensusGraphStatistics { inserted_block_count: 216972, activated_block_count: 1414367, processed_block_count: 1415329 } }
2020-08-25T22:59:51.011573658-07:00 INFO IO Worker #3 cfxcore::syn - Catch-up mode: true, latest epoch: 1033620
2020-08-25T22:59:52.011843575-07:00 INFO IO Worker #0 cfxcore::syn - Catch-up mode: true, latest epoch: 1033957
2020-08-25T22:59:53.012183722-07:00 INFO IO Worker #2 cfxcore::syn - Catch-up mode: true, latest epoch: 1034070
2020-08-25T22:59:54.012414282-07:00 INFO IO Worker #3 cfxcore::syn - Catch-up mode: true, latest epoch: 1034248
2020-08-25T22:59:55.012762770-07:00 INFO IO Worker #1 cfxcore::syn - Catch-up mode: true, latest epoch: 1034460
2020-08-25T22:59:55.613158860-07:00 INFO IO Worker #3 cfxcore::sta - Statistics: StatisticsInner { sync_graph: SyncGraphStatistics { inserted_block_count: 1, inserted_header_count: 1417658 }, consensus_graph: ConsensusGraphStatistics { inserted_block_count: 218731, activated_block_count: 1416126, processed_block_count: 1417088 } }
2020-08-25T22:59:56.013331026-07:00 INFO IO Worker #0 cfxcore::syn - Catch-up mode: true, latest epoch: 1034813
2020-08-25T22:59:57.013685410-07:00 INFO IO Worker #0 cfxcore::syn - Catch-up mode: true, latest epoch: 1035180
2020-08-25T22:59:58.013939950-07:00 INFO IO Worker #3 cfxcore::syn - Catch-up mode: true, latest epoch: 1035389
2020-08-25T22:59:59.014177829-07:00 INFO IO Worker #1 cfxcore::syn - Catch-up mode: true, latest epoch: 1035688
2020-08-25T23:00:00.014661566-07:00 INFO IO Worker #1 cfxcore::syn - Catch-up mode: true, latest epoch: 1035750

观察log/conflux.log,确实时而会有一些error,如下:

2020-08-25T21:40:31.806106139-07:00 WARN Socket IO Worker #0 cfxcore::syn - Error while handling message, peer=0x58de…6fc0, msgid=4, error=Error(RequestNotFound, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })

请问:我该怎么解决这个问题呢?以及,我的ConfluxPortal上面应该连主网还是测试网呢?谢谢!

Portal上面选择主网,Oceanus

谢谢!

这是full node还在同步header,等header同步完了,找到最近的checkpoint之后(latest_epoch会退到checkpoint的高度)才会同步block body,在这个时候inserted_block_count才会开始涨。

这个过程大概要多久呢,我都16个小时了,inserted_block_count还是1

机器是cpu 6核,16GB内存, 320的固态硬盘