test_tools

package
v2.10.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultDataDir

func DefaultDataDir() string

Types

type MockConsensus

type MockConsensus struct{}

func (*MockConsensus) SBPReader

func (c *MockConsensus) SBPReader() core.SBPStatReader

func (*MockConsensus) VerifyABsProducer

func (c *MockConsensus) VerifyABsProducer(abs map[types.Gid][]*ledger.AccountBlock) ([]*ledger.AccountBlock, error)

func (*MockConsensus) VerifyAccountProducer

func (c *MockConsensus) VerifyAccountProducer(block *ledger.AccountBlock) (bool, error)

type MockCssVerifier

type MockCssVerifier struct{}

func (*MockCssVerifier) VerifyABsProducer

func (c *MockCssVerifier) VerifyABsProducer(abs map[types.Gid][]*ledger.AccountBlock) ([]*ledger.AccountBlock, error)

func (*MockCssVerifier) VerifyAccountProducer

func (c *MockCssVerifier) VerifyAccountProducer(block *ledger.AccountBlock) (bool, error)

func (*MockCssVerifier) VerifySnapshotProducer

func (c *MockCssVerifier) VerifySnapshotProducer(block *ledger.SnapshotBlock) (bool, error)

Jump to

Keyboard shortcuts

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