hotshot_builder_api/v0_1/query_data.rs
1// Copyright (c) 2021-2024 Espresso Systems (espressosys.com)
2// This file is part of the HotShot repository.
3
4// You should have received a copy of the MIT License
5// along with the HotShot repository. If not, see <https://mit-license.org/>.
6
7use hotshot_types::traits::node_implementation::NodeType;
8use serde::{Deserialize, Serialize};
9
10use super::block_info::AvailableBlockInfo;
11
12#[derive(Clone, Debug, Default, Deserialize, Serialize, PartialEq, Eq, Hash)]
13#[serde(bound = "")]
14pub struct AvailableBlocksQueryData<I: NodeType> {
15 pub blocks: Vec<AvailableBlockInfo<I>>,
16}