-
Notifications
You must be signed in to change notification settings - Fork 106
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
Tracking: State Update RFC Implementation #1049
Comments
To check that
This probably requires making a new proptest |
## Motivation The zebra-state service needs to be able to handle duplicate blocks. ## Solution This implements changes already outlined by [The State RFC](https://zebra.zfnd.org/dev/rfcs/0005-state-updates.html). We check for successfully committed blocks first, since interacting with the queued blocks struct at this point just complicates the implimentation. If the block has not already been committed we then check if the block has already been queued, if not we handle the block normally (normally here being the bit we already had implemented). ## Documentation Changes - [x] Update the state RFC to match the ways this fix departs from the design - the main thing is that I switched the order of checking for duplicates - [x] ~~Add newly added functions to the state rfc~~ Decided not to do this because they're minor getters that don't influence the rest of the design and aren't exposed as part of the API - [x] Document newly added functions inline ## Testing ## Related Issues - fixes #1182 - tracking issue #1049 Co-authored-by: teor <teor@riseup.net>
@hdevalence I moved |
Notes from our testing catch-up: Goals
Scope
Consensus Rule List
Easy Tests
Design Tests - less important
TODOs:
|
I see we now have new tracking issues created. Do we want to wait until those are completed before closing this issue or are we going to track outstanding work in the Finalized, Non-Finalized, and Service tracking issues? |
I was going to close those first and then close this one, using it as a low detail higher level tracking issue. |
Seems like all items are ticked off now, can we close this one? :D |
sounds good to me :D |
This is the tracking issue for the state update rfc that outlines how state updates are handled, in particular multiple chain handling, reorgs, and finalization of blocks, and how finalized vs un-finalized blocks are handled.
Tracking TODOs
Design
Tasks that are out of scope for the first alpha release
Request::Transaction(transaction::Hash)
- Write tests for Request::Transaction(transaction::Hash) #1220Related Work
The text was updated successfully, but these errors were encountered: