Closed sunchengzhu closed 1 week ago
I found that deleting the data/network
directory and then restarting CKB still does not resolve the issue.
Could you provide the RPC responses for sync_state
and get_peers
again?
@eval-exec Hello, I have been in contact with the developers of Neuron, and they informed me that using the Internal Node in Neuron would utilize the built-in version (0.117.0) of CKB. However, the CKB binary in my CKB directory has already been updated to 0.119.0. I have launched CKB nodes both directly using./ckb run
and through starting CKB with Neuron, sharing the same data directory. This means I have synchronized data using different versions of CKB. Could this method of syncing CKB be causing this issue?
sunchengzhu@sunchengzhudeMac-Studio ckb_v0.116.1_aarch64-apple-darwin % find . -name "ckb"
./ckb
sunchengzhu@sunchengzhudeMac-Studio ckb_v0.116.1_aarch64-apple-darwin % cat data/logs/run.log|grep "ckb version"
2024-11-25 08:26:05.660 +00:00 main INFO ckb_bin::subcommand::run ckb version: 0.119.0 (69d4df8 2024-10-25)
2024-11-25 08:40:15.733 +00:00 main INFO ckb_bin::subcommand::run ckb version: 0.117.0 (4920ecf 2024-07-29)
2024-11-25 08:40:45.932 +00:00 main INFO ckb_bin::subcommand::run ckb version: 0.117.0 (4920ecf 2024-07-29)
2024-11-25 08:41:15.934 +00:00 main INFO ckb_bin::subcommand::run ckb version: 0.117.0 (4920ecf 2024-07-29)
2024-11-25 08:41:21.217 +00:00 main INFO ckb_bin::subcommand::run ckb version: 0.119.0 (69d4df8 2024-10-25)
2024-11-25 08:41:29.194 +00:00 main INFO ckb_bin::subcommand::run ckb version: 0.119.0 (69d4df8 2024-10-25)
2024-11-25 08:41:38.246 +00:00 main INFO ckb_bin::subcommand::run ckb version: 0.119.0 (69d4df8 2024-10-25)
2024-11-25 08:42:09.599 +00:00 main INFO ckb_bin::subcommand::run ckb version: 0.119.0 (69d4df8 2024-10-25)
2024-11-25 08:44:59.677 +00:00 main INFO ckb_bin::subcommand::run ckb version: 0.119.0 (69d4df8 2024-10-25)
2024-11-25 08:48:21.336 +00:00 main INFO ckb_bin::subcommand::run ckb version: 0.117.0 (4920ecf 2024-07-29)
sunchengzhu@sunchengzhudeMac-Studio ckb_v0.116.1_aarch64-apple-darwin % ./ckb --version
ckb 0.119.0 (69d4df8 2024-10-25)
@eval-exec Hello, I have been in contact with the developers of Neuron, and they informed me that using the Internal Node in Neuron would utilize the built-in version (0.117.0) of CKB. However, the CKB binary in my CKB directory has already been updated to 0.119.0. I have launched CKB nodes both directly using
./ckb run
and through starting CKB with Neuron, sharing the same data directory. This means I have synchronized data using different versions of CKB. Could this method of syncing CKB be causing this issue?
Yes, to downgrade CKB, you should first use version 0.119.0 to sync the CKB data to the latest state before continuing with a lower version like 0.117.0.
Bug Report
Current Behavior
I am a Neuron wallet user and have been maintaining a CKB full node for a long time, meaning I regularly start the CKB node via Neuron to sync the block height. I’ve noticed that the block height stays at the latest height of the connected peers, but their heights are not the most recent. Restarting does not resolve this issue. Does CKB have a mechanism to ensure I connect to nodes with the latest heights for syncing data?
14394526 = 0xdba49e
Expected Behavior
CKB node syncs to the latest, thus making Neuron usable.
Environment
Additional context/Screenshots
addr_manager.txt
The DB file could not be uploaded to the issue, so it was renamed with a .txt suffix.