endOfEpoch

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAndPropagateBlocks

func CreateAndPropagateBlocks(
	t *testing.T,
	nbRounds uint64,
	currentRound uint64,
	currentNonce uint64,
	nodes []*integrationTests.TestProcessorNode,
	idxProposers []int,
) (uint64, uint64)

CreateAndPropagateBlocks -

func GetBlockProposersIndexes

func GetBlockProposersIndexes(
	consensusMap map[uint32][]*integrationTests.TestProcessorNode,
	nodesMap map[uint32][]*integrationTests.TestProcessorNode,
) map[uint32]int

GetBlockProposersIndexes -

func VerifyIfAddedShardHeadersAreWithNewEpoch

func VerifyIfAddedShardHeadersAreWithNewEpoch(
	t *testing.T,
	nodes []*integrationTests.TestProcessorNode,
)

VerifyIfAddedShardHeadersAreWithNewEpoch -

func VerifyThatNodesHaveCorrectEpoch

func VerifyThatNodesHaveCorrectEpoch(
	t *testing.T,
	epoch uint32,
	nodes []*integrationTests.TestProcessorNode,
)

VerifyThatNodesHaveCorrectEpoch -

Types

This section is empty.

Jump to

Keyboard shortcuts

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