p2p/channels/best_tip/
mod.rs

1mod p2p_channels_best_tip_state;
2pub use p2p_channels_best_tip_state::*;
3
4mod p2p_channels_best_tip_actions;
5pub use p2p_channels_best_tip_actions::*;
6
7mod p2p_channels_best_tip_reducer;
8
9use binprot_derive::{BinProtRead, BinProtWrite};
10use openmina_core::block::ArcBlock;
11use serde::{Deserialize, Serialize};
12
13#[derive(BinProtWrite, BinProtRead, Serialize, Deserialize, Debug, Clone)]
14pub enum BestTipPropagationChannelMsg {
15    /// Request next commitments upto the `limit`.
16    GetNext,
17    BestTip(ArcBlock),
18}