ZIP-200: Test that mempool storage is cleared when a network upgrade activates #2374
Labels
A-docs
Area: Documentation
A-network
Area: Network protocol updates or fixes
A-rust
Area: Updates to Rust code
C-enhancement
Category: This is an improvement
NU-0 Overwinter
Network Upgrade: Overwinter specific tasks (Sprout after Overwinter)
Milestone
Motivation
When a network upgrade activates, the mempool needs to redo validation with the new consensus rules.
Specifications
https://zips.z.cash/zip-0200#memory-pool
https://zips.z.cash/zip-0200#chain-reorganization
Designs
Tasks can await network upgrade activation using
ChainTipChange::tip_change
andTipAction::Reset
:zebra/zebra-state/src/service/chain_tip.rs
Line 313 in 44ac067
Solution
Make sure the implementation satisfies the consensus rules:
The text was updated successfully, but these errors were encountered: