Tracking: Finalized State Implementation #1249
Labels
C-tracking-issue
Category: This is a tracking issue for other tasks
Epic
Zenhub Label. Denotes a theme of work under which related issues will be grouped
Milestone
Finalized State Implementation
Bugs
commit_finalized_direct
- Add check to ensure heights in state service are sequential #1290Test a block with a matching previous hash, but an incorrect height (cases: parent height, parent height + 2)Incomplete
These changes all require a state version increment, so they should be done in PR #1172.
TransparentInput::PrevOut { outpoint, .. }
in the transaction'sinputs()
, removeoutpoint
fromutxo_by_output
(transaction_hash, block_height || BE32(tx_index))
totx_by_hash
JoinSplit
description in the transaction, insert(nullifiers[0],())
and(nullifiers[1],())
intosprout_nullifiers
Spend
description in the transaction, insert(nullifier,())
intosapling_nullifiers
Cleanup
sled_state
when committing new blocks to sledTests
hash_by_height
,height_by_hash
, andblock_by_height
are consistent, and are all bijections (1:1 mappings) by assertinginsert
doesn't overwrite an existing valueIntoSled
andFromSled
#1214)The text was updated successfully, but these errors were encountered: