ab_client_api/
lib.rs

1//! Client API
2
3/// Chain sync status
4pub trait ChainSyncStatus: Clone + Send + Sync + 'static {
5    /// Returns `true` if the chain is currently syncing
6    fn is_syncing(&self) -> bool;
7
8    /// Returns `true` if the node is currently offline
9    fn is_offline(&self) -> bool;
10}