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

Nakamoto: Chain State Interface for Nakamoto Block Processing #3861

Closed
kantai opened this issue Aug 22, 2023 · 2 comments · Fixed by #3933
Closed

Nakamoto: Chain State Interface for Nakamoto Block Processing #3861

kantai opened this issue Aug 22, 2023 · 2 comments · Fixed by #3933

Comments

@kantai
Copy link
Member

kantai commented Aug 22, 2023

  • store_block() - stores a block that is signed by stackers and
    producers in staging db.
  • append_block() - validates and applies the transactions in a
    staged block to the clarity chainstate. Marks the block as
    processed. This should validate that the block has no siblings.
  • get_staging_block(StacksBlockId) - returns a stored block
  • get_next_processable_block() - returns a stored block that is
    processable
  • is_processed(StacksBlockId) - returns whether or not a given
    block has been processed
@kantai kantai added this to the Mockamoto milestone Aug 22, 2023
@kantai kantai self-assigned this Sep 15, 2023
@kantai kantai moved this from 🆕 New to 💻 In Progress in Stacks Core Eng Sep 19, 2023
@saralab
Copy link
Contributor

saralab commented Nov 3, 2023

Closing, this has been merged in #3992

@saralab saralab closed this as completed Nov 3, 2023
@github-project-automation github-project-automation bot moved this from Status: 💻 In Progress to Status: ✅ Done in Stacks Core Eng Nov 3, 2023
@blockstack-devops
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@stacks-network stacks-network locked as resolved and limited conversation to collaborators Nov 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants