Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ShortTermGas is short-window settings for gas power ShortTermGas = 0 // LongTermGas is long-window settings for gas power LongTermGas = 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lamport ¶
type Lamport uint32
Lamport numeration.
func BytesToLamport ¶
BytesToLamport converts bytes to block index.
type StakerID ¶
type StakerID uint32
StakerID numeration.
func BytesToStakerID ¶
BytesToStakerID converts bytes to staker index.
Click to show internal directories.
Click to hide internal directories.