diff --git a/.gitignore b/.gitignore index 3663c1682..8b0e2238d 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ log-*.txt # intellij files /.idea/ /solana.iml +/.vscode/ diff --git a/book/src/gossip.md b/book/src/gossip.md index 4d01e7c0b..364f85722 100644 --- a/book/src/gossip.md +++ b/book/src/gossip.md @@ -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 diff --git a/book/src/stake-delegation-and-rewards.md b/book/src/stake-delegation-and-rewards.md index 2945fdc6e..89e3ee3f1 100644 --- a/book/src/stake-delegation-and-rewards.md +++ b/book/src/stake-delegation-and-rewards.md @@ -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 @@ -118,7 +118,7 @@ The Stakes and the RewardsPool are accounts that are owned by the same `Stake` p ### StakeInstruction::DelegateStake(u64) -The Stake account is moved from Unitialized to StakeState::Stake form. This is +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.