subcoin_node/
lib.rs

1//! Subcoin Node Library.
2//!
3//! The main feature of this library is to start and run the node as a CLI application.
4
5#![allow(clippy::result_large_err)]
6
7mod cli;
8mod commands;
9mod rpc;
10#[cfg(feature = "remote-import")]
11mod rpc_client;
12mod substrate_cli;
13mod utils;
14
15pub use self::cli::run;
16
17#[cfg(test)]
18mod tests {
19    use sc_cli::Database;
20
21    #[test]
22    fn rocksdb_disabled_in_substrate() {
23        assert_eq!(
24            Database::variants(),
25            &["paritydb", "paritydb-experimental", "auto"],
26        );
27    }
28}