solana-with-rpc-optimizations/sdk
Alessandro Decina f6fee4ac3a
Serialization refactor (#28251)
* Use infallible, unchecked methods to write into the serialization buffer

We serialize in two steps: first we compute the size of the buffer, then
we write into it. Therefore there's no need to check if each individual
write fits the buffer - we know it does we just computed the required
size.

* serialize_parameters: remove extra loop/borrows

Remove one extra loop over accounts to gather account lengths. Also
gather all accounts at once and avoid temporary borrows.

* Move creating MemoryRegions for serialized parameters from create_vm to serialize_parameters

This is in preparation of using multiple MemoryRegions once we land direct account mapping.

* bpf_loader: introduce internal API to build serialization buffer/regions

This is prep work for landing the direct_mapping feature, which maps account
data in their own memory regions.

* serialization: fix after API changes
2022-10-07 07:45:05 +01:00
..
benches AccountSharedData: optimize set_data_from_slice 2022-09-23 11:31:33 +01:00
bpf Increase transaction account lock limit from 64 to 128 (#27242) 2022-09-15 13:50:14 -04:00
cargo-build-bpf Whickey/version v1.15 (#27739) 2022-09-13 09:06:15 -05:00
cargo-build-sbf patches clippy errors from new rust nightly release (#27996) 2022-09-22 22:23:03 +00:00
cargo-test-bpf Whickey/version v1.15 (#27739) 2022-09-13 09:06:15 -05:00
cargo-test-sbf patches clippy errors from new rust nightly release (#27996) 2022-09-22 22:23:03 +00:00
docker-solana
gen-headers chore: bump regex from 1.5.6 to 1.6.0 (#27678) 2022-09-21 18:09:33 +00:00
macro patches clippy errors from new rust nightly release (#27996) 2022-09-22 22:23:03 +00:00
program RPC: Support versioned txs in getFeeForMessage API (#28217) 2022-10-05 00:00:34 +08:00
src Serialization refactor (#28251) 2022-10-07 07:45:05 +01:00
tests
.gitignore
Cargo.toml chore: bump sha3 from 0.10.2 to 0.10.4 (#27656) 2022-09-21 15:31: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