Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsSyncReactor ¶
ConsSyncReactor is an autogenerated mock type for the ConsSyncReactor type
func (*ConsSyncReactor) SetFastSyncingMetrics ¶
func (_m *ConsSyncReactor) SetFastSyncingMetrics(_a0 float64)
SetFastSyncingMetrics 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
type FastSyncReactor ¶
FastSyncReactor is an autogenerated mock type for the FastSyncReactor type
func (*FastSyncReactor) GetMaxPeerBlockHeight ¶
func (_m *FastSyncReactor) GetMaxPeerBlockHeight() int64
GetMaxPeerBlockHeight provides a mock function with given fields:
func (*FastSyncReactor) GetRemainingSyncTime ¶
func (_m *FastSyncReactor) GetRemainingSyncTime() time.Duration
GetRemainingSyncTime provides a mock function with given fields:
func (*FastSyncReactor) GetTotalSyncedTime ¶
func (_m *FastSyncReactor) GetTotalSyncedTime() time.Duration
GetTotalSyncedTime provides a mock function with given fields:
func (*FastSyncReactor) SwitchToFastSync ¶
func (_m *FastSyncReactor) SwitchToFastSync(_a0 state.State) error
SwitchToFastSync provides a mock function with given fields: _a0
Click to show internal directories.
Click to hide internal directories.