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

Equivalents of QueryableBlock::{len, iter} for namespaces #1009

Closed
Tracked by #717
ggutoski opened this issue Jan 20, 2024 · 0 comments · Fixed by #1029
Closed
Tracked by #717

Equivalents of QueryableBlock::{len, iter} for namespaces #1009

ggutoski opened this issue Jan 20, 2024 · 0 comments · Fixed by #1029
Assignees
Labels
cappuccino cappuccino-sprint1 namespace-proofs https://www.notion.so/espressosys/Namespace-proofs-well-formed-blocks-only-2c679f401f0445a283ede18e2 vid

Comments

@ggutoski
Copy link
Contributor

ggutoski commented Jan 20, 2024

Like #991, #931 except for namespaces. Should be easy given what we've already done for those issues. Indeed, we should probably factor out the namespace-specific code from whatever code we write for those issues and re-use it here.

Suggested names, but feel free to think of something better:

  • len -> num_namespaces
  • iter -> namespace_iter

As per EspressoSystems/hotshot-query-service#328 (comment) these new methods will not be added upstream to QueryableBlock. Instead just add them to the concrete BlockPayload struct in this repo. (Currently that's in block2.rs along with everything else VID.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cappuccino cappuccino-sprint1 namespace-proofs https://www.notion.so/espressosys/Namespace-proofs-well-formed-blocks-only-2c679f401f0445a283ede18e2 vid
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants