solana/sdk
Tyera Eulberg 637e366b18
Prevent rent-paying account creation (#22292)
* Fixup typo

* Add new feature

* Add new TransactionError

* Add framework for checking account state before and after transaction processing

* Fail transactions that leave new rent-paying accounts

* Only check rent-state of writable tx accounts

* Review comments: combine process_result success behavior; log and metrics before feature activation

* Fix tests that assume rent-exempt accounts are okay

* Remove test no longer relevant

* Remove native/sysvar special case

* Move metrics submission to report legacy->legacy rent paying transitions as well
2022-01-11 11:32:25 -07:00
..
benches Clean up demote program write lock feature (#21949) 2021-12-16 17:27:22 -05:00
bpf Re-enable LTO (#22287) 2022-01-06 09:16:50 +11:00
cargo-build-bpf cargo-build-bpf: don't set -C linker on windows (#22314) 2022-01-07 07:41:13 +11:00
cargo-test-bpf Bump version to v1.10.0 2021-12-04 20:17:54 +00:00
docker-solana Fix solana docker image 2021-10-09 20:35:39 +01:00
macro Add wasm bindings for `Pubkey` and `Keypair` 2021-12-09 15:53:58 -08:00
program Add local cluster test to repro slot hash expiry bug (#21873) 2022-01-10 00:58:21 -05:00
src Prevent rent-paying account creation (#22292) 2022-01-11 11:32:25 -07:00
tests Add initial wasm bindings for `Instruction`, `SystemProgram` and `Transaction` 2021-12-09 15:53:58 -08:00
.gitignore Add wasm bindings for `Pubkey` and `Keypair` 2021-12-09 15:53:58 -08:00
Cargo.toml Bump memmap2 from 0.5.0 to 0.5.1 (#22409) 2022-01-10 11:14:56 -07:00
README.md Add new logos to README files and docs (#20049) 2021-09-21 13:35:36 -06:00
Xargo.toml Initial population of solana-program-sdk 2020-10-24 08:37:55 -07:00
build.rs
package.json Add wasm bindings for `Pubkey` and `Keypair` 2021-12-09 15:53:58 -08: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