solana/runtime
behzad nouri 108aa23d90 enforces type-safety in Stakes<StakeAccount> using phantom data
StakeAccount<Delegation> can only wrap a stake-state which is a
Delegation; whereas StakeAccount<()> wraps any account with stake state.

As a result, StakeAccount::<Delegation>::delegation() will return
Delegation instead of Option<Delegation>.
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 enforces type-safety in Stakes<StakeAccount> using phantom data 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 Remove frozen ABI modules from solana-sdk 2020-10-20 16:11:30 -07:00