cross_domain_message_gossip/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#![feature(let_chains)]
#![warn(rust_2018_idioms)]

mod aux_schema;
mod gossip_worker;
mod message_listener;

pub use aux_schema::{
    get_channel_state, get_xdm_processed_block_number, set_channel_state,
    set_xdm_message_processed_at, BlockId, ChannelDetail,
};
pub use gossip_worker::{
    xdm_gossip_peers_set_config, ChainMsg, ChainSink, ChannelUpdate, GossipWorker,
    GossipWorkerBuilder, Message, MessageData,
};
pub use message_listener::{
    can_allow_xdm_submission, start_cross_chain_message_listener, RELAYER_PREFIX,
};