consensus_service

package
v1.0.0-alpha2 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsensusService

type ConsensusService interface {
	// GetNextBlockVotingInformation returns the voting status of validators for the next block.
	//
	// Output voting information is sorted descending by voting power.
	GetNextBlockVotingInformation(lightValidators enginetypes.LightValidators) (nextBlockVotingInfo *enginetypes.NextBlockVotingInformation, err error)

	// Shutdown must be called when the service is no longer needed.
	Shutdown() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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