Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Height ¶
type Height uint32
func HeightFromBytesLE ¶
HeightFromBytesLE creates a Height from a byte slice in little-endian format.
func (Height) SafeDecrease ¶
SafeDecrease returns the result of subtracting other from h, but it returns 0 if the result would be negative.
func (Height) SafeIncrease ¶
SafeIncrease returns a new Height that is the result of adding count to h.
type Round ¶
type Round int16
func RoundFromBytesLE ¶
RoundFromBytesLE creates a Round from a byte slice in little-endian format.
func (Round) SafeDecrease ¶
SafeDecrease returns the result of subtracting other from h, but it returns 0 if the result would be negative.
func (Round) SafeIncrease ¶
SafeIncrease returns a new Round that is the result of adding count to h.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package account provides functionality for managing account information.
|
Package account provides functionality for managing account information. |
|
Package validator provides functionality for managing validator information.
|
Package validator provides functionality for managing validator information. |
Click to show internal directories.
Click to hide internal directories.