16222553b8
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. |
||
---|---|---|
.. | ||
benches | ||
bpf | ||
cargo-build-bpf | ||
cargo-test-bpf | ||
docker-solana | ||
macro | ||
program | ||
src | ||
tests | ||
.gitignore | ||
Cargo.toml | ||
README.md | ||
build.rs | ||
package.json |
README.md
Solana SDK
Use the Solana SDK Crate to write client side applications in Rust. If writing on-chain programs, use the Solana Program Crate instead.
More information about Solana is available in the Solana documentation.
The Solana Program Library provides examples of how to use this crate.
Still have questions? Ask us on Discord