Skip to content

Commit f6d6663

Browse files
committed
minor fix
1 parent 537c9c8 commit f6d6663

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/src/advanced_database.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ more detail below).
1414
The full states upon which blocks are replayed are referred to as _snapshots_ in the case of the
1515
freezer DB, and _epoch boundary states_ in the case of the hot DB.
1616

17-
The frequency at which the hot database stores full `BeaconState`s is fixed to one-state-per-epoch
17+
The frequency at which the hot database stores full `BeaconState` is fixed to one-state-per-epoch
1818
in order to keep loads of recent states performant. For the freezer DB, the frequency is
1919
configurable via the `--hierarchy-exponents` CLI flag, which is the topic of the next section.
2020

@@ -56,7 +56,7 @@ that we have observed are:
5656
_a lot_ of space. It's even possible to push beyond that with `--hierarchy-exponents 0` which
5757
would store a full state every single slot (NOT RECOMMENDED).
5858
- **Less diff layers are not necessarily faster**. One might expect that the fewer diff layers there
59-
are, the less work Lighthouse would have to do to reconstruct any particular state. In practise
59+
are, the less work Lighthouse would have to do to reconstruct any particular state. In practice
6060
this seems to be offset by the increased size of diffs in each layer making the diffs take longer
6161
to apply. We observed no significant performance benefit from `--hierarchy-exponents 5,7,11`, and
6262
a substantial increase in space consumed.

0 commit comments

Comments
 (0)