chia_protocol/sub_epoch_summary.rs
1use chia_streamable_macro::streamable;
2
3use crate::Bytes32;
4
5#[streamable]
6pub struct SubEpochSummary {
7 prev_subepoch_summary_hash: Bytes32,
8 reward_chain_hash: Bytes32, // hash of reward chain at end of last segment
9 num_blocks_overflow: u8, // How many more blocks than 384*(N-1)
10 new_difficulty: Option<u64>, // Only once per epoch (diff adjustment)
11 new_sub_slot_iters: Option<u64>, // Only once per epoch (diff adjustment)
12}