diff --git a/carnot/carnot-vote-aggregation.py b/carnot/carnot-vote-aggregation.py index 8b7cad2..cd12f1e 100644 --- a/carnot/carnot-vote-aggregation.py +++ b/carnot/carnot-vote-aggregation.py @@ -1,5 +1,5 @@ from dataclasses import dataclass -from typing import Union, List, Set, Optional +from typing import Union, List, Set, Optional, Type from abc import ABC, abstractmethod Id = bytes @@ -82,4 +82,10 @@ class TimeoutQc: high_qc: Qc qc_views: List[View] sender_ids: Set[Id] - sender: Id \ No newline at end of file + sender: Id + +class Timeout: + view: View + high_qc: Qc + sender: Id + timeout_qc: Type[TimeoutQc] \ No newline at end of file