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