storj/satellite/rewards
Yingrong Zhao c12a4aed3b satellite/console: add redeem reward method (#2484)
* add RedeemRewards method

* remove redeem from reward.db

* add redeemable cap check in redeem

* rename offerCap to redeemableCap

* remove redeem test

* update error message

* fix build

* Trigger Jenkins

* use correct credit setting for redeem

* fix comment

* change create qury to get redeemable_cap from offers table

* change referredBy to a pointer in user credit struct
2019-07-15 19:30:00 -04:00
..
rewards_test.go satellite/console: add redeem reward method (#2484) 2019-07-15 19:30:00 -04:00
rewards.go satellite/console: add redeem reward method (#2484) 2019-07-15 19:30:00 -04:00