-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Labels
A-binariesArea: Related to binaries.Area: Related to binaries.A-p2pArea: Related to P2P.Area: Related to P2P.C-optimizationCategory: An issue highlighting optimization opportunities or PRs implementing such.Category: An issue highlighting optimization opportunities or PRs implementing such.C-proposalCategory: A proposal of some kind, and a request for comments.Category: A proposal of some kind, and a request for comments.E-mediumExperience: Medium difficulty. Experience needed to fix: Intermediate.Experience: Medium difficulty. Experience needed to fix: Intermediate.
Description
What
Currently we check every 30s if we are synced, this was a hacky way of doing it which was never meant to stick. Instead we should have a way of telling the syncer if we are behind.
Why
Qubic recently caused a lot of re orgs, most of these blocks were passed around by syncing not through block notifications, needing to wait an extra 30s to sync blocks is a lot of wasted time for anyone who uses cuprated to mine.
Where
Syncer, p2p.
How
A channel to wake the syncer if we are behind?
Metadata
Metadata
Assignees
Labels
A-binariesArea: Related to binaries.Area: Related to binaries.A-p2pArea: Related to P2P.Area: Related to P2P.C-optimizationCategory: An issue highlighting optimization opportunities or PRs implementing such.Category: An issue highlighting optimization opportunities or PRs implementing such.C-proposalCategory: A proposal of some kind, and a request for comments.Category: A proposal of some kind, and a request for comments.E-mediumExperience: Medium difficulty. Experience needed to fix: Intermediate.Experience: Medium difficulty. Experience needed to fix: Intermediate.