chia_protocol/vdf.rs
1use chia_streamable_macro::streamable;
2
3use crate::ClassgroupElement;
4use crate::{Bytes, Bytes32};
5
6#[streamable]
7pub struct VDFInfo {
8 challenge: Bytes32,
9 number_of_iterations: u64,
10 output: ClassgroupElement,
11}
12
13#[streamable]
14pub struct VDFProof {
15 witness_type: u8,
16 witness: Bytes,
17 normalized_to_identity: bool,
18}