solana/sdk
behzad nouri e1793e5a13
caches vote-state de-serialized from vote accounts (#13795)
Gossip and other places repeatedly de-serialize vote-state stored in
vote accounts. Ideally the first de-serialization should cache the
result.

This commit adds new VoteAccount type which lazily de-serializes
VoteState from Account data and caches the result internally.

Serialize and Deserialize traits are manually implemented to match
existing code. So, despite changes to frozen_abi, this commit should be
backward compatible.
2020-11-30 17:18:33 +00:00
..
benches move Account to solana-sdk (#13198) 2020-10-28 22:01:07 -07:00
bpf Rbpf v0.2.1 (#13732) 2020-11-24 18:00:19 +01:00
cargo-build-bpf Disable publishing of cargo-build-bpf/cargo-test-bpf to crates.io 2020-11-18 19:09:04 +00:00
cargo-test-bpf Disable publishing of cargo-build-bpf/cargo-test-bpf to crates.io 2020-11-18 19:09:04 +00:00
docker-solana
macro Rename solana-program-sdk to solana-program 2020-10-24 08:37:55 -07:00
program Fix parsing CreateAccountWithSeed instructions (#13513) 2020-11-10 23:51:53 +00:00
src caches vote-state de-serialized from vote accounts (#13795) 2020-11-30 17:18:33 +00:00
.gitignore
Cargo.toml Native/builtin programs now receive an InvokeContext 2020-10-29 21:45:24 -07:00
Xargo.toml Initial population of solana-program-sdk 2020-10-24 08:37:55 -07:00
build.rs Remove frozen ABI modules from solana-sdk 2020-10-20 16:11:30 -07:00