Module hotshot_task_impls::vote_collection

source ·
Expand description

Generic task for collecting votes

Structs§

Traits§

  • Describes the functions a vote must implement for it to be aggregatable by the generic vote collection task
  • Trait for types which will handle a vote event.

Functions§

  • Generic function for spawning a vote task. Returns the event stream id of the spawned task if created
  • A helper function that handles a vote regardless whether it’s the first vote in the view or not.

Type Aliases§