-
Notifications
You must be signed in to change notification settings - Fork 84
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
feat: Add set light client start block number #2786
Conversation
@Keith-CY @homura @WhiteMinds @devchenyan Please review. |
packages/neuron-wallet/src/database/chain/migrations/1690361215400-AddWalletPrimary.ts
Outdated
Show resolved
Hide resolved
1. Rename `startBlockNumberInLight` to `startBlockNumber`. 2. Change transaction 3. Better variable name and function name.
/package |
1.When I click clear light client all data,the block number which is set before will be saved.How can I clear the set block number? 2023-08-03.16.07.38.mov2.【Import wallet by mnemonic】Set start block number can only operate one time?Second set can not affect,if it can set only once,maybe the button set gray and can not operate after first set. 2023-08-03.16.33.20.mov3.Does the start block number of one neuron can affect another neuron? 2023-08-03.16.55.02.mov |
There is no way to reset the start block number, IMO set the start block number to 0 is the same as reset.
From the video, I see the second setting is success. The light client starts the sync from 650,000. What problem with that?
I don't get the point. Every wallet's sync block number is separate. And the start block number is also set for one wallet. |
The start block number is used to set the light client start block, but if your wallet has synced to bigger than the start block number, the start block number is invalid. |
And after setting the start block number, it will cost a few seconds to change the synced block number. So you need to wait for a while then the synced block number will change. @silySuper |
👌 |
creat-new-wallet.mov
import-words.mov
import_keystore.mov
import-pbkey.mov
import-hardwallet.mov