Documentation ¶
Index ¶
- type Observer
- func (ob *Observer) Alert()
- func (ob *Observer) DeleteBlockAndTxs(height int64) error
- func (ob *Observer) Fetch(startHeight int64)
- func (ob *Observer) GetCurrentBlockLog() *model.BlockLog
- func (ob *Observer) Prune()
- func (ob *Observer) SaveBlockAndTxs(blockLog *model.BlockLog, txLogs []interface{}) error
- func (ob *Observer) Start()
- func (ob *Observer) UpdateConfirmedNum(height int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Observer ¶
func NewObserver ¶
func (*Observer) DeleteBlockAndTxs ¶
func (*Observer) GetCurrentBlockLog ¶
func (*Observer) SaveBlockAndTxs ¶
func (*Observer) UpdateConfirmedNum ¶
Click to show internal directories.
Click to hide internal directories.