Safe Haskell | None |
---|---|
Language | Haskell2010 |
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/The-Blockchain-Company/bcc-sl/blob/release/3.0.1/lib/src/Pos/Util/UserSecret.hs#L189
LegacyDelegateKey | |
|
encodeLegacyDelegateKey ∷ LegacyDelegateKey → Encoding Source #
Encoder for a Cole/Classic signing key. Lifted from bcc-sl legacy codebase.
decodeLegacyDelegateKey ∷ Decoder s LegacyDelegateKey Source #
Decoder for a Cole/Classic signing key. Lifted from bcc-sl legacy codebase.