Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Cardano.CLI.Shelley.Run.Node
Synopsis
- data ShelleyNodeCmdError = ShelleyNodeCmdReadFileError !(FileError TextEnvelopeError)
- renderShelleyNodeCmdError ∷ ShelleyNodeCmdError → Text
- runNodeCmd ∷ NodeCmd → ExceptT ShelleyNodeCmdError IO ()
- runNodeIssueOpCert ∷ VerificationKeyOrFile KesKey → SigningKeyFile → OpCertCounterFile → KESPeriod → OutputFile → ExceptT ShelleyNodeCmdError IO ()
- runNodeKeyGenCold ∷ VerificationKeyFile → SigningKeyFile → OpCertCounterFile → ExceptT ShelleyNodeCmdError IO ()
- runNodeKeyGenKES ∷ VerificationKeyFile → SigningKeyFile → ExceptT ShelleyNodeCmdError IO ()
- runNodeKeyGenVRF ∷ VerificationKeyFile → SigningKeyFile → ExceptT ShelleyNodeCmdError IO ()
- readColdVerificationKeyOrFile ∷ ColdVerificationKeyOrFile → IO (Either (FileError TextEnvelopeError) (VerificationKey StakePoolKey))
Documentation
data ShelleyNodeCmdError Source #
Constructors
ShelleyNodeCmdReadFileError !(FileError TextEnvelopeError) |
Instances
Show ShelleyNodeCmdError Source # | |
Defined in Cardano.CLI.Shelley.Run.Node |
runNodeCmd ∷ NodeCmd → ExceptT ShelleyNodeCmdError IO () Source #
Arguments
∷ VerificationKeyOrFile KesKey | This is the hot KES verification key. |
→ SigningKeyFile | This is the cold signing key. |
→ OpCertCounterFile | Counter that establishes the precedence of the operational certificate. |
→ KESPeriod | Start of the validity period for this certificate. |
→ OutputFile | |
→ ExceptT ShelleyNodeCmdError IO () |
runNodeKeyGenCold ∷ VerificationKeyFile → SigningKeyFile → OpCertCounterFile → ExceptT ShelleyNodeCmdError IO () Source #
runNodeKeyGenKES ∷ VerificationKeyFile → SigningKeyFile → ExceptT ShelleyNodeCmdError IO () Source #
runNodeKeyGenVRF ∷ VerificationKeyFile → SigningKeyFile → ExceptT ShelleyNodeCmdError IO () Source #
readColdVerificationKeyOrFile ∷ ColdVerificationKeyOrFile → IO (Either (FileError TextEnvelopeError) (VerificationKey StakePoolKey)) Source #
Read a cold verification key or file.
If a filepath is provided, it will be interpreted as a text envelope formatted file.