Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockchainStatus ¶
type BlockchainStatus uint32
const ( UnknownChain BlockchainStatus = iota Created Preferred Validating Syncing )
List of possible blockchain status values: - UnknownChain This node is not aware of the existence of this blockchain - Created This node is not currently validating this blockchain - Preferred This blockchain is currently in the preferred tip - Validating This node is currently validating this blockchain - Syncing This node is syncing up to the preferred block height
func (BlockchainStatus) MarshalJSON ¶
func (s BlockchainStatus) MarshalJSON() ([]byte, error)
func (BlockchainStatus) String ¶
func (s BlockchainStatus) String() string
func (*BlockchainStatus) UnmarshalJSON ¶
func (s *BlockchainStatus) UnmarshalJSON(b []byte) error
func (BlockchainStatus) Verify ¶
func (s BlockchainStatus) Verify() error
Verify that this is a valid status.
type Status ¶
type Status uint32
const ( Unknown Status = 0 Committed Status = 4 Aborted Status = 5 Processing Status = 6 Dropped Status = 8 )
List of possible status values: - Unknown The transaction is not known - Committed The transaction was proposed and committed - Aborted The transaction was proposed and aborted - Processing The transaction was proposed and is currently in the preferred chain - Dropped The transaction was dropped due to failing verification