UNPKG

chia-agent

Version:
26 lines (25 loc) 963 B
import { Optional } from "../../chia/types/_python_types_"; import { uint64, uint8 } from "../wheel/python/sized_ints"; import { bytes32 } from "../wheel/python/sized_bytes"; import { VDFInfo, VDFProof } from "./vdf"; export type ChallengeChainSubSlot = { challenge_chain_end_of_slot_vdf: VDFInfo; infused_challenge_chain_sub_slot_hash: Optional<bytes32>; subepoch_summary_hash: Optional<bytes32>; new_sub_slot_iters: Optional<uint64>; new_difficulty: Optional<uint64>; }; export type InfusedChallengeChainSubSlot = { infused_challenge_chain_end_of_slot_vdf: VDFInfo; }; export type RewardChainSubSlot = { end_of_slot_vdf: VDFInfo; challenge_chain_sub_slot_hash: bytes32; infused_challenge_chain_sub_slot_hash: Optional<bytes32>; deficit: uint8; }; export type SubSlotProofs = { challenge_chain_slot_proof: VDFProof; infused_challenge_chain_slot_proof: Optional<VDFProof>; reward_chain_slot_proof: VDFProof; };