Documentation ¶
Index ¶
- func NewDefaultTestFramework(t *testing.T, workers *workerpool.Group, memPool mempool.MemPool, ...) *mesh.TestFramework
- type TestMesh
- func (t *TestMesh) BlockDAG() blockdag.BlockDAG
- func (t *TestMesh) Booker() booker.Booker
- func (t *TestMesh) Events() *mesh.Events
- func (t *TestMesh) EvictionState() *eviction.State
- func (t *TestMesh) MemPool() mempool.MemPool
- func (t *TestMesh) SlotTimeProvider() *slot.TimeProvider
- func (t *TestMesh) Validators() *sybilprotection.WeightedSet
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 ¶
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) EvictionState ¶
func (*TestMesh) SlotTimeProvider ¶
func (t *TestMesh) SlotTimeProvider() *slot.TimeProvider
func (*TestMesh) Validators ¶
func (t *TestMesh) Validators() *sybilprotection.WeightedSet
Click to show internal directories.
Click to hide internal directories.