Documentation ¶
Index ¶
Constants ¶
View Source
const ProtocolName = "beacon"
ProtocolName denotes the name of the protocol defined by this package.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
func Initialize( ctx context.Context, beaconChain beaconchain.Interface, netProvider net.Provider, persistence persistence.ProtectedHandle, scheduler *generator.Scheduler, ) 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 |
---|---|
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. |
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]. |
Click to show internal directories.
Click to hide internal directories.