solana/sdk
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
..
benches
bpf Update C toolchain linker script to match the rust toolchain script 2022-04-18 17:35:38 -07:00
cargo-build-bpf sdk: Add --jobs parameter in build/test bpf (#24359) 2022-04-15 13:49:43 +02:00
cargo-test-bpf sdk: Add --jobs parameter in build/test bpf (#24359) 2022-04-15 13:49:43 +02:00
docker-solana
macro Add Ident case (#24390) 2022-04-15 16:27:25 -06:00
program defines const fn for serialized size of VoteState, Feature and Nonce (#24435) 2022-04-19 13:10:14 +00:00
src drops redundant turbine propagation path (#24351) 2022-04-19 00:11:29 +00:00
tests fix: renamed the internal wasm_bindgen init function to avoid collision 2022-03-10 11:33:24 -08:00
.gitignore
Cargo.toml chore: bump uriparse from 0.6.3 to 0.6.4 (#23799) 2022-04-13 19:33:42 -06:00
README.md
build.rs
package.json

README.md

Solana

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