solana/sdk
Tao Zhu b1b3702e6d
Prioritize transactions in banking stage by their compute unit price (#25178)
* - get prioritization fee from compute_budget instruction;
- update compute_budget::process_instruction function to take instruction iter to support sanitized versioned message;
- updated runtime.md

* update transaction fee calculation for prioritization fee rate as lamports per 10K CUs

* review changes

* fix test

* fix a bpf test

* fix bpf test

* patch feedback

* fix clippy

* fix bpf test

* feedback

* rename prioritization fee rate to compute unit price

* feedback

Co-authored-by: Justin Starry <justin@solana.com>
2022-05-16 12:06:33 +08:00
..
benches
bpf Remove obsolete string C header input file 2022-05-13 10:37:25 -07:00
cargo-build-bpf Bump sbf-tools version to 1.26 2022-05-12 03:53:55 +00:00
cargo-test-bpf sdk: Add --jobs parameter in build/test bpf (#24359) 2022-04-15 13:49:43 +02:00
docker-solana
gen-headers Generate syscall headers 2022-05-05 19:50:54 -07:00
macro Add Ident case (#24390) 2022-04-15 16:27:25 -06:00
program Revert "Serialize lamports per signature in snapshots (#25181)" (#25228) 2022-05-15 12:04:17 +00:00
src Prioritize transactions in banking stage by their compute unit price (#25178) 2022-05-16 12:06:33 +08:00
tests fix: renamed the internal wasm_bindgen init function to avoid collision 2022-03-10 11:33:24 -08:00
.gitignore
Cargo.toml chore: bump log from 0.4.16 to 0.4.17 (#24987) 2022-05-05 01:49:18 +00: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