Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Synchronization] **brief description** #3042

Closed
Rudegyalcrypto opened this issue Feb 20, 2024 · 16 comments
Closed

[Synchronization] **brief description** #3042

Rudegyalcrypto opened this issue Feb 20, 2024 · 16 comments

Comments

@Rudegyalcrypto
Copy link

System has been syncing for 4 days, it's only on 8,753,602. Task manager only shows ckb not ckb indexer. Please assist.

@yanguoyu
Copy link
Collaborator

yanguoyu commented Feb 21, 2024

System has been syncing for 4 days, it's only on 8,753,602. Task manager only shows ckb not ckb indexer. Please assist.

Hi, @Rudegyalcrypto after 106 versions, the ckb-indexer has merged into the ckb, so the ckb-indexer will not show in the task manager.
If the sync process is stuck, the Debug information of the native wallet would help us check what happened, it can be exported by Menu => Help => Export debug information.

@Simon-Sturges
Copy link

Hi, My synchronization was stuck at 99% despite rebooting. I uploaded the latest version and migrated as suggested. After a day 'importing' i decided to clear cache and I cannot see any of my CKB. History blank, Nervos DAO blank and on the latest version i cannot see if it is synching. I have attached my debug zip file.

Grateful for any assistance you can give
S
neuron_debug_1709057683610.zip

@yanguoyu
Copy link
Collaborator

Hi, My synchronization was stuck at 99% despite rebooting. I uploaded the latest version and migrated as suggested. After a day 'importing' i decided to clear cache and I cannot see any of my CKB. History blank, Nervos DAO blank and on the latest version i cannot see if it is synching. I have attached my debug zip file.

Grateful for any assistance you can give S neuron_debug_1709057683610.zip

@Simon-Sturges
Hi, from the log, I get that the migration has not finished yet. You can see the migrate status from the right-top of the Neuron.
After the migration is finished, Neuron will start syncing again.

@Simon-Sturges
Copy link

Thank you, however 48 hours later it is still migrating..

@yanguoyu
Copy link
Collaborator

yanguoyu commented Mar 1, 2024

Thank you, however 48 hours later it is still migrating..

Hi, could you refer to #2868 (comment) for manual migration?

@Simon-Sturges
Copy link

Hi, have tried this, but it hasn't worked..

@yanguoyu
Copy link
Collaborator

yanguoyu commented Mar 3, 2024

Hi, have tried this, but it hasn't worked..

Hi, Do you manually migrate successfully?
If not, what problem happens during manual migration?
If yes, after the successful migration, could you open the Neuron again, and then download and upload the Debug information again?

@Simon-Sturges
Copy link

Morning, I think it may have migrated as the Top RHS now says syncing 0.00% and the blocks are rising but still 0/12000000 looking for assumed valid target.
Please see attached debug information
neuron_debug_1709463767791.zip

@yanguoyu
Copy link
Collaborator

yanguoyu commented Mar 4, 2024

Hi, @Simon-Sturges ,

This is the log from bundled-ckb.log

2024-03-03 10:18:47.442 +00:00 BlockDownload INFO ckb_sync::synchronizer best known header number: 3760000, hash: Byte32(0x25e28230faa9764e060b3e2632396c1679b6ad9b3edb7c12b45ebc115ea8ea98), can't find assume valid target temporarily, hash: Byte32(0x1d46fe5bb62d19a004eadd7ba40564c45620905ab260d8a546a9e4b9d7cc0f85) please wait

It means the Neuron is in the early stage of synchronization and the first number in xxx/xxx will increase once the Neuron finds an assumed valid target(when the second number is greater than 11,616,377). This process will speed up the full neuron sync.

@Simon-Sturges
Copy link

Hi yanguoyu,

So it got to 0.017% and now TRHS states 'sync is slow'.
Been running for 7 days now. Assume that I can't turn off the laptop?
Nervos screenshot 09032024.docx

Presumably I just have to keep it running? Another week or so?

@yanguoyu
Copy link
Collaborator

yanguoyu commented Mar 9, 2024

Hi yanguoyu,

So it got to 0.017% and now TRHS states 'sync is slow'. Been running for 7 days now. Assume that I can't turn off the laptop? Nervos screenshot 09032024.docx

Presumably I just have to keep it running? Another week or so?

Hi, when the computer screen locks, the Neuron may stop syncing, so you'd better keep the screen awake when the Neuron syncing. The full node ckb node needs about 2~3 days to finish the sync, and it needs over 50GB of space disk. And it also depends on the computer's performance and network status.

@Simon-Sturges
Copy link

Hi, been syncing for 2 weeks now. TRH side back to saying 'sync is slow' but not showing blocks synced. Last seen blocks synced only 320,000. System somewhat old but have over 50GB space disk,
I see there is v0.114.2 NEW in settings. Do I download and go through whole migration process again?
Any further recommendations?

@yanguoyu
Copy link
Collaborator

Hi, been syncing for 2 weeks now. TRH side back to saying 'sync is slow' but not showing blocks synced. Last seen blocks synced only 320,000. System somewhat old but have over 50GB space disk, I see there is v0.114.2 NEW in settings. Do I download and go through whole migration process again? Any further recommendations?

Update to the latest will be better. If the Neuron still shows sync is slow, could you upload the Debug Information again?
Additionally, the Neuron includes a light client node. The light client node will sync faster than the full node and needs less disk space because it only subscribes to your address. It can set the start block number to speed up the sync process.
The start block number should be set to lower than the first block number of your wallet.
If you want to use the light client click setting and scroll to the Network setting, then choose Light Client, which will switch to the Light Client.
image

@Simon-Sturges
Copy link

Thank you for your assistance Yanguoyu,
I set my start block at 2,000,000 on lite client node and saw my first deposit within minutes. All now fully synced.

Copy link
Contributor

Mark this issue stale because no activity for 60 days

@github-actions github-actions bot added the stale label May 25, 2024
Copy link
Contributor

github-actions bot commented Jun 1, 2024

Close this issue because it's inactive since marked stale

@github-actions github-actions bot closed this as completed Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants