Skip to content

tiasync: choose best state sync snapshot from multiple upstream peers #14

@misko9

Description

@misko9

Currently, tiasync only supports a single upstream peer for state sync. If there are multiple upstream peers, the first connected upstream peer is used.

This enhancement will query all upstream peers for their snapshots and deliver the best snapshot to the fullnode.

Depending on tiasync's discovery time, the fullnode's discovery time may expire before the best snapshot is delivered. Especially due to tiasync's start latency. This may be okay if the fullnode just retries, but something to note and test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions