Documentation ¶
Overview ¶
warptest exposes common functionality for testing the warp package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockClient ¶
var EmptyBlockClient BlockClient = MakeBlockClient()
EmptyBlockClient returns an error if a block is requested
func MakeBlockClient ¶
func MakeBlockClient(blkIDs ...ids.ID) BlockClient
MakeBlockClient returns a new BlockClient that returns the provided blocks. If a block is requested that isn't part of the provided blocks, an error is returned.
func (BlockClient) GetAcceptedBlock ¶
Click to show internal directories.
Click to hide internal directories.