Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store interface { InsertTd(data *model.TotalDifficulty) error Insert(data *model.Header) error Delete(from, to int64) (err error) FindTd(hash []byte) (result *model.TotalDifficulty, err error) FindBlockByNumber(blockNumber int64) (result *model.Header, err error) FindBlockByHash(hash []byte) (result *model.Header, err error) FindLatestBlock() (result *model.Header, err error) }
Click to show internal directories.
Click to hide internal directories.