chik_protocol/proof_of_space.rs
1use crate::bytes::{Bytes, Bytes32};
2use chik_bls::G1Element;
3use chik_streamable_macro::streamable;
4
5#[streamable]
6pub struct ProofOfSpace {
7 challenge: Bytes32,
8 pool_public_key: Option<G1Element>,
9 pool_contract_puzzle_hash: Option<Bytes32>,
10 plot_public_key: G1Element,
11 size: u8,
12 proof: Bytes,
13}