Module cli

Module cli 

Source
Available on crate feature cli only.
Expand description

Re-exported cli types

Modules§

allocator
Custom allocator implementation.
chainspec
Chain specification parser.
interface
CLI definition and entrypoint to executable
load_secret_key
Helper function to load a secret key from a file.
parsers
Cli parsers functions.
sigsegv_handler
Signal handler to extract a backtrace from stack overflow.

Structs§

Cli
The main reth cli interface.

Functions§

get_secret_key
Attempts to load a SecretKey from a specified path. If no file exists there, then it generates a secret key and stores it in the provided path. I/O errors might occur during write operations in the form of a SecretKeyError
hash_or_num_value_parser
Parse BlockHashOrNumber
parse_duration_from_secs
Helper to parse a Duration from seconds
parse_duration_from_secs_or_ms
Helper to parse a Duration from seconds if it’s a number or milliseconds if the input contains a ms suffix:
parse_ether_value
Parses an ether value from a string.
parse_socket_address
Parse a SocketAddr from a str.