Skip to content
This repository was archived by the owner on Sep 12, 2018. It is now read-only.
This repository was archived by the owner on Sep 12, 2018. It is now read-only.

[sync] HTTP client for downloading remote transactions #511

@grigoryk

Description

@grigoryk

Client will be written around the API described in https://github.com/rfk/mentat-sync-prototype/

General flow:

    Using `SyncMetadataClient`, get the currently known remote_head.
    Get list of new transactions via GET /transactions?from={remote_head}
    For each transaction:
        Get list of chunks via GET /transactions/{trn}
        For each chunk:
            Get chunk contents via GET /chunks/{chunk}
    Return a list of transactions w/ chunks

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-syncTracking work around synchronization.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions