Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
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.
Instances
FromJSON BlockNo Source # | |
ToJSON BlockNo Source # | |
Bounded BlockNo Source # | |
Enum BlockNo Source # | |
Defined in Cardano.Slotting.Block succ ∷ BlockNo → BlockNo Source # pred ∷ BlockNo → BlockNo Source # toEnum ∷ Int → BlockNo Source # fromEnum ∷ BlockNo → Int Source # enumFrom ∷ BlockNo → [BlockNo] Source # enumFromThen ∷ BlockNo → BlockNo → [BlockNo] Source # enumFromTo ∷ BlockNo → BlockNo → [BlockNo] Source # enumFromThenTo ∷ BlockNo → BlockNo → BlockNo → [BlockNo] Source # | |
Generic BlockNo Source # | |
Num BlockNo Source # | |
Defined in Cardano.Slotting.Block | |
Show BlockNo Source # | |
FromCBOR BlockNo Source # | |
ToCBOR BlockNo Source # | |
NFData BlockNo Source # | |
Defined in Cardano.Slotting.Block | |
Eq BlockNo Source # | |
Ord BlockNo Source # | |
Defined in Cardano.Slotting.Block | |
NoThunks BlockNo Source # | |
Serialise BlockNo Source # | |
type Rep BlockNo Source # | |
Defined in Cardano.Slotting.Block |