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
}
Click to show internal directories.
Click to hide internal directories.