b9f4c8e3c0
* BorrowedAccount: add set_data_from_slice(), make set_data() take owned values set_data() used to take a slice and would force alloc+copy if the caller has owned values (eg account creation, account lookup table). Expose set_data_from_slice() for callers that have slices, and switch set_data() to taking an owned Vec. * BorrowAccount: refactor common accounts_update_delta code in helper method * BorrowedAccount: add extend_from_slice() This allows avoiding copies appending entries to account lookup tables. * BorrowedAccount: remove unnecessary ifs around update_accounts_resize_delta |
||
---|---|---|
.. | ||
benches | ||
bpf | ||
cargo-build-bpf | ||
cargo-build-sbf | ||
cargo-test-bpf | ||
cargo-test-sbf | ||
docker-solana | ||
gen-headers | ||
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