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

Optimize light sync sync logic #352

Open
yanguoyu opened this issue Jan 22, 2024 · 1 comment
Open

Optimize light sync sync logic #352

yanguoyu opened this issue Jan 22, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@yanguoyu
Copy link

yanguoyu commented Jan 22, 2024

This is an optimization from discord https://discord.com/channels/956765352514183188/958262323397689354/1191544570048151623.
Currently, for the light client, every wallet has its sync progress, and when we switch to another wallet, the last choose wallet subscribe lock scripts will stop subscribing.

We can optimize the logic by only removing the lock scripts that the sync block number is less than the current min synced block number. Then if all of the wallets synced to the same block number, when we switch to another wallet, other wallets will continue to sync and not break the current wallet sync.

@yanguoyu yanguoyu added the enhancement New feature or request label Jan 22, 2024
@yanguoyu yanguoyu self-assigned this Jan 22, 2024
@yanguoyu yanguoyu added this to Neuron Jan 22, 2024
@Danie0918 Danie0918 moved this to 🆕 New in Neuron Jan 23, 2024
@Danie0918 Danie0918 moved this from 🆕 New to 🏗 In Progress in Neuron Jan 29, 2024
@Danie0918 Danie0918 moved this from 🏗 In Progress to 📌Planning in Neuron Feb 5, 2024
@Danie0918 Danie0918 moved this from 📌Planning to 🎨 Designing in Neuron Mar 11, 2024
@Danie0918 Danie0918 moved this from 🎨 Designing to 🏗 In Progress in Neuron May 14, 2024
@yanguoyu
Copy link
Author

@yanguoyu yanguoyu moved this from 🏗 In Progress to 🔎 Code Review in Neuron May 21, 2024
@Danie0918 Danie0918 moved this from 🔎 Code Review to 👀 Testing in Neuron May 27, 2024
@Danie0918 Danie0918 assigned silySuper and unassigned yanguoyu May 27, 2024
@Danie0918 Danie0918 moved this from 👀 Testing to 🚩Pre Release in Neuron May 31, 2024
@Danie0918 Danie0918 moved this from 🚩Pre Release to ⭐ Release List in Neuron Aug 1, 2024
@Danie0918 Danie0918 moved this from ⭐ Release List to 🚩Pre Release in Neuron Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 🚩Pre Release
Development

No branches or pull requests

2 participants