This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ledger-tool: Refactor accounts subcommand output code (#34915)
The accounts command currently dumps every single account in the AccountsDb. This is obviously a lot of output, so a previous change streamed the accounts instead of collecting and dumping at the end. The streaming approach is much more performant, but the implementation is non-trivial. This change - Moves the accounts output code to output.rs - Refactor the logic to several objects that implment the functionality - Adjust the json output to also include the summary This change lays the groundwork for cleanly adding several more flags that will allow for querying different subsets of accounts.
- Loading branch information
steviez
authored
Jan 26, 2024
1 parent
89fd6ac
commit 3add40f
Showing
3 changed files
with
218 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.