Skip to content

Commit ebb2849

Browse files
authored
docs: rename bitvectors.md -> bitfields.md (#778)
1 parent 202b21d commit ebb2849

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: docs/bitvectors.md renamed to docs/bitfields.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ There's a trick here: SSZ doesn't specify how to store a `bitvector` in memory a
119119

120120
For this reason, we represent bitvectors in our node as big-endian binaries. That means that we reverse the bytes (a relatively cheap operation) and, for bit addressing, we just use the complementary index. An example:
121121

122-
If we are still representing the number 259 (validators with index 0, 1, and 8 attested) we'll have the two following representations (note, elixir has a `bitstring` type that lets you address bit by bit and store several bits that's not a multiple of 8):
122+
If we are still representing the number 259 (validators with index 0, 1, and 8 attested) we'll have the two following representations (note, elixir has a `bitstring` type that lets you address bit by bit and store a number of bits that's not a multiple of 8):
123123

124124
```
125125
110000001 -> little-endian bit order

Diff for: docs/fork_choice.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ $$W_N = B_N + \sum_i^{i \in \text{children}[N]}W_i$$
5757

5858
In the previous scheme, there are two rewards:
5959

60-
- Proposer rewards, are given to a proposer when their block is included in the chain. This also adds an incentive for them to try to predict the most likely branch to be the canonical one.
60+
- Proposer rewards are given to a proposer when their block is included in the chain. This also adds an incentive for them to try to predict the most likely branch to be the canonical one.
6161
- Attester rewards, given if the blocks they attest to are included. They are smaller than proposer rewards.
6262

6363
These incentives, however, are not enough. To maximize their likelihood of getting rewards, they may misbehave:

0 commit comments

Comments
 (0)