Safe Haskell | None |
---|---|
Language | Haskell2010 |
Cardano.Slotting.Block
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
Bounded BlockNo Source # | |
Enum BlockNo Source # | |
Defined in Cardano.Slotting.Block Methods 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 # |
|
Eq BlockNo Source # | |
Num BlockNo Source # | |
Defined in Cardano.Slotting.Block |
|
Ord BlockNo Source # | |
Defined in Cardano.Slotting.Block |
|
Show BlockNo Source # | |
Generic BlockNo Source # | |
ToCBOR BlockNo Source # | |
FromCBOR BlockNo Source # | |
NFData BlockNo Source # | |
Defined in Cardano.Slotting.Block |
|
NoThunks BlockNo Source # | |
Serialise BlockNo Source # | |
type Rep BlockNo Source # | |
Defined in Cardano.Slotting.Block |