* add sort_and_shuffle_partitioned_rewards * break stake accounts into partitions by hashing * fmt * Update runtime/src/epoch_rewards_hasher.rs Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com> * Update runtime/src/bank/tests.rs Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com> * Update runtime/src/bank/tests.rs Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com> * Update runtime/src/bank.rs Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com> * fix build * more build fixes * use spihasher13 for reward partition * update comments * revert calc reward struct change to avoid abi changes for now * cippy * sort deps * saturating math * use copy traits on hasher use parent block hash to seed rewards partition * fmt * use concurrent map to speed up reward partition * clippy * Update runtime/src/epoch_rewards_hasher.rs Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com> * Update runtime/Cargo.toml Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com> * Update runtime/src/bank.rs Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com> * rename * address review comments * cargo.lock * Update runtime/src/bank.rs Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com> * update test * clippy * comments * move hash_address_to_partition to epoch_rewards_hasher.rs * tests to nail down width of partitions * rename parameter to match with comments * hash_address takes &self * clippy * EpochRewardHasher -> EpochRewardsHasher * revert "hash_address takes &self" and refactor * stake_rewards takes by value --------- Co-authored-by: HaoranYi <haoran.yi@gmail.com> Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com> Co-authored-by: HaoranYi <haoran.yi@solana.com> |
||
---|---|---|
.. | ||
address-lookup-table | ||
address-lookup-table-tests | ||
bpf-loader-tests | ||
bpf_loader | ||
compute-budget | ||
config | ||
ed25519-tests | ||
loader-v4 | ||
sbf | ||
stake | ||
system | ||
vote | ||
zk-token-proof | ||
zk-token-proof-tests |