Skip to content

Qualify replayed issuance across Simnet reopen and branch switch - #167

Draft
DeepFriedBlockchains wants to merge 4 commits into
test/phase6-selected-parent-issuancefrom
test/phase6-selected-parent-issuance-restart
Draft

DeepFriedBlockchains wants to merge 4 commits into
test/phase6-selected-parent-issuancefrom
test/phase6-selected-parent-issuance-restart

Conversation

@DeepFriedBlockchains

Copy link
Copy Markdown
Owner

Stack on the green selected-parent carrier fixture. Persist the fresh receiver's independently replayed checkpoint and reopen its original RocksDB. Reload the child and the local checkpoint from disk under selected-chain checks. Then select a longer valid branch, reject the superseded carrier and the previous checkpoint against the new parent, and verify the new carrier against accounting independently replayed from genesis. Staging permits the equal-work side parent to remain pending until it wins, and requires both replacement blocks to be UTXO-valid after selection.

This adds test-fixture evidence for clean reopen and branch switch. It makes no change to consensus, issuance policy, or readiness. Actual pruning and fresh pruned P2P import remain separate gates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant