2470b45468
* Add new StakeError variant * Add closure to return error if EpochRewards::active * Use error_during_epoch_rewards for Instructions that mutate stake accounts * Use try instead of manually matching Ok/Err * Consolidate error_during_epoch_rewards check * Add new test helper * Add test demonstrating which ix return StakeError::EpochRewardsActive * Remove single-use fn |
||
---|---|---|
.. | ||
src | ||
tests | ||
.gitignore | ||
Cargo.toml | ||
README.md | ||
build.rs | ||
package.json |
README.md
Solana Program
Use the Solana Program Crate to write on-chain programs in Rust. If writing client-side applications, use the Solana SDK Crate instead.
More information about Solana is available in the Solana documentation.
Solana Program Library provides examples of how to use this crate.
Still have questions? Ask us on Stack Exchange