* 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 |
||
---|---|---|
.. | ||
proto | ||
src | ||
Cargo.toml | ||
README.md | ||
build.rs |
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.