Skip to content

Commit

Permalink
track zero lamport accounts (#3188)
Browse files Browse the repository at this point in the history
* track zero lamport accounts

split off slot from shrink ancient stats

split slot stat

* populate zero lamport at start time

* pub

* comments

* comments

* pr fix

* fix

* test zero single ref init

* Update accounts-db/src/accounts_db.rs

Co-authored-by: Brooks <[email protected]>

* Update accounts-db/src/accounts_db.rs

Co-authored-by: Brooks <[email protected]>

* pr feedback reanem

* pr feedback outline fn

* pr: rename

* pr: rename

* pr: rename

* clippy

* fix stat

* no check for zero_lamport_single_ref_found

* num_slots_with_zero_lamport_accounts_added_to_shrink

* Update accounts-db/src/accounts_db.rs

Co-authored-by: Brooks <[email protected]>

* Update accounts-db/src/accounts_db.rs

Co-authored-by: Brooks <[email protected]>

* Update accounts-db/src/accounts_db.rs

Co-authored-by: Brooks <[email protected]>

* Update accounts-db/src/accounts_db.rs

Co-authored-by: Brooks <[email protected]>

* Update accounts-db/src/accounts_db.rs

Co-authored-by: Brooks <[email protected]>

* pr feedbacks

* rename

* Update accounts-db/src/accounts_db.rs

Co-authored-by: Brooks <[email protected]>

* pr

* pr

* pr

* Update accounts-db/src/accounts_db.rs

Co-authored-by: Brooks <[email protected]>

* fix build

* Update accounts-db/src/accounts_db.rs

Co-authored-by: Brooks <[email protected]>

* pr

---------

Co-authored-by: HaoranYi <[email protected]>
Co-authored-by: Brooks <[email protected]>
  • Loading branch information
3 people authored Oct 29, 2024
1 parent 04ecf40 commit a17693d
Show file tree
Hide file tree
Showing 5 changed files with 471 additions and 19 deletions.
Loading

0 comments on commit a17693d

Please sign in to comment.