solana/runtime
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 Refactor: Rename BlockhashQueue fields and methods for clarity (#24426) 2022-04-21 11:57:17 +08:00
src caches StakeAccount instead of Delegation in Stakes 2022-04-21 15:28:41 +00:00
store-tool Bump version to v1.11 (#23807) 2022-03-21 17:40:50 -05:00
tests Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08: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