testmesh

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: Apache-2.0, BSD-2-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultTestFramework

func NewDefaultTestFramework(t *testing.T, workers *workerpool.Group, memPool mempool.MemPool, slotTimeProvider *slot.TimeProvider, optsBooker ...options.Option[markerbooker.Booker]) *mesh.TestFramework

Types

type TestMesh

type TestMesh struct {
	module.Module
	// contains filtered or unexported fields
}

func NewTestMesh

func NewTestMesh(t *testing.T, workers *workerpool.Group, slotTimeProvider *slot.TimeProvider, memPool mempool.MemPool, validators *sybilprotection.WeightedSet, optsBooker ...options.Option[markerbooker.Booker]) *TestMesh

func (*TestMesh) BlockDAG

func (t *TestMesh) BlockDAG() blockdag.BlockDAG

func (*TestMesh) Booker

func (t *TestMesh) Booker() booker.Booker

func (*TestMesh) Events

func (t *TestMesh) Events() *mesh.Events

func (*TestMesh) EvictionState

func (t *TestMesh) EvictionState() *eviction.State

func (*TestMesh) MemPool

func (t *TestMesh) MemPool() mempool.MemPool

func (*TestMesh) SlotTimeProvider

func (t *TestMesh) SlotTimeProvider() *slot.TimeProvider

func (*TestMesh) Validators

func (t *TestMesh) Validators() *sybilprotection.WeightedSet

Jump to

Keyboard shortcuts

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