mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-19 14:48:38 +03:00
3b084a165b
* configure isort to add the future annotations import * apply the new isort setting * remove type ignores for new mypy (#13539) https://pypi.org/project/mypy/0.981/ * another
10 lines
260 B
Python
10 lines
260 B
Python
from __future__ import annotations
|
|
|
|
from enum import IntEnum
|
|
|
|
|
|
class MempoolInclusionStatus(IntEnum):
|
|
SUCCESS = 1 # Transaction added to mempool
|
|
PENDING = 2 # Transaction not yet added to mempool
|
|
FAILED = 3 # Transaction was invalid and dropped
|