Conflux-Chain / conflux-rust

The official Rust implementation of Conflux protocol. https://doc.confluxnetwork.org
https://doc.confluxnetwork.org
GNU General Public License v3.0
647 stars 197 forks source link

Testnet node stuck at 36972000 #2663

Open VetchM opened 1 year ago

VetchM commented 1 year ago

I'm using docker to start a testnet node, it stuck at 36972000 at least one day. I tried restart it but didn't work, here are some logs:

2023-04-04T03:21:06.280753718+00:00 INFO  IO Worker #3         cfxcore::sta - Statistics: StatisticsInner { sync_graph: SyncGraphStatistics { inserted_block_count: 1, inserted_header_count: 349403 }, consensus_graph: ConsensusGraphStatistics { inserted_block_count: 349392, activated_block_count: 203476, processed_block_count: 349391 } }
2023-04-04T03:21:06.981479387+00:00 INFO  IO Worker #3         cfxcore::syn - Catch-up mode: true, latest epoch: 36972000 missing_bodies: 0
2023-04-04T03:21:07.982346940+00:00 INFO  IO Worker #3         cfxcore::syn - Catch-up mode: true, latest epoch: 36972000 missing_bodies: 0
2023-04-04T03:21:08.983163625+00:00 INFO  IO Worker #0         cfxcore::syn - Catch-up mode: true, latest epoch: 36972000 missing_bodies: 0
2023-04-04T03:21:09.983684141+00:00 INFO  IO Worker #3         cfxcore::syn - Catch-up mode: true, latest epoch: 36972000 missing_bodies: 0
2023-04-04T03:21:10.984425654+00:00 INFO  IO Worker #0         cfxcore::syn - Catch-up mode: true, latest epoch: 36972000 missing_bodies: 0
2023-04-04T03:21:11.284619973+00:00 INFO  IO Worker #2         cfxcore::sta - Statistics: StatisticsInner { sync_graph: SyncGraphStatistics { inserted_block_count: 1, inserted_header_count: 349403 }, consensus_graph: ConsensusGraphStatistics { inserted_block_count: 349392, activated_block_count: 203476, processed_block_count: 349391 } }
2023-04-04T03:21:11.985060086+00:00 INFO  IO Worker #2         cfxcore::syn - Catch-up mode: true, latest epoch: 36972000 missing_bodies: 0
2023-04-04T03:21:12.985699387+00:00 INFO  IO Worker #0         cfxcore::syn - Catch-up mode: true, latest epoch: 36972000 missing_bodies: 0
2023-04-04T03:21:13.986315575+00:00 INFO  IO Worker #2         cfxcore::syn - Catch-up mode: true, latest epoch: 36972000 missing_bodies: 0
2023-04-04T03:21:14.986877106+00:00 INFO  IO Worker #1         cfxcore::syn - Catch-up mode: true, latest epoch: 36972000 missing_bodies: 0
2023-04-04T03:21:15.987613249+00:00 INFO  IO Worker #1         cfxcore::syn - Catch-up mode: true, latest epoch: 36972000 missing_bodies: 0
2023-04-04T03:21:16.287856640+00:00 INFO  IO Worker #3         cfxcore::sta - Statistics: StatisticsInner { sync_graph: SyncGraphStatistics { inserted_block_count: 1, inserted_header_count: 349403 }, consensus_graph: ConsensusGraphStatistics { inserted_block_count: 349392, activated_block_count: 203476, processed_block_count: 349391 } }
2023-04-04T03:21:16.988484223+00:00 INFO  IO Worker #0         cfxcore::syn - Catch-up mode: true, latest epoch: 36972000 missing_bodies: 0
peilun-conflux commented 1 year ago

Looks like you are running a full node from the start. What's the used release version?

BTW, you could also download the latest data snapshot here (archive-tool) and start from a recent state. This should be faster than syncing the history from the start.

VetchM commented 1 year ago

I'm using docker image 2.2.3 mainnet, with testnet config file binded. But still stucking, lill check the tool.

peilun-conflux commented 1 year ago

I'm using docker image 2.2.3 mainnet, with testnet config file binded. But still stucking, lill check the tool.

Using the main net release with the testnet config does not work. There are some consensus-related parameters hardcoded in the binary. The testnet release should be used instead to run the testnet node.

VetchM commented 1 year ago

Ok, l'll try other method, thank you. Currently no new version testnet docker image avaiable at https://hub.docker.com/r/confluxchain/conflux-rust/tags