Crate node_inspect
source ·Expand description
A CLI extension for substrate node, adding sub-command to pretty print debug info about blocks and extrinsics.
The blocks and extrinsics can either be retrieved from the database (on-chain), or a raw SCALE-encoding can be provided.
Modules
- Structs to easily compose inspect sub-command for CLI.
- Command ran by the CLI
Structs
- Default dummy debug printer.
- Blockchain inspector.
Enums
- A block to retrieve.
- Aggregated error for
Inspector
operations. - An extrinsic address to decode and print out.
Traits
- A helper trait to access block headers and bodies.
- A Pretty formatter implementation.
Type Definitions
- A helper type for a generic block input.