Skip to content

Replace paginated endpoints with streams #168

@lrettig

Description

@lrettig

paginated endpoints should have some limit. in that case above there will be problems with memory if end is significantly larger than start

i don't know what should be done with paginated endpoints in general, i would probably split them up and replace with object streams:

  • activations
  • ballots
  • txs results
  • blocks
  • accounts

and more epmeheral streams:

  • layer status, only small header (start, hare, tortoise)
  • mempool transactions (to track where tx was included)
  • proposals

Originally posted by @dshulyak in #165 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions