Documentation ¶
Overview ¶
Package coin implements the coin random source.
It is meant to be used in the main process. The result of the setup phase should be a consensus on this random source.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory(pid uint16, wtkey *tss.WeakThresholdKey) gomel.RandomSourceFactory
NewFactory creates a coin factory
func NewSeededFactory ¶
func NewSeededFactory(nProc, pid uint16, seed int64, shareProviders map[uint16]bool) gomel.RandomSourceFactory
NewSeededFactory creates an unsafe coin factory. Should be used only for testing purposes
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.