Skip to content

Conversation

@yanguoyu
Copy link
Contributor

Refer to Magickbase/neuron-public-issues#329 (comment).
Additionally, I rename Connector to Synchronizer refer to https://github.com/nervosnetwork/neuron/pull/2965/files#r1412661113. For more clarity, Rename blockStartNumber to localSavedBlockNumber, rename blockEndNumber to syncedBlockNumber in the sync_progress table.

@yanguoyu yanguoyu force-pushed the fix-light-sync branch 5 times, most recently from 2116e2f to e04879a Compare December 19, 2023 08:45
@yanguoyu
Copy link
Contributor Author

yanguoyu commented Dec 19, 2023

/package
Packaging for test is done in 7259426817. @yanguoyu

@yanguoyu
Copy link
Contributor Author

/package Packaging for test is done in 7259426817. @yanguoyu

This package always throws Last few GCs, I will check what causes this.

@yanguoyu
Copy link
Contributor Author

yanguoyu commented Dec 21, 2023

/package
Packaging for test is done in 7285258383. @yanguoyu

1. Use `partial` and `delete` for set_scripts
2. Sync the next block number after all addresses are synced to the block number
3. Rename `blockStartNumber` to `localSavedBlockNumber`, rename `blockEndNumber` to `syncedBlockNumber`
@Keith-CY
Copy link
Collaborator

Keith-CY commented Dec 29, 2023

/package
Packaging for test is done in 7353317097. @Keith-CY

@Keith-CY
Copy link
Collaborator

Please have a review @homura @WhiteMinds @devchenyan @zhangyouxin

@Keith-CY Keith-CY requested a review from zhangyouxin December 29, 2023 03:05
@silySuper
Copy link

silySuper commented Jan 4, 2024

/package
Packaging for test is done in 7404139511. @silySuper

@silySuper
Copy link

Neuron in windows can not sync for about two days,sync process can not change or alaways show '正在连接节点'.

@yanguoyu yanguoyu added this pull request to the merge queue Jan 10, 2024
Merged via the queue into nervosnetwork:develop with commit 5f9f767 Jan 10, 2024
@yanguoyu yanguoyu deleted the fix-light-sync branch January 10, 2024 01:25
yanguoyu added a commit to yanguoyu/neuron that referenced this pull request Mar 14, 2024
* refactor: Rename connector to synchronizer

* fix: fix light sync logic

1. Use `partial` and `delete` for set_scripts
2. Sync the next block number after all addresses are synced to the block number
3. Rename `blockStartNumber` to `localSavedBlockNumber`, rename `blockEndNumber` to `syncedBlockNumber`
@Keith-CY Keith-CY mentioned this pull request Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants