package
1.0.0
Repository: https://github.com/bytom/bystack.git
Documentation: pkg.go.dev

# Functions

NewCheckpoint create a new checkpoint instance.
NewContractViewpoint returns a new empty contract view.
NewUtxoViewpoint returns a new empty unspent transaction output view.

# Constants

Finalized if checkpoint c is justified and there is a sup link c→c′ where c′is a direct child of c.
Growing means that the checkpoint has not ended the current epoch.
Justified if checkpoint is the root, or there exists a super link c′ → c where c′ is justified.
Unjustified means thant the checkpoint has ended the current epoch, but not been justified.

# Structs

BlockStoreState represents the core's db status.
Checkpoint represent the block/hash under consideration for finality for a given epoch.
ContractViewpoint represents a view into the set of registered contract.
UtxoViewpoint represents a view into the set of unspent transaction outputs.
Validator represent the participants of the PoS network Responsible for block generation and verification.

# Interfaces

Store provides storage interface for blockchain data.

# Type aliases

CheckpointStatus represent current status of checkpoint.