Commit Graph

20 Commits

Author SHA1 Message Date
Brooks da2a31921b
Fixes error string in hash-cache-tool (#2778) 2024-08-29 10:55:11 -04:00
Brooks 9753b22ba8
Adds `search` command to hash-cache-tool (#2763) 2024-08-28 11:01:14 -04:00
HaoranYi 951bb04d86
generalize support for bin range of accounts hash tool (#2649)
* generalize support for bin range of accounts hash tool

* fix comments

* clippy

* sort deps

* fmtwq

* pr feedbacks

* Update accounts-db/accounts-hash-cache-tool/src/main.rs

Co-authored-by: Brooks <brooks@prumo.org>

* Update accounts-db/accounts-hash-cache-tool/src/main.rs

Co-authored-by: Brooks <brooks@prumo.org>

* Update accounts-db/accounts-hash-cache-tool/src/main.rs

Co-authored-by: Brooks <brooks@prumo.org>

* pr feedback: rename variable

---------

Co-authored-by: HaoranYi <haoran.yi@anza.xyz>
Co-authored-by: Brooks <brooks@prumo.org>
2024-08-20 11:50:19 -05:00
Brooks 3aa43d2548
hash-cache-tool: Adds cli arg to limit state to single bin (#2557) 2024-08-13 08:59:59 -04:00
Brooks c86dba1cda
hash-cache-tool: Adds cli arg for number of bins when diffing state (#2540) 2024-08-11 06:41:41 -04:00
Brooks 584b072b99
hash-cache-tool: Refactors printing unique entries (#2537) 2024-08-10 07:04:48 -04:00
Brooks 12e98b4dcd
hash-cache-tool: Refactors printing of unique entries (#2536) 2024-08-09 21:19:01 -04:00
Brooks 0fda3049f4
hash-cache-tool: Refactors width calculation (#2530) 2024-08-09 19:33:15 -04:00
Brooks 8b95e7debd
hash-cache-tool: Adds command to diff state (#2505) 2024-08-09 09:36:44 -04:00
Brooks fd3ee545e4
hash-cache-tool: Scan files with mmap and bins (#2504) 2024-08-08 16:09:23 -04:00
Brooks 44f6e03ef0
hash-cache-tool: Prints capitalization and num accounts when diffing files (#2462) 2024-08-06 19:02:34 +00:00
Brooks 4ee8920bb8
hash-cache-tool: Adds fn to extract latest entries (#2434) 2024-08-05 08:29:35 -04:00
Brooks 3739f5a8ce
hash-cache-tool: Use ahash::HashMap (#2420) 2024-08-03 00:15:28 -04:00
Brooks 0ff5a4ba92
hash-cache-tool: Refactors getting and parsing cache files (#1973) 2024-07-02 18:34:17 -04:00
HaoranYi f689ac13f0
accounts-db-tools/add option of file_diff to hash cache tool diff directory (#1969)
* add option of file_diff to hash cache tool

* Update accounts-db/accounts-hash-cache-tool/src/main.rs

Co-authored-by: Brooks <brooks@prumo.org>

* Update accounts-db/accounts-hash-cache-tool/src/main.rs

Co-authored-by: Brooks <brooks@prumo.org>

* Update accounts-db/accounts-hash-cache-tool/src/main.rs

Co-authored-by: Brooks <brooks@prumo.org>

* Update accounts-db/accounts-hash-cache-tool/src/main.rs

Co-authored-by: Brooks <brooks@prumo.org>

* Update accounts-db/accounts-hash-cache-tool/src/main.rs

Co-authored-by: Brooks <brooks@prumo.org>

* Update accounts-db/accounts-hash-cache-tool/src/main.rs

Co-authored-by: Brooks <brooks@prumo.org>

* Update accounts-db/accounts-hash-cache-tool/src/main.rs

Co-authored-by: Brooks <brooks@prumo.org>

* Update accounts-db/accounts-hash-cache-tool/src/main.rs

Co-authored-by: Brooks <brooks@prumo.org>

---------

Co-authored-by: HaoranYi <haoran.yi@anza.xyz>
Co-authored-by: Brooks <brooks@prumo.org>
2024-07-02 18:28:51 +00:00
Brooks 134c065b18
hash-cache-tool: Refactors file scanning (#1920) 2024-06-28 21:30:30 +00:00
Brooks a4eb7fe771
hash-cache-tool: Keep the last entry, when extracting, if there are duplicates (#1896) 2024-06-28 09:34:17 -04:00
Brooks 3d2281aad3
Adds directory diffing to accounts-hash-cache-tool (#1889) 2024-06-27 10:26:05 -04:00
Brooks 954f3d175b
Adds `diff` to accounts-hash-cache-tool (#1772) 2024-06-18 10:40:51 -04:00
Brooks 7b4c4f6fb4
Adds accounts-hash-cache-tool to inspect accounts hash cache files (#1731) 2024-06-13 16:16:42 -04:00