mock

package
v0.0.0-...-a5ce5ae Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockValidator

type MockValidator struct {
}

func (*MockValidator) ApplyFromTip

func (m *MockValidator) ApplyFromTip(_ context.Context, _ storage.BlockID) error

func (*MockValidator) IsBlockValid

func (m *MockValidator) IsBlockValid(_ context.Context, _ *storage.Block, _ bool) error

func (*MockValidator) IsTxValid

func (m *MockValidator) IsTxValid(_ context.Context, _ *tx.Tx) error

Jump to

Keyboard shortcuts

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