| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cardano.Ledger.Keys.Bootstrap
Synopsis
- data BootstrapWitness = BootstrapWitness {
- bwKey ∷ !(VKey 'Witness)
- bwSignature ∷ !(SignedDSIGN DSIGN (Hash HASH EraIndependentTxBody))
- bwChainCode ∷ !ChainCode
- bwAttributes ∷ !ByteArray
- 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
Documentation
data BootstrapWitness Source #
Constructors
| BootstrapWitness | |
Fields
| |
Instances
Constructors
| ChainCode | |
Fields | |
Instances
| DecCBOR ChainCode Source # | |||||
| EncCBOR ChainCode Source # | |||||
| NFData ChainCode Source # | |||||
Defined in Cardano.Ledger.Keys.Bootstrap | |||||
| Generic ChainCode Source # | |||||
Defined in Cardano.Ledger.Keys.Bootstrap Associated Types
| |||||
| Show ChainCode Source # | |||||
| Eq ChainCode Source # | |||||
| NoThunks ChainCode Source # | |||||
| type Rep ChainCode Source # | |||||
Defined in Cardano.Ledger.Keys.Bootstrap | |||||
bootstrapWitKeyHash ∷ BootstrapWitness → KeyHash 'Witness Source #
Rebuild the addrRoot of the corresponding address.