Module hotshot_task_impls::vote_collection
source · Expand description
Generic task for collecting votes
Structs§
- Info needed to create a vote accumulator task
- Task state for collecting votes of one type and emitting a certificate
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§
- Alias for DA vote accumulator
- Alias for Quorum vote accumulator
- Alias for Quorum vote accumulator
- Alias for Timeout vote accumulator
- Alias for upgrade vote accumulator
- Alias for View Sync Commit vote accumulator
- Alias for View Sync Finalize vote accumulator
- Alias for View Sync Pre Commit vote accumulator
- Alias for a map of Vote Collectors