mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 02:17:58 +00:00
Add chain-info Subcommand (#11250)
* Add `blockchain-info` Subcommand * Update comment * Cleanup * Cleanup * Use `sync_run` * Use `sc_client_db` utility fns instead service backend * Use service `Backend` builder * Impl `From<sp_blockchain::Info>` * Rename to `chain-info` * fmt * Copyright year Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Expose `DatabaseParams` Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
mod build_spec_cmd;
|
||||
mod chain_info_cmd;
|
||||
mod check_block_cmd;
|
||||
mod export_blocks_cmd;
|
||||
mod export_state_cmd;
|
||||
@@ -35,7 +36,7 @@ mod vanity;
|
||||
mod verify;
|
||||
|
||||
pub use self::{
|
||||
build_spec_cmd::BuildSpecCmd, check_block_cmd::CheckBlockCmd,
|
||||
build_spec_cmd::BuildSpecCmd, chain_info_cmd::ChainInfoCmd, check_block_cmd::CheckBlockCmd,
|
||||
export_blocks_cmd::ExportBlocksCmd, export_state_cmd::ExportStateCmd, generate::GenerateCmd,
|
||||
generate_node_key::GenerateNodeKeyCmd, import_blocks_cmd::ImportBlocksCmd,
|
||||
insert_key::InsertKeyCmd, inspect_key::InspectKeyCmd, inspect_node_key::InspectNodeKeyCmd,
|
||||
|
||||
Reference in New Issue
Block a user