cardano-slotting-0.1.0.2: Key slotting types for cardano libraries
Safe Haskell None
Language Haskell2010

Cardano.Slotting.Block

Synopsis

Documentation

newtype BlockNo Source #

The 0-based index of the block in the blockchain. BlockNo is <= SlotNo and is only equal at slot N if there is a block for every slot where N <= SlotNo.

Constructors

BlockNo

Instances

Instances details
Bounded BlockNo Source #
Instance details

Defined in Cardano.Slotting.Block

Enum BlockNo Source #
Instance details

Defined in Cardano.Slotting.Block

Eq BlockNo Source #
Instance details

Defined in Cardano.Slotting.Block

Num BlockNo Source #
Instance details

Defined in Cardano.Slotting.Block

Ord BlockNo Source #
Instance details

Defined in Cardano.Slotting.Block

Show BlockNo Source #
Instance details

Defined in Cardano.Slotting.Block

Generic BlockNo Source #
Instance details

Defined in Cardano.Slotting.Block

ToCBOR BlockNo Source #
Instance details

Defined in Cardano.Slotting.Block

FromCBOR BlockNo Source #
Instance details

Defined in Cardano.Slotting.Block

NFData BlockNo Source #
Instance details

Defined in Cardano.Slotting.Block

NoThunks BlockNo Source #
Instance details

Defined in Cardano.Slotting.Block

Serialise BlockNo Source #
Instance details

Defined in Cardano.Slotting.Block

type Rep BlockNo Source #
Instance details

Defined in Cardano.Slotting.Block

type Rep BlockNo = D1 (' MetaData "BlockNo" "Cardano.Slotting.Block" "cardano-slotting-0.1.0.2-j5NuF73p5IFfcfvmth6tS" ' True ) ( C1 (' MetaCons "BlockNo" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "unBlockNo") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 Word64 )))