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) 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)
Click to show internal directories.
Click to hide internal directories.