enginetest

package
v1.13.5-lux Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2025 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SenderStub

type SenderStub struct{}

SenderStub is a stub implementation of the consensus.Sender interface for testing

func (*SenderStub) SendChits

func (s *SenderStub) SendChits(ctx context.Context, nodeID ids.NodeID, requestID uint32, containerIDs []ids.ID) error

func (*SenderStub) SendGet

func (s *SenderStub) SendGet(ctx context.Context, nodeID ids.NodeID, requestID uint32, containerID ids.ID) error

func (*SenderStub) SendGetAncestors

func (s *SenderStub) SendGetAncestors(ctx context.Context, nodeID ids.NodeID, requestID uint32, containerID ids.ID) error

func (*SenderStub) SendGossip

func (s *SenderStub) SendGossip(ctx context.Context, container []byte) error

func (*SenderStub) SendPullQuery

func (s *SenderStub) SendPullQuery(ctx context.Context, nodeIDs []ids.NodeID, requestID uint32, containerID ids.ID) error

func (*SenderStub) SendPushQuery

func (s *SenderStub) SendPushQuery(ctx context.Context, nodeIDs []ids.NodeID, requestID uint32, container []byte) error

func (*SenderStub) SendPut

func (s *SenderStub) SendPut(ctx context.Context, nodeID ids.NodeID, requestID uint32, container []byte) error

Jump to

Keyboard shortcuts

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