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[Block Validation]: Comms channels for RPC handler and block template/validation #3864

Closed
kantai opened this issue Aug 22, 2023 · 5 comments

Comments

@kantai
Copy link
Member

kantai commented Aug 22, 2023

RPC methods for assembling a block template and validating a block must
be asynchronous: block assembly and validation are slow operations, and
the network stack should not stall while processing them. In order to
facilitate this, the RPC handler will send a request for template
generation or block validation over a comms channel. A different
thread will handle the work and then pass the result via the event
interface.

@jcnelson
Copy link
Member

jcnelson commented Sep 5, 2023

I think this can be dropped

@kantai
Copy link
Member Author

kantai commented Sep 5, 2023

I’m not sure that this can be dropped. Stackers still need to use a block validation endpoints, right?

@jcnelson
Copy link
Member

jcnelson commented Sep 5, 2023 via email

@kantai kantai modified the milestones: Mockamoto, Neon 3.0 Sep 15, 2023
@kantai kantai added argon3.0 and removed neon3.0 labels Nov 3, 2023
@saralab saralab modified the milestones: Neon 3.0, Argon 3.0 Nov 3, 2023
@saralab saralab moved this from Status: 🆕 New to Status: 💻 In Progress in Stacks Core Eng Jan 3, 2024
@saralab saralab changed the title Nakamoto: Comms channels for RPC handler and block template/validation Nakamoto[Block Validation]: Comms channels for RPC handler and block template/validation Jan 8, 2024
@saralab saralab moved this from Status: 💻 In Progress to Status: ✅ Done in Stacks Core Eng Jan 9, 2024
@kantai
Copy link
Member Author

kantai commented Jan 9, 2024

This was implemented in #4228

@kantai kantai closed this as completed Jan 9, 2024
@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 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests

4 participants