mocks

package
v0.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2018 License: LGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	mock.Mock
}

Store is an autogenerated mock type for the Store type

func (*Store) Delete

func (_m *Store) Delete(from int64, to int64) error

Delete provides a mock function with given fields: from, to

func (*Store) FindBlockByHash

func (_m *Store) FindBlockByHash(hash []byte) (*model.Header, error)

FindBlockByHash provides a mock function with given fields: hash

func (*Store) FindBlockByNumber

func (_m *Store) FindBlockByNumber(blockNumber int64) (*model.Header, error)

FindBlockByNumber provides a mock function with given fields: blockNumber

func (*Store) FindLatestBlock

func (_m *Store) FindLatestBlock() (*model.Header, error)

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

func (*Store) Insert

func (_m *Store) Insert(data *model.Header) error

Insert provides a mock function with given fields: data

func (*Store) InsertTd

func (_m *Store) InsertTd(data *model.TotalDifficulty) error

InsertTd provides a mock function with given fields: data

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL