Skip to content

Improve syncer startup #532

@Boog900

Description

@Boog900

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

No one assigned

    Labels

    A-binariesArea: Related to binaries.A-p2pArea: Related to P2P.C-optimizationCategory: An issue highlighting optimization opportunities or PRs implementing such.C-proposalCategory: A proposal of some kind, and a request for comments.E-mediumExperience: Medium difficulty. Experience needed to fix: Intermediate.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions