solana/runtime
Yueh-Hsuan Chiang 40d3e8e8fa
[TieredStorage] Enable ByteBlockWriter to report the length of raw data (#31900)
#### Summary of Changes
This PR adds raw_len() to ByteBlockWriter which returns
the length of the data after decoding.  This information is needed
for the cold storage to keep track of the current size of the account
block after decompression.

#### Test Plan
Improved existing tests to verify the returned raw_len().
Tested in mnb w/ the prototype implementation of the tiered storage (https://github.com/solana-labs/solana/pull/30626)
2023-06-02 14:01:38 -07:00
..
benches Replace improper &Arc<...> with Arc<...> in Bank and Accounts (#31892) 2023-05-31 12:36:44 -05:00
src [TieredStorage] Enable ByteBlockWriter to report the length of raw data (#31900) 2023-06-02 14:01:38 -07:00
store-tool getter functions for StoredAccountMeta (#30447) 2023-02-27 10:03:22 -08:00
tests use max alive root to determine ancient cutoff for clean stats (#31545) 2023-05-10 08:05:31 -07:00
.gitignore
Cargo.toml Refactor - Renames loader-v3 to loader-v4. (#31570) 2023-05-11 08:29:06 +02:00
build.rs