2025-11-10 11:56:41 +00:00
|
|
|
// Copyright 2025 DataHaven
|
|
|
|
|
// This file is part of DataHaven.
|
|
|
|
|
|
|
|
|
|
// DataHaven is free software: you can redistribute it and/or modify
|
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
|
// (at your option) any later version.
|
|
|
|
|
|
|
|
|
|
// DataHaven is distributed in the hope that it will be useful,
|
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
|
|
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
|
|
|
// along with DataHaven. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
2025-03-17 16:57:14 +00:00
|
|
|
//! Substrate Node Template CLI library.
|
|
|
|
|
#![warn(missing_docs)]
|
|
|
|
|
|
2025-12-09 11:26:05 +00:00
|
|
|
#[cfg(feature = "runtime-benchmarks")]
|
2025-03-17 16:57:14 +00:00
|
|
|
mod benchmarking;
|
|
|
|
|
mod chain_spec;
|
|
|
|
|
mod cli;
|
2025-04-14 11:40:24 +00:00
|
|
|
mod client;
|
2025-03-17 16:57:14 +00:00
|
|
|
mod command;
|
2025-09-30 17:39:11 +00:00
|
|
|
mod config;
|
2025-04-30 17:01:21 +00:00
|
|
|
mod consensus;
|
2025-04-14 11:40:24 +00:00
|
|
|
mod eth;
|
2025-03-17 16:57:14 +00:00
|
|
|
mod rpc;
|
|
|
|
|
mod service;
|
|
|
|
|
|
|
|
|
|
fn main() -> sc_cli::Result<()> {
|
|
|
|
|
command::run()
|
|
|
|
|
}
|