add passive staking and rewards (#3579)

* add stake stuff

* more generic

* test decode bail cases

* favor early returns
This commit is contained in:
Rob Walker
2019-04-01 16:45:53 -07:00
committed by GitHub
parent 3152090a66
commit 25a2f08f8d
8 changed files with 547 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
use solana_stake_api::stake_instruction::process_instruction;
solana_sdk::solana_entrypoint!(process_instruction);