Documentation
¶
Index ¶
- type Node
- func (n *Node) AssertEqualChainsAtLeastAtSlot(index slot.Index, other *Node)
- func (n *Node) EngineTestFramework() *engine.TestFramework
- func (n *Node) HookLogging(includeMainEngine bool)
- func (n *Node) IssueActivity(duration time.Duration, wg *sync.WaitGroup)
- func (n *Node) IssueBlock(alias string, parents ...models.BlockID) *models.Block
- func (n *Node) IssueBlockAtSlot(alias string, slotIndex slot.Index, parents ...models.BlockID) *models.Block
- func (n *Node) ValidateAcceptedBlocks(expectedAcceptedBlocks map[models.BlockID]bool)
- func (n *Node) Wait()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
Testing *testing.T
Name string
BaseDir *utils.Directory
KeyPair ed25519.KeyPair
Endpoint *network.MockedEndpoint
Workers *workerpool.Group
Protocol *protocol.Protocol
// contains filtered or unexported fields
}
func NewNodeFromDisk ¶
func (*Node) AssertEqualChainsAtLeastAtSlot ¶
func (*Node) EngineTestFramework ¶
func (n *Node) EngineTestFramework() *engine.TestFramework
func (*Node) HookLogging ¶
func (*Node) IssueActivity ¶
func (*Node) IssueBlock ¶
func (*Node) IssueBlockAtSlot ¶
func (*Node) ValidateAcceptedBlocks ¶
Click to show internal directories.
Click to hide internal directories.