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
5mod cli;
6mod commands;
7mod rpc;
8#[cfg(feature = "remote-import")]
9mod rpc_client;
10mod substrate_cli;
11mod utils;
12
13pub use self::cli::run;
14
15#[cfg(test)]
16mod tests {
17    use sc_cli::Database;
18
19    #[test]
20    fn rocksdb_disabled_in_substrate() {
21        assert_eq!(
22            Database::variants(),
23            &["paritydb", "paritydb-experimental", "auto"],
24        );
25    }
26}