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 aSecretKeyError
- 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 astr
.