solana/program-runtime
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 Refactor: Remove Rc from PreAccount and InvokeContext::get_account() (#21882) 2021-12-14 15:44:31 +01:00
src Prioritize transactions in banking stage by their compute unit price (#25178) 2022-05-16 12:06:33 +08:00
Cargo.toml chore: bump enum-iterator from 0.7.0 to 0.8.1 (#25092) 2022-05-10 20:58:03 -06:00
build.rs Add solana-program-runtime crate (#19438) 2021-08-27 00:30:36 +00:00