UNPKG

chia-agent

Version:
33 lines (32 loc) 1.22 kB
import { bool, Optional } from "../../chia/types/_python_types_"; import { G2Element } from "../chia-bls/lib"; import { uint128, uint32, uint8 } from "../wheel/python/sized_ints"; import { bytes32 } from "../wheel/python/sized_bytes"; import { ProofOfSpace } from "./proof_of_space"; import { VDFInfo } from "./vdf"; export type RewardChainBlockUnfinished = { total_iters: uint128; signage_point_index: uint8; pos_ss_cc_challenge_hash: bytes32; proof_of_space: ProofOfSpace; challenge_chain_sp_vdf: Optional<VDFInfo>; challenge_chain_sp_signature: G2Element; reward_chain_sp_vdf: Optional<VDFInfo>; reward_chain_sp_signature: G2Element; }; export type RewardChainBlock = { weight: uint128; height: uint32; total_iters: uint128; signage_point_index: uint8; pos_ss_cc_challenge_hash: bytes32; proof_of_space: ProofOfSpace; challenge_chain_sp_vdf: Optional<VDFInfo>; challenge_chain_sp_signature: G2Element; challenge_chain_ip_vdf: VDFInfo; reward_chain_sp_vdf: Optional<VDFInfo>; reward_chain_sp_signature: G2Element; reward_chain_ip_vdf: VDFInfo; infused_challenge_chain_ip_vdf: Optional<VDFInfo>; is_transaction_block: bool; };