ouroboros-consensus-0.21.0.0: Consensus layer for the Ouroboros blockchain protocol
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ouroboros.Consensus.Util.Condense

Synopsis

Documentation

class Condense a where Source #

Condensed but human-readable output

Methods

condense ∷ a → String Source #

Instances

Instances details
Condense Void Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseVoidString Source #

Condense Int64 Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseInt64String Source #

Condense Rational Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Condense Word32 Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseWord32String Source #

Condense Word64 Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseWord64String Source #

Condense ByteString Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Condense ByteString Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Condense BlockNo Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseBlockNoString Source #

Condense EpochNo Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseEpochNoString Source #

Condense SlotNo Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseSlotNoString Source #

Condense IsEBB Source # 
Instance details

Defined in Ouroboros.Consensus.Block.EBB

Methods

condenseIsEBBString Source #

Condense CoreNodeId Source # 
Instance details

Defined in Ouroboros.Consensus.NodeId

Condense NodeId Source # 
Instance details

Defined in Ouroboros.Consensus.NodeId

Methods

condenseNodeIdString Source #

Condense LeaderSchedule Source # 
Instance details

Defined in Ouroboros.Consensus.Protocol.LeaderSchedule

Condense ScheduledGc Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.ChainDB.Impl.Background

Condense Time Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseTimeString Source #

Condense Text Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseTextString Source #

Condense Natural Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseNaturalString Source #

Condense Bool Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseBoolString Source #

Condense Int Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseIntString Source #

Condense Word Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseWordString Source #

Condense (SigDSIGN Ed25519DSIGN) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Condense (SigDSIGN Ed448DSIGN) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Condense (SigDSIGN MockDSIGN) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Show (VerKeyDSIGN d) ⇒ Condense (VerKeyDSIGN d) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Condense (SigKES (MockKES t)) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseSigKES (MockKES t) → String Source #

Condense (SigKES NeverKES) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Condense (SigDSIGN d) ⇒ Condense (SigKES (SimpleKES d t)) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseSigKES (SimpleKES d t) → String Source #

Condense (SigDSIGN d) ⇒ Condense (SigKES (SingleKES d)) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseSigKES (SingleKES d) → String Source #

(Condense (SigKES d), Condense (VerKeyKES d)) ⇒ Condense (SigKES (SumKES h d)) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseSigKES (SumKES h d) → String Source #

Condense (VerKeyDSIGN d) ⇒ Condense (VerKeyKES (SingleKES d)) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Condense (VerKeyKES (SumKES h d)) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseVerKeyKES (SumKES h d) → String Source #

Condense a ⇒ Condense (WithOrigin a) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseWithOrigin a → String Source #

Condense a ⇒ Condense (Set a) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseSet a → String Source #

All CondenseConstraints xs ⇒ Condense (Header (HardForkBlock xs)) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Condense

Condense (HeaderHash blk) ⇒ Condense (RealPoint blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Block.RealPoint

Methods

condenseRealPoint blk → String Source #

All SingleEraBlock xs ⇒ Condense (EraIndex xs) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Abstract.SingleEraBlock

Methods

condenseEraIndex xs → String Source #

All CondenseConstraints xs ⇒ Condense (HardForkBlock xs) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Condense

CanHardFork xs ⇒ Condense (HardForkLedgerUpdate xs) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Ledger

All CondenseConstraints xs ⇒ Condense (GenTx (HardForkBlock xs)) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Condense

All CondenseConstraints xs ⇒ Condense (TxId (GenTx (HardForkBlock xs))) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Condense

Condense (GenTxId blk) ⇒ Condense (WrapGenTxId blk) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Condense

Methods

condenseWrapGenTxId blk → String Source #

All Condense as ⇒ Condense (HList as) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseHList as → String Source #

(Condense block, HasHeader block, Condense (HeaderHash block)) ⇒ Condense (AnchoredFragment block) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseAnchoredFragment block → String Source #

Condense block ⇒ Condense (Chain block) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseChain block → String Source #

Condense a ⇒ Condense (I a) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Condense

Methods

condenseI a → String Source #

Condense a ⇒ Condense (Maybe a) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseMaybe a → String Source #

Condense a ⇒ Condense [a] Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condense ∷ [a] → String Source #

Condense (SigDSIGN v) ⇒ Condense (SignedDSIGN v a) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseSignedDSIGN v a → String Source #

Condense (Hash h a) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseHash h a → String Source #

Condense (SigKES v) ⇒ Condense (SignedKES v a) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseSignedKES v a → String Source #

(Condense k, Condense a) ⇒ Condense (Map k a) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseMap k a → String Source #

Condense (OneEraHash xs) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.AcrossEras

Methods

condenseOneEraHash xs → String Source #

Condense m ⇒ Condense (DualBlock m a) Source # 
Instance details

Defined in Ouroboros.Consensus.Ledger.Dual

Methods

condenseDualBlock m a → String Source #

BftCrypto c ⇒ Condense (BftFields c toSign) Source # 
Instance details

Defined in Ouroboros.Consensus.Protocol.BFT

Methods

condenseBftFields c toSign → String Source #

PBftCrypto c ⇒ Condense (PBftFields c toSign) Source # 
Instance details

Defined in Ouroboros.Consensus.Protocol.PBFT

Methods

condensePBftFields c toSign → String Source #

Condense (HeaderHash b) ⇒ Condense (ChainHash b) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseChainHash b → String Source #

Condense (HeaderHash block) ⇒ Condense (Point block) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condensePoint block → String Source #

Condense (HeaderHash b) ⇒ Condense (Tip b) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseTip b → String Source #

(Condense a, Condense b) ⇒ Condense (a, b) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condense ∷ (a, b) → String Source #

(Condense a, Condense b, Condense c) ⇒ Condense (a, b, c) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condense ∷ (a, b, c) → String Source #

(Condense a, Condense b, Condense c, Condense d) ⇒ Condense (a, b, c, d) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condense ∷ (a, b, c, d) → String Source #

(Condense a, Condense b, Condense c, Condense d, Condense e) ⇒ Condense (a, b, c, d, e) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condense ∷ (a, b, c, d, e) → String Source #

class Condense1 f where Source #

Methods

liftCondense ∷ (a → String) → f a → String Source #

Instances

Instances details
Condense1 Set Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

liftCondense ∷ (a → String) → Set a → String Source #

Condense1 List Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

liftCondense ∷ (a → String) → [a] → String Source #

class CondenseList a where Source #

Human-readable list of condensed strings. All result strings have the same length, for alignment purposes.

Methods

condenseList ∷ [a] → [String] Source #

condense1 ∷ (Condense1 f, Condense a) ⇒ f a → String Source #

Lift the standard condense function through the type constructor