seed

package
v0.15.3-patch.5 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2021 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromParentSignature

func FromParentSignature(indices []uint32, combinedSig crypto.Signature) ([]byte, error)

FromParentSignature reads the raw random seed from a combined signature. the combinedSig must be from a QuorumCertificate. The indices can be used to generate task-specific seeds from the same signature.

func FromRandomSource

func FromRandomSource(indices []uint32, sor []byte) ([]byte, error)

FromRandomSource generates a task-specific seed (task is determined by indices).

Types

This section is empty.

Jump to

Keyboard shortcuts

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