# Functions
BlockValidatorOption sets block validator.
ClockOption overrides the default clock.
NewBlockchain creates a new blockchain and DB instance.
NewPubSub creates new pubSub struct with buffersize for pendingBlock buffer channel.
Productivity returns the map of the number of blocks produced per delegate in given epoch.
No description provided by the author
# Variables
DefaultConfig is the default config of chain.
ErrActionNonce is the error when the nonce of the action is wrong.
ErrBalance indicates the error of balance.
ErrConfig config error.
ErrInsufficientGas indicates the error of insufficient gas value for data storage.
ErrInvalidBlock is the error returned when the block is not valid.
ErrInvalidTipHeight is the error returned when the block height is not valid.
ErrVault vault error.
# Interfaces
No description provided by the author
No description provided by the author
BlockCreationSubscriber is an interface which will get notified when a block is created.
No description provided by the author
# Type aliases
No description provided by the author
Option sets blockchain construction parameter.