You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See this comment for more information about the motivation.
Design
Add invalidate()/reconsider_block() methods to the NonFinalizedState, accept a new channel in write_blocks_from_channels() running in the the block write task (or refactor the existing channels into a single channel receiving an enum), add StateServiceRequest variants for invalidating/reconsidering blocks, and add the invalidate()/reconsiderblock() RPC methods that call the StateService with the new Request variants.
Implementation Plan:
See Sub-issues below
The text was updated successfully, but these errors were encountered:
arya2
changed the title
Tracking: Support invalidating and reconsidering blocks in the NonFinalizedState
Tracking: Support invalidating and reconsidering blocks in the NonFinalizedStateJun 20, 2024
arya2
changed the title
Tracking: Support invalidating and reconsidering blocks in the NonFinalizedState
Tracking: Support invalidating and reconsidering blocks in the NonFinalizedState via RPC methods
Jun 20, 2024
Motivation
This would be useful for testing forks and chain reorganizations, it was mentioned in the forums as a requirement for dex support and in the Regtest tracking issue.
See this comment for more information about the motivation.
Design
Add
invalidate()
/reconsider_block()
methods to theNonFinalizedState
, accept a new channel inwrite_blocks_from_channels()
running in the the block write task (or refactor the existing channels into a single channel receiving an enum), addStateService
Request
variants for invalidating/reconsidering blocks, and add theinvalidate()
/reconsiderblock()
RPC methods that call theStateService
with the newRequest
variants.Implementation Plan:
See Sub-issues below
The text was updated successfully, but these errors were encountered: