mirror of
https://github.com/logos-blockchain/logos-blockchain-specs.git
synced 2026-01-26 08:53:06 +00:00
Data classes
This commit is contained in:
parent
f5d27cd5ca
commit
84e85c7edf
@ -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
|
||||
sender: Id
|
||||
|
||||
class Timeout:
|
||||
view: View
|
||||
high_qc: Qc
|
||||
sender: Id
|
||||
timeout_qc: Type[TimeoutQc]
|
||||
Loading…
x
Reference in New Issue
Block a user