cardano-cli
Safe HaskellNone
LanguageHaskell2010

Cardano.CLI.Byron.Legacy

Synopsis

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

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.