indices

package
v0.14.0-fixing-sealing... Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2021 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ProtocolConsensusLeaderSelection is the indices for consensus leader selection
	ProtocolConsensusLeaderSelection = []uint32{0, 1, 1}
	// ProtocolVerificationChunkAssignment is the indices for verification nodes determines chunk assignment
	ProtocolVerificationChunkAssignment = []uint32{0, 2, 0}
)

Functions

func ExecutionChunk

func ExecutionChunk(chunkIndex uint32) []uint32

ExecutionChunk returns the indices for i-th chunk

func ProtocolCollectorClusterLeaderSelection

func ProtocolCollectorClusterLeaderSelection(clusterIndex uint) []uint32

ProtocolCollectorClusterLeaderSelection returns the indices for the leader selection for the i-th collector cluster

Types

This section is empty.

Jump to

Keyboard shortcuts

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