mocks

package
v0.8.14 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsSyncReactor

type ConsSyncReactor struct {
	mock.Mock
}

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

type FastSyncReactor struct {
	mock.Mock
}

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

Jump to

Keyboard shortcuts

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