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

Block status #138

Open
lrettig opened this issue Mar 9, 2021 · 0 comments
Open

Block status #138

lrettig opened this issue Mar 9, 2021 · 0 comments

Comments

@lrettig
Copy link
Member

lrettig commented Mar 9, 2021

The Block data structure doesn't currently have a status field. From the perspective of a node a block can be PENDING (i.e., syntactically valid but contextual status unclear, waiting for hare and tortoise to confirm), VALID/CONFIRMED, or INVALID (i.e., contextually invalid, due to hare and/or tortoise). We should add this, so that if a block later gets invalidated, downstream clients are aware of this and know to drop the transactions it includes.

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