Documentation
¶
Overview ¶
Code generated by mockery v1.0.0
Index ¶
- type Store
- func (_m *Store) Delete(from int64, to int64) error
- func (_m *Store) FindBlockByHash(hash []byte) (*model.Header, error)
- func (_m *Store) FindBlockByNumber(blockNumber int64) (*model.Header, error)
- func (_m *Store) FindLatestBlock() (*model.Header, error)
- func (_m *Store) FindTd(hash []byte) (*model.TotalDifficulty, error)
- func (_m *Store) Insert(data *model.Header) error
- func (_m *Store) InsertTd(data *model.TotalDifficulty) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
Store is an autogenerated mock type for the Store type
func (*Store) FindBlockByHash ¶
FindBlockByHash provides a mock function with given fields: hash
func (*Store) FindBlockByNumber ¶
FindBlockByNumber provides a mock function with given fields: blockNumber
func (*Store) FindLatestBlock ¶
FindLatestBlock provides a mock function with given fields:
func (*Store) FindTd ¶
func (_m *Store) FindTd(hash []byte) (*model.TotalDifficulty, error)
FindTd provides a mock function with given fields: hash
Click to show internal directories.
Click to hide internal directories.