Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultDataDir ¶
func DefaultDataDir() string
func NewPeriodTimeIndex ¶ added in v2.11.3
func NewPeriodTimeIndex(genesisTime *time.Time) interfaces.TimeIndex
func NewSbpStatReader ¶ added in v2.11.3
func NewSbpStatReader(ctrl *gomock.Controller) *core.MockSBPStatReader
func NewVerifier ¶ added in v2.11.3
func NewVerifier() interfaces.ConsensusVerifier
Types ¶
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.