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 downloader network state machine #4063

Closed
jcnelson opened this issue Nov 15, 2023 · 2 comments
Closed

[Nakamoto] Block downloader network state machine #4063

jcnelson opened this issue Nov 15, 2023 · 2 comments

Comments

@jcnelson
Copy link
Member

jcnelson commented Nov 15, 2023

The Nakamoto node needs a new block-downloader state machine. It will use the Nakamoto inventory vectors to identify blocks as available from peers, and download them in rarest-first order (as before). New to Nakamoto, block requests are framed on a per-tenure basis -- a single fetch obtains the tenure's blocks. In addition, there needs to be an endpoint to serve one of the last N tenures (for small N), and an endpoint for serving new blocks in the current tenure.

@jcnelson jcnelson self-assigned this Nov 15, 2023
@saralab
Copy link
Contributor

saralab commented Nov 15, 2023

1: Adding get a tenures blocks , cursor system , streams blocks out of DB and makes available for nsw - S
2: separate endpoints - S
3: state machine : look at bitvectors, look at blocks for bad data etc - M

@saralab saralab added this to the 0.3-Argon 3.0 milestone Nov 15, 2023
@saralab
Copy link
Contributor

saralab commented Mar 21, 2024

#4476

@saralab saralab closed this as completed Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants