Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MMR ¶
MMR is an autogenerated mock type for the MMR type
func NewMMR ¶
NewMMR creates a new instance of MMR. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MMR) GenerateProof ¶
func (_m *MMR) GenerateProof(leafIndex uint64, blockHash types.Hash) (types.GenerateMMRProofResponse, error)
GenerateProof provides a mock function with given fields: leafIndex, blockHash
func (*MMR) GenerateProofLatest ¶
func (_m *MMR) GenerateProofLatest(leafIndex uint64) (types.GenerateMMRProofResponse, error)
GenerateProofLatest provides a mock function with given fields: leafIndex
Click to show internal directories.
Click to hide internal directories.