Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInconsistentDB = errors.New("inconsistent db status") ErrOutputType = errors.New("error output type") )
Functions ¶
This section is empty.
Types ¶
type ChainKeeper ¶
type ChainKeeper struct {
// contains filtered or unexported fields
}
func NewChainKeeper ¶
func NewChainKeeper(db *gorm.DB, cfg *config.Config) *ChainKeeper
func (*ChainKeeper) AttachBlock ¶
func (c *ChainKeeper) AttachBlock(block *types.Block, txStatus *bc.TransactionStatus) error
func (*ChainKeeper) DetachBlock ¶
func (c *ChainKeeper) DetachBlock(block *types.Block, txStatus *bc.TransactionStatus) error
func (*ChainKeeper) Run ¶
func (c *ChainKeeper) Run()
Click to show internal directories.
Click to hide internal directories.