beacon

package
v1.21.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 19 Imported by: 1

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
dkg
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].

Jump to

Keyboard shortcuts

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