Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Cardano.Ledger.Keys.Bootstrap
Synopsis
- data BootstrapWitness where
- pattern BootstrapWitness ∷ VKey 'Witness → SignedDSIGN DSIGN (Hash HASH EraIndependentTxBody) → ChainCode → ByteString → BootstrapWitness
- data BootstrapWitnessRaw
- newtype ChainCode = ChainCode {}
- bootstrapWitKeyHash ∷ BootstrapWitness → KeyHash 'Witness
- unpackByronVKey ∷ VerificationKey → (VKey 'Witness, ChainCode)
- makeBootstrapWitness ∷ Hash HASH EraIndependentTxBody → SigningKey → Attributes AddrAttributes → BootstrapWitness
- verifyBootstrapWit ∷ Hash HASH EraIndependentTxBody → BootstrapWitness → Bool
- eqBootstrapWitnessRaw ∷ BootstrapWitness → BootstrapWitness → Bool
Documentation
data BootstrapWitness where Source #
Bundled Patterns
pattern BootstrapWitness ∷ VKey 'Witness → SignedDSIGN DSIGN (Hash HASH EraIndependentTxBody) → ChainCode → ByteString → BootstrapWitness |
Instances
data BootstrapWitnessRaw Source #
Instances
Constructors
ChainCode | |
Fields |
Instances
bootstrapWitKeyHash ∷ BootstrapWitness → KeyHash 'Witness Source #
Rebuild the addrRoot of the corresponding address.