solana/sdk/program
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
..
src defines const fn for serialized size of VoteState, Feature and Nonce (#24435) 2022-04-19 13:10:14 +00:00
tests fix: renamed the internal wasm_bindgen init function to avoid collision 2022-03-10 11:33:24 -08:00
.gitignore Add wasm bindings for `Pubkey` and `Keypair` 2021-12-09 15:53:58 -08:00
Cargo.toml Bump bytemuck version in solana-program for consistency (#24043) 2022-04-01 22:25:53 +08:00
README.md Add new logos to README files and docs (#20049) 2021-09-21 13:35:36 -06:00
build.rs
package.json fix: renamed the internal wasm_bindgen init function to avoid collision 2022-03-10 11:33:24 -08:00

README.md

Solana

Solana Program

Use the Solana Program Crate to write on-chain programs in Rust. If writing client-side applications, use the Solana SDK Crate instead.

More information about Solana is available in the Solana documentation.

Helloworld and the Solana Program Library provide examples of how to use this crate.

Still have questions? Ask us on Discord