solana/ledger
behzad nouri 1f9c89c1e8
expands lifetime of SlotStats (#23872)
Current slot stats are removed when the slot is full or every 30 seconds
if the slot is before root:
https://github.com/solana-labs/solana/blob/493a8e234/ledger/src/blockstore.rs#L2017-L2027

In order to track if the slot is ultimately marked as dead or rooted and
emit more metrics, this commit expands lifetime of SlotStats while
bounding total size of cache using an LRU eviction policy.
2022-03-25 19:32:22 +00:00
..
benches Avoid cloning Vec<Entry> when calling entries_to_test_shreds() (#22093) 2021-12-24 12:32:43 -08:00
src expands lifetime of SlotStats (#23872) 2022-03-25 19:32:22 +00:00
tests Move test_purge_huge test (#23587) 2022-03-10 15:31:43 -06:00
.gitignore system_instruction_processor updates (#6448) 2019-10-19 18:23:27 -07:00
Cargo.toml expands lifetime of SlotStats (#23872) 2022-03-25 19:32:22 +00:00
build.rs adds crds-value for broadcasting duplicate shreds through gossip (#14133) 2020-12-18 14:32:43 +00:00