beacon

package
v1.1.0-rc Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize(
	ctx context.Context,
	stakingID string,
	chainHandle chain.Handle,
	netProvider net.Provider,
	persistence persistence.Handle,
) error

Initialize kicks off the random beacon by initializing internal state, ensuring preconditions like staking are met, and then kicking off the internal random beacon implementation. Returns an error if this failed, otherwise enters a blocked loop.

Types

This section is empty.

Directories

Path Synopsis
dkg
event
Package event contains data structures that are attached to events in the relay.
Package event contains data structures that are attached to events in the relay.
gjkr
Package gjkr contains code that implements Distributed Key Generation protocol described in [GJKR 99].
Package gjkr contains code that implements Distributed Key Generation protocol described in [GJKR 99].
groupselection
Package groupselection implements the random beacon group selection protocol - an interactive, ticket-based method of selecting a candidate group from the set of all stakers given a pseudorandom seed value.
Package groupselection implements the random beacon group selection protocol - an interactive, ticket-based method of selecting a candidate group from the set of all stakers given a pseudorandom seed value.
thresholdsignature/gen/pb
Package pb is a generated protocol buffer package.
Package pb is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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