Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- exEmptyBlock ∷ (ExMock (EraCrypto era), EraSegWits era, ProtVerAtMost era 4, ProtVerAtMost era 6, Default (StashedAVVMAddresses era), EraGov era) ⇒ CHAINExample (BHeader (EraCrypto era)) era
Documentation
exEmptyBlock ∷ (ExMock (EraCrypto era), EraSegWits era, ProtVerAtMost era 4, ProtVerAtMost era 6, Default (StashedAVVMAddresses era), EraGov era) ⇒ CHAINExample (BHeader (EraCrypto era)) era Source #
Empty Block Example
This is the most minimal example of using the CHAIN STS transition. It applies an empty block to an initial shelley chain state.
The only things that change in the chain state are the evolving and candidate nonces, and the last applied block.