fix book typos (#5185) (#5186)

automerge
This commit is contained in:
mergify[bot]
2019-07-18 17:56:44 -07:00
committed by Grimes
parent d6ce97bcbd
commit 2cada71151
3 changed files with 9 additions and 2 deletions

1
.gitignore vendored
View File

@ -23,3 +23,4 @@ log-*.txt
# intellij files
/.idea/
/solana.iml
/.vscode/

View File

@ -22,7 +22,7 @@ gossip endpoint (a socket address).
Records shared over gossip are arbitrary, but signed and versioned (with a
timestamp) as needed to make sense to the node receiving them. If a node
recieves two records from the same source, it it updates its own copy with the
receives two records from the same source, it updates its own copy with the
record with the most recent timestamp.
## Gossip Service Interface

View File

@ -11,7 +11,7 @@ of getting its stake slashed. The economics are covered in [staking
rewards](staking-rewards.md). This chapter, on the other hand, describes the
underlying mechanics of its implementation.
## Basic Besign
## Basic Design
The general idea is that the validator owns a Vote account. The Vote account
tracks validator votes, counts validator generated credits, and provides any
@ -114,7 +114,13 @@ tokens stored as `Account::lamports`.
The stakes and the MiningPool are accounts that are owned by the same `Stake`
program.
<<<<<<< HEAD
### StakeInstruction::Initialize
=======
The Stake account is moved from Uninitialized to StakeState::Stake form. This is
how stakers choose their initial delegate validator node and activate their
stake account lamports.
>>>>>>> 25080f1a3... fix book typos (#5185)
* `account[0]` - RW - The StakeState::Delegate instance.
`StakeState::Delegate::credits_observed` is initialized to `VoteState::credits`.