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