60fdd85aed
* add a feature to disable rent collection * fix a test * fix a test * rekey * should collect rent * Update runtime/src/bank/fee_distribution.rs Co-authored-by: Brooks <brooks@prumo.org> * expand tests to cover both rent collection disabled and enabled * feedbacks * reviews - move should collect rent check out of rent collector into bank * enforce rent_epoch to u64:max when rent collection is disabled * review feedbacks and fix a test When rent fee collection is disabled, we won't collect rent for any account. If there are any rent paying accounts, their `rent_epoch` won't change too. * revise comments * update rent_epoch for rent exempted account * rebase * set rent_epoch in rent collection for rent exempted account * revert test change * don't assert --------- Co-authored-by: HaoranYi <haoran.yi@solana.com> Co-authored-by: Brooks <brooks@prumo.org> |
||
---|---|---|
.. | ||
benches | ||
bpf | ||
cargo-build-bpf | ||
cargo-build-sbf | ||
cargo-test-bpf | ||
cargo-test-sbf | ||
docker-solana | ||
gen-headers | ||
macro | ||
program | ||
sbf | ||
src | ||
tests | ||
.gitignore | ||
Cargo.toml | ||
README.md | ||
build.rs | ||
package.json |
README.md
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 Stack Exchange