nervosnetwork / neuron

Neuron: Nervos CKB Wallet
https://www.nervos.org
MIT License
186 stars 82 forks source link

Syncing backwards #3037

Closed simonsanchezj closed 4 months ago

simonsanchezj commented 6 months ago

Topic Type

Cannot Synchronize

Detail of the issue

Hello, I am trying to synchronize my wallet but it goes backwards. It started at 99.98% and it is slowly dropping to 93, 92, 91%

Thanks!

bundled-ckb.log

No response

bundled-ckb-light-mainnet.log

No response

main.log

No response

status.log

No response

yanguoyu commented 6 months ago

@simonsanchezj Hi, Debug information of the native wallet would help us check what happened, it can be exported by Menu => Help => Export debug information.

simonsanchezj commented 6 months ago

neuron_debug_1708075838467.zip

thanks a lot for your reply. Debug files attached

yanguoyu commented 6 months ago

neuron_debug_1708075838467.zip

thanks a lot for your reply. Debug files attached

Hi, I found that your Neuron's version is too old, maybe it will be better to use the latest version. Here is the latest version https://github.com/nervosnetwork/neuron/releases/tag/v0.112.0

simonsanchezj commented 6 months ago

OK, thanks.

I didnt use Neuron in a very long time. Could it be that it still has to pick up the current block number?

At this moment is showing these numbers: 8,333,996 / 11,213,996

The problem I think is that while the first number is increasing, the second number is picking up as well. Could this be the reason? Which block number are we at?

Thanks!

El vie, 16 feb 2024 a las 14:25, 严国宇 @.***>) escribió:

neuron_debug_1708075838467.zip https://github.com/nervosnetwork/neuron/files/14309048/neuron_debug_1708075838467.zip

thanks a lot for your reply. Debug files attached

Hi, I found that your Neuron's version is too old, maybe it will be better to use the latest version. Here is the latest version https://github.com/nervosnetwork/neuron/releases/tag/v0.112.0

— Reply to this email directly, view it on GitHub https://github.com/nervosnetwork/neuron/issues/3037#issuecomment-1948382506, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGGHN6HTKNCOBNQOHAHQ7Z3YT5M37AVCNFSM6AAAAABDLUSWBCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBYGM4DENJQGY . You are receiving this because you were mentioned.Message ID: @.***>

yanguoyu commented 6 months ago

OK, thanks. I didnt use Neuron in a very long time. Could it be that it still has to pick up the current block number? At this moment is showing these numbers: 8,333,996 / 11,213,996 The problem I think is that while the first number is increasing, the second number is picking up as well. Could this be the reason? Which block number are we at? Thanks! El vie, 16 feb 2024 a las 14:25, 严国宇 @.>) escribió: neuron_debug_1708075838467.zip https://github.com/nervosnetwork/neuron/files/14309048/neuron_debug_1708075838467.zip thanks a lot for your reply. Debug files attached Hi, I found that your Neuron's version is too old, maybe it will be better to use the latest version. Here is the latest version https://github.com/nervosnetwork/neuron/releases/tag/v0.112.0 — Reply to this email directly, view it on GitHub <#3037 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGGHN6HTKNCOBNQOHAHQ7Z3YT5M37AVCNFSM6AAAAABDLUSWBCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBYGM4DENJQGY . You are receiving this because you were mentioned.Message ID: @.>

That's right, previous, we don't set assume-valid-target, so the head tip number and synced block number will increase together. After we set assume-valid-target, the header tip number will increase to the block number that we set, and then the synced block number will start to increase.

simonsanchezj commented 6 months ago

And what is the current block number?

El vie, 16 feb 2024 14:42, 严国宇 @.***> escribió:

OK, thanks. I didnt use Neuron in a very long time. Could it be that it still has to pick up the current block number? At this moment is showing these numbers: 8,333,996 / 11,213,996 The problem I think is that while the first number is increasing, the second number is picking up as well. Could this be the reason? Which block number are we at? Thanks! El vie, 16 feb 2024 a las 14:25, 严国宇 @.

>) escribió: … <#m-2316240522521176578> neuron_debug_1708075838467.zip https://github.com/nervosnetwork/neuron/files/14309048/neuron_debug_1708075838467.zip https://github.com/nervosnetwork/neuron/files/14309048/neuron_debug_1708075838467.zip thanks a lot for your reply. Debug files attached Hi, I found that your Neuron's version is too old, maybe it will be better to use the latest version. Here is the latest version https://github.com/nervosnetwork/neuron/releases/tag/v0.112.0 https://github.com/nervosnetwork/neuron/releases/tag/v0.112.0 — Reply to this email directly, view it on GitHub <#3037 (comment) https://github.com/nervosnetwork/neuron/issues/3037#issuecomment-1948382506>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGGHN6HTKNCOBNQOHAHQ7Z3YT5M37AVCNFSM6AAAAABDLUSWBCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBYGM4DENJQGY https://github.com/notifications/unsubscribe-auth/AGGHN6HTKNCOBNQOHAHQ7Z3YT5M37AVCNFSM6AAAAABDLUSWBCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBYGM4DENJQGY . You are receiving this because you were mentioned.Message ID: @.>

That's right, previous, we don't set assume-valid-target, so the head tip number and synced block number will increase together. After we set assume-valid-target, the header tip number will increase to the block number that we set, and then the synced block number will start to increase.

— Reply to this email directly, view it on GitHub https://github.com/nervosnetwork/neuron/issues/3037#issuecomment-1948408538, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGGHN6ET4EVGG4VJQEYI5VTYT5O6BAVCNFSM6AAAAABDLUSWBCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBYGQYDQNJTHA . You are receiving this because you were mentioned.Message ID: @.***>

yanguoyu commented 6 months ago

https://github.com/nervosnetwork/neuron/blob/develop/packages/neuron-wallet/.env#L120 is the block hash that we set.

simonsanchezj commented 6 months ago

Thanks, I don't quite understand. I am now at 8,419,424/11,773,996

How longer do you estimate the second number has to increase?

El vie, 16 feb 2024 15:19, 严国宇 @.***> escribió:

https://github.com/nervosnetwork/neuron/blob/develop/packages/neuron-wallet/.env#L120 is the block hash that we set.

— Reply to this email directly, view it on GitHub https://github.com/nervosnetwork/neuron/issues/3037#issuecomment-1948468123, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGGHN6ESQIEJ4RAHYYP6NY3YT5TH7AVCNFSM6AAAAABDLUSWBCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBYGQ3DQMJSGM . You are receiving this because you were mentioned.Message ID: @.***>

Keith-CY commented 6 months ago

Thanks, I don't quite understand. I am now at 8,419,424/11,773,996 How longer do you estimate the second number has to increase? El vie, 16 feb 2024 15:19, 严国宇 @.> escribió: https://github.com/nervosnetwork/neuron/blob/develop/packages/neuron-wallet/.env#L120 is the block hash that we set. — Reply to this email directly, view it on GitHub <#3037 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGGHN6ESQIEJ4RAHYYP6NY3YT5TH7AVCNFSM6AAAAABDLUSWBCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBYGQ3DQMJSGM . You are receiving this because you were mentioned.Message ID: @.>

Hi @simonsanchezj

The remaining time (of the second number to increase) is about 31 hours based on the log at https://github.com/nervosnetwork/neuron/issues/3037#issuecomment-1948037800.

github-actions[bot] commented 4 months ago

Mark this issue stale because no activity for 60 days

github-actions[bot] commented 4 months ago

Close this issue because it's inactive since marked stale