solana/sdk
Ruud van Asseldonk 94ab0eb49f Document order of recent blockhashes sysvar
I wanted to use this sysvar to get a recent block hash, but I didn't
know whether the first or the last entry contains the most recent block
hash.

By calling it for mainnet, printing the results, and comparing that to
the recent blocks on solanabeach.io/blocks, I discovered that the
entries are ordered from most recent to least recent. Document this to
save future readers the trouble.
2021-07-01 22:22:52 -07:00
..
benches Drop write lock on sysvars (#15497) 2021-03-30 10:05:09 -07:00
bpf Bump bpf-tools version to 1.12 2021-06-25 18:00:44 -07:00
cargo-build-bpf Add a command to install rustfilt for a cargo-build-bpf test 2021-07-01 21:09:16 -07:00
cargo-test-bpf chore: cargo +nightly clippy --fix -Z unstable-options 2021-06-18 10:42:46 -07:00
docker-solana docker: Expose all ports in Dockerfile, add back localnet.sh (#16401) 2021-04-11 21:13:57 +02:00
macro Bump bs58 from 0.3.1 to 0.4.0 (#17573) 2021-05-28 18:30:34 +00:00
program Document order of recent blockhashes sysvar 2021-07-01 22:22:52 -07:00
src Reject transactions with extra signatures (#18306) 2021-07-01 18:06:59 +00:00
.gitignore
Cargo.toml chore: bump assert_matches from 1.3.0 to 1.5.0 (#18358) 2021-07-01 09:59:01 -06:00
README.md Add sdk and program READMEs (#18154) 2021-06-23 21:22:35 +00:00
Xargo.toml Initial population of solana-program-sdk 2020-10-24 08:37:55 -07:00
build.rs Remove frozen ABI modules from solana-sdk 2020-10-20 16:11:30 -07:00

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