Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Cardano.CLI.Byron.Legacy
Synopsis
- newtype LegacyDelegateKey = LegacyDelegateKey {
- lrkSigningKey ∷ SigningKey
- encodeLegacyDelegateKey ∷ LegacyDelegateKey → Encoding
- decodeLegacyDelegateKey ∷ Decoder s LegacyDelegateKey
Documentation
newtype LegacyDelegateKey Source #
LegacyDelegateKey is a subset of the UserSecret's from the legacy codebase: 1. the VSS keypair must be present 2. the signing key must be present 3. the rest must be absent (Nothing)
Legacy reference: https://github.com/input-output-hk/cardano-sl/blob/release/3.0.1/lib/src/Pos/Util/UserSecret.hs#L189
Constructors
LegacyDelegateKey | |
Fields
|
encodeLegacyDelegateKey ∷ LegacyDelegateKey → Encoding Source #
Encoder for a Byron/Classic signing key. Lifted from cardano-sl legacy codebase.
decodeLegacyDelegateKey ∷ Decoder s LegacyDelegateKey Source #
Decoder for a Byron/Classic signing key. Lifted from cardano-sl legacy codebase.