Documentation ¶
Overview ¶
Package drand is a distributed randomness beacon. It provides periodically an unpredictable, bias-resistant, and verifiable random value.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SetVersionPrinter sync.Once
Functions ¶
func NukeDKGStateCmd ¶
func NukeDKGStateCmd(c *cli.Context) error
Types ¶
type ProposalFile ¶
type ProposalFile struct { Joining []*drand.Participant Leaving []*drand.Participant Remaining []*drand.Participant }
func ParseProposalFile ¶
func ParseProposalFile(filepath string) (*ProposalFile, error)
func (*ProposalFile) TOML ¶
func (p *ProposalFile) TOML() ProposalFileFormat
type ProposalFileFormat ¶
type ProposalFileFormat struct { Joining []*TomlParticipant Leaving []*TomlParticipant Remaining []*TomlParticipant }
func (*ProposalFileFormat) Joiners ¶
func (p *ProposalFileFormat) Joiners() []*drand.Participant
func (*ProposalFileFormat) Leavers ¶
func (p *ProposalFileFormat) Leavers() []*drand.Participant
func (*ProposalFileFormat) Remainers ¶
func (p *ProposalFileFormat) Remainers() []*drand.Participant
type TomlParticipant ¶
func (*TomlParticipant) Into ¶
func (t *TomlParticipant) Into() *drand.Participant
Click to show internal directories.
Click to hide internal directories.