solana/sdk/src
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
..
account.rs move Account to solana-sdk (#13198) 2020-10-28 22:01:07 -07:00
account_utils.rs move Account to solana-sdk (#13198) 2020-10-28 22:01:07 -07:00
builtins.rs Move KeyedAccount out of solana-program. Native programs are not supported by solana-program 2020-10-26 18:54:54 -07:00
client.rs Rename "everything" feature to "full" 2020-10-24 17:26:11 +00:00
commitment_config.rs Update commitment options (#12173) 2020-09-11 11:19:06 -07:00
deserialize_utils.rs Fix TransactionStatusMeta breakage in blockstore (#12587) 2020-09-30 11:49:35 -06:00
entrypoint.rs Rename solana-program-sdk to solana-program 2020-10-24 08:37:55 -07:00
entrypoint_deprecated.rs Rename solana-program-sdk to solana-program 2020-10-24 08:37:55 -07:00
entrypoint_native.rs Native/builtin programs now receive an InvokeContext 2020-10-29 21:45:24 -07:00
epoch_info.rs getEpochInfo RPC endpoint now includes the current block height 2020-07-21 17:24:07 -07:00
feature.rs Move Feature struct to solana-program 2020-10-30 17:57:51 -07:00
feature_set.rs Restore bank feature used to deprecate Rewards sysvar (#13786) 2020-11-24 10:22:31 -07:00
genesis_config.rs move Account to solana-sdk (#13198) 2020-10-28 22:01:07 -07:00
hard_forks.rs Rename "everything" feature to "full" 2020-10-24 17:26:11 +00:00
hash.rs Rename "everything" feature to "full" 2020-10-24 17:26:11 +00:00
inflation.rs Add new inflation feature-ids (#13671) 2020-11-20 09:54:41 -07:00
keyed_account.rs move Account to solana-sdk (#13198) 2020-10-28 22:01:07 -07:00
lib.rs Move secp256k1 instruction helper to the sdk (#13560) 2020-11-12 16:58:40 -08:00
log.rs Rename solana-program-sdk to solana-program 2020-10-24 08:37:55 -07:00
native_loader.rs
nonce_account.rs move Account to solana-sdk (#13198) 2020-10-28 22:01:07 -07:00
nonce_keyed_account.rs move Account to solana-sdk (#13198) 2020-10-28 22:01:07 -07:00
packet.rs propagates errors out of Packet::from_data (#13445) 2020-11-08 15:10:03 +00:00
poh_config.rs
process_instruction.rs Add stable program logging for BPF and native programs 2020-11-14 08:26:01 -08:00
program_utils.rs chore(deps): bump bincode from 1.2.1 to 1.3.1 (#10867) 2020-07-09 00:08:05 +00:00
pubkey.rs Rename "everything" feature to "full" 2020-10-24 17:26:11 +00:00
recent_blockhashes_account.rs move Account to solana-sdk (#13198) 2020-10-28 22:01:07 -07:00
rpc_port.rs Add a client for BankForks (#10728) 2020-08-07 08:45:17 -06:00
secp256k1_instruction.rs Move secp256k1 instruction helper to the sdk (#13560) 2020-11-12 16:58:40 -08:00
shred_version.rs Rename "everything" feature to "full" 2020-10-24 17:26:11 +00:00
signature.rs Rename "everything" feature to "full" 2020-10-24 17:26:11 +00:00
signers.rs Rename "everything" feature to "full" 2020-10-24 17:26:11 +00:00
stake_weighted_timestamp.rs caches vote-state de-serialized from vote accounts (#13795) 2020-11-30 17:18:33 +00:00
system_transaction.rs Rename "everything" feature to "full" 2020-10-24 17:26:11 +00:00
timing.rs
transaction.rs Move secp256k1 instruction helper to the sdk (#13560) 2020-11-12 16:58:40 -08:00
transport.rs Rename "everything" feature to "full" 2020-10-24 17:26:11 +00:00