Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DRNG ¶
type DRNG struct {
State *state.State // The state of the DRNG.
Events *Event // The events fired on the DRNG.
}
DRNG holds the state and events of a drng instance.
type Event ¶
type Event struct {
// Collective Beacon is triggered each time we receive a new CollectiveBeacon message.
CollectiveBeacon *events.Event
// Randomness is triggered each time we receive a new and valid CollectiveBeacon message.
Randomness *events.Event
}
Event holds the different events triggered by a DRNG instance.
Click to show internal directories.
Click to hide internal directories.