Documentation ¶
Index ¶
- func GenerateBlocksWithProofsForTest(blocks []interfaces.Block, nodes []*network.Node) (*mocks.InMemoryBlockchain, error)
- func Net(h *harness) *network.TestNetwork
- func NewStartedHarness(ctx context.Context, t *testing.T, logsToConsole bool, ...) *harness
- func NewStartedHarnessDontPauseOnRequestNewBlock(ctx context.Context, t *testing.T, logsToConsole bool, ...) *harness
- func NewStartedHarnessWithFailingBlockProposalValidations(ctx context.Context, t *testing.T, logsToConsole bool) *harness
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateBlocksWithProofsForTest ¶ added in v0.2.0
func GenerateBlocksWithProofsForTest(blocks []interfaces.Block, nodes []*network.Node) (*mocks.InMemoryBlockchain, error)
func Net ¶ added in v0.2.0
func Net(h *harness) *network.TestNetwork
This might not be a good idea but it is needed outside this package
func NewStartedHarness ¶ added in v0.2.0
func NewStartedHarnessDontPauseOnRequestNewBlock ¶ added in v0.2.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.