Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockSyncReactor ¶
BlockSyncReactor is an autogenerated mock type for the BlockSyncReactor type
func (*BlockSyncReactor) GetMaxPeerBlockHeight ¶
func (_m *BlockSyncReactor) GetMaxPeerBlockHeight() int64
GetMaxPeerBlockHeight provides a mock function with given fields:
func (*BlockSyncReactor) GetRemainingSyncTime ¶
func (_m *BlockSyncReactor) GetRemainingSyncTime() time.Duration
GetRemainingSyncTime provides a mock function with given fields:
func (*BlockSyncReactor) GetTotalSyncedTime ¶
func (_m *BlockSyncReactor) GetTotalSyncedTime() time.Duration
GetTotalSyncedTime provides a mock function with given fields:
func (*BlockSyncReactor) SwitchToBlockSync ¶
func (_m *BlockSyncReactor) SwitchToBlockSync(_a0 state.State) error
SwitchToBlockSync provides a mock function with given fields: _a0
type ConsSyncReactor ¶
ConsSyncReactor is an autogenerated mock type for the ConsSyncReactor type
func NewConsSyncReactor ¶
func NewConsSyncReactor(t mockConstructorTestingTNewConsSyncReactor) *ConsSyncReactor
NewConsSyncReactor creates a new instance of ConsSyncReactor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ConsSyncReactor) SetBlockSyncingMetrics ¶
func (_m *ConsSyncReactor) SetBlockSyncingMetrics(_a0 float64)
SetBlockSyncingMetrics provides a mock function with given fields: _a0
func (*ConsSyncReactor) SetStateSyncingMetrics ¶
func (_m *ConsSyncReactor) SetStateSyncingMetrics(_a0 float64)
SetStateSyncingMetrics provides a mock function with given fields: _a0
func (*ConsSyncReactor) SwitchToConsensus ¶
func (_m *ConsSyncReactor) SwitchToConsensus(_a0 state.State, _a1 bool)
SwitchToConsensus provides a mock function with given fields: _a0, _a1