Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data OCert c = OCert {
- ocertVkHot ∷ !(VerKeyKES c)
- ocertN ∷ !Word64
- ocertKESPeriod ∷ !KESPeriod
- ocertSigma ∷ !(SignedDSIGN c (OCertSignable c))
- data OCertEnv c = OCertEnv {
- ocertEnvStPools ∷ !(Set (KeyHash 'StakePool c))
- ocertEnvGenDelegs ∷ !(Set (KeyHash 'GenesisDelegate c))
- data OCertSignable c = OCertSignable !(VerKeyKES c) !Word64 !KESPeriod
- ocertToSignable ∷ OCert c → OCertSignable c
- currentIssueNo ∷ OCertEnv c → Map (KeyHash 'BlockIssuer c) Word64 → KeyHash 'BlockIssuer c → Maybe Word64
- newtype KESPeriod = KESPeriod {}
- slotsPerKESPeriod ∷ Globals → Word64
- kesPeriod ∷ SlotNo → ShelleyBase KESPeriod
Documentation
OCert | |
|
Instances
OCertEnv | |
|
data OCertSignable c Source #
Signable part of an operational certificate
OCertSignable !(VerKeyKES c) !Word64 !KESPeriod |
Instances
Crypto c ⇒ SignableRepresentation (OCertSignable c) Source # | |
Defined in Cardano.Protocol.TPraos.OCert |
ocertToSignable ∷ OCert c → OCertSignable c Source #
Extract the signable part of an operational certificate (for verification)
∷ OCertEnv c | |
→ Map (KeyHash 'BlockIssuer c) Word64 | |
→ KeyHash 'BlockIssuer c | Pool hash |
→ Maybe Word64 |