solana/sdk
Alexander Meißner 55d18e8463
Refactor: Flattens `TransactionContext::instruction_trace` (#27109)
* Flattens TransactionContext::instruction_trace.

* Stop the search at transaction level.

* Renames get_instruction_context_at => get_instruction_context_at_nesting_level.

* Removes TransactionContext::get_instruction_trace().
Adds TransactionContext::get_instruction_trace_length() and TransactionContext::get_instruction_context_at_index().

* Have TransactionContext::instruction_accounts_lamport_sum() accept an iterator instead of a slice.

* Removes instruction_trace from ExecutionRecord.

* make InstructionContext::new() private
2022-08-20 11:20:47 +02:00
..
benches Refactor: move instructions sysvar serialization out of Message (#22544) 2022-01-20 17:33:49 +08:00
bpf Bump sbf-tools version to v1.29 2022-08-07 22:11:57 +00:00
cargo-build-bpf sdk: Fix args after "--" in build-bpf and test-bpf (#27221) 2022-08-18 02:52:54 +00:00
cargo-build-sbf chore: bump predicates from 2.0.3 to 2.1.1 (#27087) 2022-08-12 06:44:59 +00:00
cargo-test-bpf sdk: Fix args after "--" in build-bpf and test-bpf (#27221) 2022-08-18 02:52:54 +00:00
cargo-test-sbf Bump version to v1.12 (#26967) 2022-08-06 13:20:30 -05:00
docker-solana Fix solana docker image 2021-10-09 20:35:39 +01:00
gen-headers Bump version to v1.12 (#26967) 2022-08-06 13:20:30 -05:00
macro Add more sysvar API docs (#26849) 2022-08-15 12:19:46 -06:00
program Revert "Rust v1.63.0 (#27148)" (#27245) 2022-08-19 09:19:44 +01:00
src Refactor: Flattens `TransactionContext::instruction_trace` (#27109) 2022-08-20 11:20:47 +02: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 js-sys from 0.3.58 to 0.3.59 (#27088) 2022-08-12 07:40:25 -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