status

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2026 License: BSD-3-Clause Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

func (Status) MarshalJSON

func (s Status) MarshalJSON() ([]byte, error)

func (Status) String

func (s Status) String() string

func (*Status) UnmarshalJSON

func (s *Status) UnmarshalJSON(b []byte) error

func (Status) Verify

func (s Status) Verify() error

Verify that this is a valid status.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL