generated from dopt-python/py311-cython
additional types
This commit is contained in:
parent
6b7cfe7377
commit
d3a808c0fe
12
src/dopt_pollublock_blockchain/types.py
Normal file
12
src/dopt_pollublock_blockchain/types.py
Normal file
@ -0,0 +1,12 @@
|
||||
from typing import TypeAlias, TypedDict
|
||||
|
||||
BlockIndex: TypeAlias = int
|
||||
|
||||
|
||||
class SerializedPyBlock(TypedDict):
|
||||
index: int
|
||||
timestamp: int
|
||||
nonce: int
|
||||
previous_hash: str
|
||||
hash: str
|
||||
data: str
|
||||
Loading…
x
Reference in New Issue
Block a user