Documentation ¶
Index ¶
- type Engine
- func (_m *Engine) Accepted(validatorID ids.ShortID, requestID uint32, containerIDs []ids.ID) error
- func (_m *Engine) AcceptedFrontier(validatorID ids.ShortID, requestID uint32, containerIDs []ids.ID) error
- func (_m *Engine) Chits(validatorID ids.ShortID, requestID uint32, containerIDs []ids.ID) error
- func (_m *Engine) Connected(validatorID ids.ShortID) error
- func (_m *Engine) Context() *snow.Context
- func (_m *Engine) Disconnected(validatorID ids.ShortID) error
- func (_m *Engine) Get(validatorID ids.ShortID, requestID uint32, containerID ids.ID) error
- func (_m *Engine) GetAccepted(validatorID ids.ShortID, requestID uint32, containerIDs []ids.ID) error
- func (_m *Engine) GetAcceptedFailed(validatorID ids.ShortID, requestID uint32) error
- func (_m *Engine) GetAcceptedFrontier(validatorID ids.ShortID, requestID uint32) error
- func (_m *Engine) GetAcceptedFrontierFailed(validatorID ids.ShortID, requestID uint32) error
- func (_m *Engine) GetAncestors(validatorID ids.ShortID, requestID uint32, containerID ids.ID) error
- func (_m *Engine) GetAncestorsFailed(validatorID ids.ShortID, requestID uint32) error
- func (_m *Engine) GetBlock(blkID ids.ID) (consensussnowman.Block, error)
- func (_m *Engine) GetFailed(validatorID ids.ShortID, requestID uint32) error
- func (_m *Engine) GetVM() common.VM
- func (_m *Engine) Gossip() error
- func (_m *Engine) Halt()
- func (_m *Engine) HealthCheck() (interface{}, error)
- func (_m *Engine) Initialize(_a0 snowman.Config) error
- func (_m *Engine) IsBootstrapped() bool
- func (_m *Engine) MultiPut(validatorID ids.ShortID, requestID uint32, containers [][]byte) error
- func (_m *Engine) Notify(_a0 common.Message) error
- func (_m *Engine) PullQuery(validatorID ids.ShortID, requestID uint32, containerID ids.ID) error
- func (_m *Engine) PushQuery(validatorID ids.ShortID, requestID uint32, containerID ids.ID, ...) error
- func (_m *Engine) Put(validatorID ids.ShortID, requestID uint32, containerID ids.ID, ...) error
- func (_m *Engine) QueryFailed(validatorID ids.ShortID, requestID uint32) error
- func (_m *Engine) Shutdown() error
- func (_m *Engine) Startup() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
Engine is an autogenerated mock type for the Engine type
func (*Engine) Accepted ¶
Accepted provides a mock function with given fields: validatorID, requestID, containerIDs
func (*Engine) AcceptedFrontier ¶
func (_m *Engine) AcceptedFrontier(validatorID ids.ShortID, requestID uint32, containerIDs []ids.ID) error
AcceptedFrontier provides a mock function with given fields: validatorID, requestID, containerIDs
func (*Engine) Chits ¶
Chits provides a mock function with given fields: validatorID, requestID, containerIDs
func (*Engine) Disconnected ¶
Disconnected provides a mock function with given fields: validatorID
func (*Engine) Get ¶
Get provides a mock function with given fields: validatorID, requestID, containerID
func (*Engine) GetAccepted ¶
func (_m *Engine) GetAccepted(validatorID ids.ShortID, requestID uint32, containerIDs []ids.ID) error
GetAccepted provides a mock function with given fields: validatorID, requestID, containerIDs
func (*Engine) GetAcceptedFailed ¶
GetAcceptedFailed provides a mock function with given fields: validatorID, requestID
func (*Engine) GetAcceptedFrontier ¶
GetAcceptedFrontier provides a mock function with given fields: validatorID, requestID
func (*Engine) GetAcceptedFrontierFailed ¶
GetAcceptedFrontierFailed provides a mock function with given fields: validatorID, requestID
func (*Engine) GetAncestors ¶
GetAncestors provides a mock function with given fields: validatorID, requestID, containerID
func (*Engine) GetAncestorsFailed ¶
GetAncestorsFailed provides a mock function with given fields: validatorID, requestID
func (*Engine) GetFailed ¶
GetFailed provides a mock function with given fields: validatorID, requestID
func (*Engine) Halt ¶ added in v1.4.0
func (_m *Engine) Halt()
Halt provides a mock function with given fields:
func (*Engine) HealthCheck ¶
HealthCheck provides a mock function with given fields:
func (*Engine) Initialize ¶
Initialize provides a mock function with given fields: _a0
func (*Engine) IsBootstrapped ¶
IsBootstrapped provides a mock function with given fields:
func (*Engine) MultiPut ¶
MultiPut provides a mock function with given fields: validatorID, requestID, containers
func (*Engine) PullQuery ¶
PullQuery provides a mock function with given fields: validatorID, requestID, containerID
func (*Engine) PushQuery ¶
func (_m *Engine) PushQuery(validatorID ids.ShortID, requestID uint32, containerID ids.ID, container []byte) error
PushQuery provides a mock function with given fields: validatorID, requestID, containerID, container
func (*Engine) Put ¶
func (_m *Engine) Put(validatorID ids.ShortID, requestID uint32, containerID ids.ID, container []byte) error
Put provides a mock function with given fields: validatorID, requestID, containerID, container
func (*Engine) QueryFailed ¶
QueryFailed provides a mock function with given fields: validatorID, requestID