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

Add data to header-only GET /blocks #1323

Open
purestaketdb opened this issue Nov 9, 2022 · 0 comments
Open

Add data to header-only GET /blocks #1323

purestaketdb opened this issue Nov 9, 2022 · 0 comments
Labels
new-feature-request Feature request that needs triage Team Lamprey

Comments

@purestaketdb
Copy link

Problem

The header-only flag for blocks is useful in keeping huge blocks from being passed around and is very appreciated. However, it would be helpful for additional options to be made available in the endpoint, either via query strings or additional methods.

Issues

  • Using header-only conceals the number of tx in the block and their ids
  • Large blocks are a feature not a bug

Solution

  • Build a digest mode for the block that includes only the list of tx ids in the tx array (or the bare tx object framework without the data + the ID)
  • Enable msgpack format
  • allow pagination through a blocks tx

Dependencies

Urgency

Nice to have

@purestaketdb purestaketdb added the new-feature-request Feature request that needs triage label Nov 9, 2022
@purestaketdb purestaketdb changed the title Add data to header-only blocks variant Add data to header-only GET /blocks Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature-request Feature request that needs triage Team Lamprey
Projects
None yet
Development

No branches or pull requests

2 participants