Skip to content

Commit

Permalink
fixup! proposal for single vote many delegators
Browse files Browse the repository at this point in the history
fixup! review comments
  • Loading branch information
aeyakovenko committed Mar 9, 2019
1 parent 649923b commit f1ed938
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions book/src/passive-stake-delegation-and-rewards.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ on-chain programs. Incentives for staking is covered in [staking
rewardsd](staking-rewards.md).


This proposal is solving is to allow many delegated stakes to
passively earn rewards with a single validator vote without permission from the
validator.
This proposal is solving is to allow many delegated stakes to passively earn
rewards with a single validator vote without permission from the validator.

The current architecture requires an active vote for each delegated stake from
the validator, and therefore does not scale to allow for replicator clients
Expand Down Expand Up @@ -48,7 +47,8 @@ an instance of the VoteState program.

### VoteState

VoteState contains the following state information:
VoteState is the current state of all the votes the **delegate** has submitted
to the bank. VoteState contains the following state information:

* votes - The submitted votes.

Expand All @@ -59,15 +59,21 @@ lifetime.
rewards.

* commission - The commission taken by this VoteState for any rewards claimed by
delegated accounts.
staker's RewardState accounts.

* lamports - The accumulated lamports from the commission. These do not count as
stakes.

* `authorized_voter_id` - Only this identity is authorized to submit votes.

### RewardState

RewardState contains the following state information:
RewardState is the current delegation preference of the **staker**. RewardState
contains the following state information:

* lamports - The staked lamports.

* `vote_state_id` - The address of the vote state instance the lamports are
* `vote_state_id` - The pubkey of the VoteState instance the lamports are
delegated to.

* `claimed_credits` - The total credits claimed over the lifetime of the
Expand Down

0 comments on commit f1ed938

Please sign in to comment.