ouroboros-consensus-0.1.0.2: Consensus layer for the Ouroboros blockchain protocol
Safe HaskellNone
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 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 Int64 Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseInt64String Source #

Condense Natural Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseNaturalString Source #

Condense Rational Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Condense Word Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseWordString Source #

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 Void Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseVoidString Source #

Condense SeekMode Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.FS.API.Types

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 SlotNo Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseSlotNoString Source #

Condense Text Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseTextString Source #

Condense EpochNo Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseEpochNoString Source #

Condense Time Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseTimeString Source #

Condense FsErrorPath Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.FS.API.Types

Condense FsPath Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.FS.API.Types

Methods

condenseFsPathString Source #

Condense AllowExisting Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.FS.API.Types

Condense OpenMode Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.FS.API.Types

Condense CoreNodeId Source # 
Instance details

Defined in Ouroboros.Consensus.NodeId

Condense NodeId Source # 
Instance details

Defined in Ouroboros.Consensus.NodeId

Methods

condenseNodeIdString Source #

Condense IsEBB Source # 
Instance details

Defined in Ouroboros.Consensus.Block.EBB

Methods

condenseIsEBBString 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 a ⇒ Condense [a] Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condense ∷ [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 (Set a) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseSet a → String Source #

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

Defined in Ouroboros.Consensus.Util.Orphans

Methods

condenseAnchoredFragment block → 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.Orphans

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 (WithOrigin a) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseWithOrigin a → String Source #

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

Defined in Ouroboros.Consensus.Util.Orphans

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 #

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

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseHList as → String Source #

Condense (SigDSIGN Ed25519DSIGN) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condense ∷ SigDSIGN Ed25519DSIGN → String Source #

Condense (SigDSIGN Ed448DSIGN) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condense ∷ SigDSIGN Ed448DSIGN → String Source #

Condense (SigDSIGN MockDSIGN) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condense ∷ SigDSIGN MockDSIGN → String Source #

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

Defined in Ouroboros.Consensus.Util.Condense

Methods

condense ∷ VerKeyDSIGN d → String Source #

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

Defined in Ouroboros.Consensus.Util.Condense

Methods

condense ∷ SigKES (MockKES t) → String Source #

Condense (SigKES NeverKES) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condense ∷ SigKES NeverKES → String Source #

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

Defined in Ouroboros.Consensus.Util.Condense

Methods

condense ∷ SigKES (SimpleKES d t) → String Source #

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

Defined in Ouroboros.Consensus.Util.Condense

Methods

condense ∷ SigKES (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

condense ∷ SigKES (SumKES h d) → String Source #

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

Defined in Ouroboros.Consensus.Util.Condense

Methods

condense ∷ VerKeyKES (SingleKES d) → String Source #

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

Defined in Ouroboros.Consensus.Util.Condense

Methods

condense ∷ VerKeyKES (SumKES h d) → String Source #

Condense (Handle h) Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.FS.API.Types

Methods

condenseHandle h → 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 CondenseConstraints xs ⇒ Condense (TxId (GenTx (HardForkBlock xs))) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Condense

All CondenseConstraints xs ⇒ Condense (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 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

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

Defined in Ouroboros.Consensus.Util.Condense

Methods

condense ∷ (a, b) → 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 (Hash h a) Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condense ∷ Hash h a → String Source #

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

Defined in Ouroboros.Consensus.Util.Condense

Methods

condense ∷ SignedDSIGN v a → String Source #

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

Defined in Ouroboros.Consensus.Util.Condense

Methods

condense ∷ SignedKES v a → String Source #

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

Defined in Ouroboros.Consensus.Protocol.BFT

Methods

condenseBftFields c toSign → String Source #

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

Defined in Ouroboros.Consensus.Ledger.Dual

Methods

condenseDualBlock m a → String Source #

Condense (OneEraHash xs) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.AcrossEras

Methods

condenseOneEraHash xs → String Source #

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

Defined in Ouroboros.Consensus.Protocol.PBFT

Methods

condensePBftFields c toSign → 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 [] Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

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

Condense1 Set Source # 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

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

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

Lift the standard condense function through the type constructor