solana-with-rpc-optimizations/programs
behzad nouri 16222553b8
defines const fn for serialized size of VoteState, Feature and Nonce (#24435)
bincode::serialized_sized requires constructing a temporary object and
it is slow. Silently changing serialized size of these structs can also
be a backward incompatible change.
This commit instead hard-codes serialized size of VoteState, Feature and
Nonce, and defines the functions as const. Added tests verify hard-coded
values.
2022-04-19 13:10:14 +00:00
..
address-lookup-table Remove KeyedAccount in builtin program "address lookup table" (#24283) 2022-04-13 12:17:07 +02:00
address-lookup-table-tests Bump version to v1.11 (#23807) 2022-03-21 17:40:50 -05:00
bpf chore: bump flate2 from 1.0.22 to 1.0.23 (#24460) 2022-04-18 23:50:17 -06:00
bpf_loader Remove `KeyedAccount` in builtin program "BPF loader" (#24381) 2022-04-19 11:35:40 +02:00
compute-budget Refactor: Use `InstructionContext::get_instruction_data()` (#24014) 2022-04-01 15:48:05 +02:00
config Remove `KeyedAccount` in builtin program "config" (#24347) 2022-04-18 17:06:23 +02:00
ed25519-tests Bump version to v1.11 (#23807) 2022-03-21 17:40:50 -05:00
stake Add feature_set_override parameter to mock_process_instruction() (#24386) 2022-04-15 13:43:04 -05:00
vote defines const fn for serialized size of VoteState, Feature and Nonce (#24435) 2022-04-19 13:10:14 +00:00
zk-token-proof Zk instructions check length (#24103) 2022-04-05 08:40:45 -04:00