solana/core
behzad nouri 454ef38e43 caches StakeAccount instead of Delegation in Stakes
The commit makes values in stake_delegations map in Stakes struct
generic. Stakes<Delegation> is equivalent to the old code and is used
for backward compatibility in BankFieldsTo{Serialize,Deserialize}.

But banks cache Stakes<StakeAccount> which includes the entire stake
account and StakeState deserialized from account. Doing so, will remove
the need to load stake account from accounts-db when working with
stake-delegations.
2022-04-21 15:28:41 +00:00
..
benches removes turbine peers shuffle patch feature 2022-04-05 12:04:12 +00:00
src Refactor transaction processing in banking stage (#24336) 2022-04-21 21:06:26 +08:00
tests caches StakeAccount instead of Delegation in Stakes 2022-04-21 15:28:41 +00:00
.gitignore
Cargo.toml chore: bump rayon from 1.5.1 to 1.5.2 (#24470) 2022-04-19 23:17:52 -06:00
build.rs