solana/sdk
behzad nouri bf225bae73
restricts rent-paying accounts lifetime extension (#26606)
https://github.com/solana-labs/solana/pull/22292
prevents rent paying accounts creation going forward. However a rent
paying account can linger on for ever if it is continually topped up but
stays below the rent-exempt minimum.
This can prevent eliminating accounts-rewrites and the problematic
rent_epoch field in accounts.

Link to discord discussion:
https://discord.com/channels/428295358100013066/943609352068145162/995202300001927219

This commit restricts rent-paying accounts lifetime extension by
preventing increasing lamports on the account if the account stays below
the rent-exempt minimum.
2022-07-15 13:23:37 +00:00
..
benches
bpf Fix sol_memset to return the correct value. (#26598) 2022-07-14 17:27:02 +01:00
cargo-build-bpf Compile for bpf target for compatibility when cargo-build-bpf is used 2022-07-14 10:41:39 -07:00
cargo-build-sbf Compile for bpf target for compatibility when cargo-build-bpf is used 2022-07-14 10:41:39 -07:00
cargo-test-bpf Compile for bpf target for compatibility when cargo-build-bpf is used 2022-07-14 10:41:39 -07:00
cargo-test-sbf Compile for bpf target for compatibility when cargo-build-bpf is used 2022-07-14 10:41:39 -07:00
docker-solana
gen-headers Bump Version to 1.11.4 (#26578) 2022-07-11 23:30:38 -05:00
macro Bump Version to 1.11.4 (#26578) 2022-07-11 23:30:38 -05:00
program Add a comment explaining the check for crate recompilation redundancy 2022-07-14 17:59:37 -07:00
src restricts rent-paying accounts lifetime extension (#26606) 2022-07-15 13:23:37 +00:00
tests fix: renamed the internal wasm_bindgen init function to avoid collision 2022-03-10 11:33:24 -08:00
.gitignore
Cargo.toml Bump Version to 1.11.4 (#26578) 2022-07-11 23:30:38 -05: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