xenith-core 0.1.0

Transport-agnostic traits, types, and errors for xenith cross-chain state sync
Documentation
#![doc = include_str!("../README.md")]

pub mod conflict;
pub mod error;
pub mod signer;
pub mod store;
#[cfg(any(test, feature = "testing"))]
pub mod testing;
pub mod transport;
pub mod types;
pub mod wire;

pub use conflict::{ConflictResolver, LatestVersionResolver};
pub use error::XenithError;
pub use signer::{NoopSigner, TransactionSigner};
pub use store::{InMemoryStore, KeyMetadata, StateStore};
pub use transport::{MessagingTransport, SendOptions};
pub use types::*;

/// Convenience alias — all fallible xenith functions return this.
pub type Result<T> = std::result::Result<T, XenithError>;