solana/sdk/program
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
..
src Document order of recent blockhashes sysvar 2021-07-01 22:22:52 -07:00
Cargo.toml chore: bump log from 0.4.11 to 0.4.14 (#18323) 2021-06-30 18:32:01 +00:00
README.md Add sdk and program READMEs (#18154) 2021-06-23 21:22:35 +00:00
Xargo.toml
build.rs

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