eligibility

package
v0.1.8-c Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FixedRolacle

type FixedRolacle struct {
	// contains filtered or unexported fields
}

func New

func New() *FixedRolacle

func (*FixedRolacle) Eligible

func (fo *FixedRolacle) Eligible(layer types.LayerID, round int32, committeeSize int, id types.NodeId, sig []byte) (bool, error)

func (*FixedRolacle) Export

func (fo *FixedRolacle) Export(id uint32, committeeSize int) map[string]struct{}

func (*FixedRolacle) IsIdentityActiveOnConsensusView

func (fo *FixedRolacle) IsIdentityActiveOnConsensusView(edId string, layer types.LayerID) (bool, error)

func (*FixedRolacle) Proof

func (fo *FixedRolacle) Proof(layer types.LayerID, round int32) ([]byte, error)

func (*FixedRolacle) Register

func (fo *FixedRolacle) Register(isHonest bool, client string)

func (*FixedRolacle) Unregister

func (fo *FixedRolacle) Unregister(isHonest bool, client string)

Jump to

Keyboard shortcuts

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