1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use massa_models::{
    block_header::SecuredHeader,
    block_id::BlockId,
    prehash::{PreHashMap, PreHashSet},
};

#[derive(Clone)]
pub enum BlockHandlerRetrievalCommand {
    Stop,
    /// Wish list delta
    WishlistDelta {
        /// add to wish list
        new: PreHashMap<BlockId, Option<SecuredHeader>>,
        /// remove from wish list
        remove: PreHashSet<BlockId>,
    },
}