Safe Haskell | None |
---|---|
Language | Haskell2010 |
Ouroboros.Consensus.Protocol.Praos.AgentClient
Contents
Documentation
class (Crypto c, Crypto (ACrypto c), NamedCrypto (ACrypto c), KES (ACrypto c) ~ KES c, ContextKES (KES c) ~ (), ContextVRF (VRF c) ~ (), Typeable (ACrypto c), ServiceClientDrivers (ACrypto c), DirectSerialise (SignKeyKES (KES c)), DirectDeserialise (SignKeyKES (KES c))) ⇒ AgentCrypto c Source #
Instances
AgentCrypto StandardCrypto Source # | |||||
Defined in Ouroboros.Consensus.Protocol.Praos.AgentClient Associated Types
|
data KESAgentClientTrace Source #
Instances
Show KESAgentClientTrace Source # | |
Defined in Ouroboros.Consensus.Protocol.Praos.AgentClient Methods showsPrec ∷ Int → KESAgentClientTrace → ShowS # show ∷ KESAgentClientTrace → String # showList ∷ [KESAgentClientTrace] → ShowS # |
type KESAgentContext c (m ∷ Type → Type) = (AgentCrypto c, MonadKESAgent m, IOLike m) Source #
class (MonadFail m, Show (Addr m)) ⇒ MonadKESAgent (m ∷ Type → Type) where Source #
Methods
withAgentContext ∷ (Snocket m (FD m) (Addr m) → m a) → m a Source #
makeRawBearer ∷ MakeRawBearer m (FD m) Source #
Instances
MonadKESAgent IO Source # | |
MonadKESAgent (IOSim s) Source # | |
runKESAgentClient ∷ ∀ m c. (KESAgentContext c m, DSIGN (ACrypto c) ~ DSIGN) ⇒ Tracer m KESAgentClientTrace → FilePath → (OCert c → SignKeyKES (KES c) → Word → KESPeriod → m ()) → m () → m () Source #