Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data BootstrapWitness where
- pattern BootstrapWitness ∷ VKey 'Witness → SignedDSIGN DSIGN (Hash HASH EraIndependentTxBody) → ChainCode → ByteString → BootstrapWitness
- 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 #
pattern BootstrapWitness ∷ VKey 'Witness → SignedDSIGN DSIGN (Hash HASH EraIndependentTxBody) → ChainCode → ByteString → BootstrapWitness |
Instances
Instances
Generic ChainCode Source # | |
Show ChainCode Source # | |
DecCBOR ChainCode Source # | |
EncCBOR ChainCode Source # | |
NFData ChainCode Source # | |
Defined in Cardano.Ledger.Keys.Bootstrap | |
Eq ChainCode Source # | |
NoThunks ChainCode Source # | |
type Rep ChainCode Source # | |
Defined in Cardano.Ledger.Keys.Bootstrap type Rep ChainCode = D1 ('MetaData "ChainCode" "Cardano.Ledger.Keys.Bootstrap" "cardano-ledger-core-1.17.0.0-inplace" 'True) (C1 ('MetaCons "ChainCode" 'PrefixI 'True) (S1 ('MetaSel ('Just "unChainCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString))) |
bootstrapWitKeyHash ∷ BootstrapWitness → KeyHash 'Witness Source #
Rebuild the addrRoot of the corresponding address.