solana-with-rpc-optimizations/ledger-tool
steviez 48046b61fb
ledger-tool: Bubble up error enum instead of eprintln!() and exit() (#34426)
load_and_process_ledger() performs many checks and sub-operations that
can fail. The current error handling prints an error message and exits
immediately. The long error/help messages written inline add clutter
to the functions actual implementation.

This PR creates a new error enum for all of these previous error
conditions, and bubbles up the error to let the caller decide what to
do instead of exiting immediately.
2023-12-13 09:33:54 -06:00
..
src ledger-tool: Bubble up error enum instead of eprintln!() and exit() (#34426) 2023-12-13 09:33:54 -06:00
tests Make RocksFifo storage size API expose an Option<u64> (#28192) 2022-10-04 12:38:40 -05:00
.gitignore
Cargo.toml ledger-tool: Bubble up error enum instead of eprintln!() and exit() (#34426) 2023-12-13 09:33:54 -06:00