Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace paginated endpoints with streams #168

Open
lrettig opened this issue Jun 29, 2022 · 0 comments
Open

Replace paginated endpoints with streams #168

lrettig opened this issue Jun 29, 2022 · 0 comments

Comments

@lrettig
Copy link
Member

lrettig commented Jun 29, 2022

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant