454ef38e43
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. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
.gitignore | ||
Cargo.toml | ||
build.rs |