solana/storage-proto
Tyera 034cd7396a
Add num_partitions to Blockstore rewards (#1601)
* Add num_partitions field to Rewards proto definition

* Add type to hold rewards plus num_partitions

* Add Bank method to get rewards plus num_partitions for recording

* Update Blockstore::write_rewards to use num_partitions

* Update RewardsRecorderService to handle num_partitions

* Populate num_partitions in ReplayStage::record_rewards

* Write num_partitions to Bigtable

* Reword KeyedRewardsAndNumPartitions method

* Clone immediately

* Determine epoch boundary by checking parent epoch

* Rename UiConfirmedBlock field

* nit: fix comment typo

* Add test_get_rewards_and_partitions

* Add pre-activation test

* Add should_record unit test
2024-06-17 16:42:33 -06:00
..
proto Add num_partitions to Blockstore rewards (#1601) 2024-06-17 16:42:33 -06:00
src Add num_partitions to Blockstore rewards (#1601) 2024-06-17 16:42:33 -06:00
Cargo.toml chore: workspace inheritance (#30939) 2023-03-29 03:28:56 +00:00
README.md storage-proto: Rework source generation 2021-07-10 19:51:38 -06:00
build.rs storage-bigtable: Upload entries (#34099) 2023-11-28 11:47:22 -07:00

README.md

Storage Protobufs

The solana-storage-proto structs used in src/convert.rs and elsewhere are auto-generated from protobuf definitions on build. To update these structs, simply make the desired edits to proto/*.proto files.