Skip to content

Cursor-based API #5

@dpc

Description

@dpc

Each downstream consumer would maintain a cursor, and ask for next blocks using it. The response would contain new cursor. This way multiple unrelated consumers can follow the ledger, without API having to keep track of them.

Canceling protocol should be used, so we will need code converting truncating protocol in the db into canceling one. Should be easy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions