1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::streamable_struct;
use chia_streamable_macro::Streamable;

use crate::ClassgroupElement;
use crate::{Bytes, Bytes32};

streamable_struct!(VDFInfo {
    challenge: Bytes32,
    number_of_iterations: u64,
    output: ClassgroupElement,
});

streamable_struct!(VDFProof {
    witness_type: u8,
    witness: Bytes,
    normalized_to_identity: bool,
});