#![allow(incomplete_features)]
#![allow(dead_code)]
#![allow(unused_imports)]
#![allow(unused_variables)]
pub mod consensus;
pub mod core_objects;
pub mod crypto;
pub mod discovery;
pub mod error;
pub mod examples;
pub mod network;
pub mod node;
pub mod shared;
pub mod shared_object;
pub mod storage;
pub mod types;
pub mod utils;
pub use error::{ChaincraftError, Result};
pub use network::{PeerId, PeerInfo};
pub use node::{clear_local_registry, ChaincraftNode};
pub use shared::{SharedMessage, SharedObject, SharedObjectId, SharedObjectRegistry};
pub use core_objects::{
BalanceLedger, Blockchain, CacheObject, CoreSharedObject, DAGObject, DocumentCache, Mempool,
MerkelizedObject, MerkleizedObject, NativeSharedObject, NonMerkelizedObject, TransactionChain,
UTXOLedger,
};
pub use shared_object::{
ApplicationObject, ApplicationObjectRegistry, MerkelizedChain, MessageChain, SimpleSharedNumber,
};
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
pub const NAME: &str = env!("CARGO_PKG_NAME");
pub const DESCRIPTION: &str = env!("CARGO_PKG_DESCRIPTION");
pub const DEFAULT_PORT: u16 = 8080;
pub const DEFAULT_MAX_PEERS: usize = 10;
pub const DEFAULT_GOSSIP_INTERVAL_MS: u64 = 500;