chia-blockchain/chia/types/end_of_slot_bundle.py

20 lines
524 B
Python

from dataclasses import dataclass
from typing import Optional
from chia.types.blockchain_format.slots import (
ChallengeChainSubSlot,
InfusedChallengeChainSubSlot,
RewardChainSubSlot,
SubSlotProofs,
)
from chia.util.streamable import Streamable, streamable
@dataclass(frozen=True)
@streamable
class EndOfSubSlotBundle(Streamable):
challenge_chain: ChallengeChainSubSlot
infused_challenge_chain: Optional[InfusedChallengeChainSubSlot]
reward_chain: RewardChainSubSlot
proofs: SubSlotProofs