Skip to content

Commit

Permalink
chore(docs): fix typos (#12807)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaobei0715 authored Jan 6, 2025
1 parent bbd53a6 commit fc70735
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions blockstore/splitstore/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ To enable the splitstore, edit `.lotus/config.toml` and add the following:
EnableSplitstore = true
```

If you intend to use the discard coldstore, your also need to add the following:
If you intend to use the discard coldstore, you also need to add the following:
```
[Chainstore.Splitstore]
ColdStoreType = "discard"
Expand Down Expand Up @@ -84,7 +84,7 @@ can be substantial for full archival nodes.
All new writes are directed to the hotstore, while reads first hit the
hotstore, with fallback to the coldstore.

Once 5 finalities have ellapsed, and every finality henceforth, the
Once 5 finalities have elapsed, and every finality henceforth, the
blockstore _compacts_. Compaction is the process of moving all
unreachable objects within the last 4 finalities from the hotstore to
the coldstore. If the system is configured with a discard coldstore,
Expand All @@ -102,7 +102,7 @@ Compaction works transactionally with the following algorithm:
- We collect cold objects by iterating through the hotstore and checking the mark set; if an object is not marked, then it is candidate for purge.
- When running with a coldstore, we next copy all cold objects to the coldstore.
- At this point we are ready to begin purging:
- We sort cold objects heaviest first, so as to never delete the consituents of a DAG before the DAG itself (which would leave dangling references)
- We sort cold objects heaviest first, so as to never delete the constituents of a DAG before the DAG itself (which would leave dangling references)
- We delete in small batches taking a lock; each batch is checked again for marks, from the concurrent transactional mark, so as to never delete anything live
- We then end the transaction and compact/gc the hotstore.

Expand Down
2 changes: 1 addition & 1 deletion blockstore/splitstore/splitstore_compact.go
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ func (s *SplitStore) applyProtectors() error {
// - We collect cold objects by iterating through the hotstore and checking the mark set; if an object is not marked, then it is candidate for purge.
// - When running with a coldstore, we next copy all cold objects to the coldstore.
// - At this point we are ready to begin purging:
// - We sort cold objects heaviest first, so as to never delete the consituents of a DAG before the DAG itself (which would leave dangling references)
// - We sort cold objects heaviest first, so as to never delete the constituents of a DAG before the DAG itself (which would leave dangling references)
// - We delete in small batches taking a lock; each batch is checked again for marks, from the concurrent transactional mark, so as to never delete anything live
//
// - We then end the transaction and compact/gc the hotstore.
Expand Down
2 changes: 1 addition & 1 deletion cmd/lotus-stats/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ The default username and password for grafana are both `admin`.
## Updating the dashboard

After importing the provided dashboard in `chain.dashboard.json`, you may make changes to the dashboard. To export
the dashboard to be commited back to the project, make sure the option "sharing externally" is toggled on.
the dashboard to be committed back to the project, make sure the option "sharing externally" is toggled on.
6 changes: 3 additions & 3 deletions documentation/changelog/CHANGELOG_0.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ This is a consensus-breaking hotfix that addresses an issue in specs-actors v2.0
- sync unmark-bad --all (https://github.com/filecoin-project/lotus/pull/4296)
- decode parameters for multisig transactions in inspect (https://github.com/filecoin-project/lotus/pull/4312)
- Chain is love (https://github.com/filecoin-project/lotus/pull/4321)
- lotus-stats: optmize getting miner power (https://github.com/filecoin-project/lotus/pull/4315)
- lotus-stats: optimize getting miner power (https://github.com/filecoin-project/lotus/pull/4315)
- implement tape upgrade (https://github.com/filecoin-project/lotus/pull/4322)

# 0.9.1 / 2020-10-10
Expand Down Expand Up @@ -453,7 +453,7 @@ This release introduces some critical fixes to message selection and gas estimat

#### Core Lotus

- Don't use latency as initital estimate for blocksync (https://github.com/filecoin-project/lotus/pull/3648)
- Don't use latency as initial estimate for blocksync (https://github.com/filecoin-project/lotus/pull/3648)
- Add niceSleep 1 second when drand errors (https://github.com/filecoin-project/lotus/pull/3664)
- Fix isChainNearSync check in block validator (https://github.com/filecoin-project/lotus/pull/3650)
- Add peer to peer manager before fetching the tipset (https://github.com/filecoin-project/lotus/pull/3667)
Expand Down Expand Up @@ -761,7 +761,7 @@ fit into the sector capacity. This should increase the packing efficiency of min

### Renamed features

To improve the user experience, we updated several names to mainatin
To improve the user experience, we updated several names to maintain
standard prefixing, and to better reflect the meaning of the features being referenced.

In particular, the Lotus miner binary is now called `lotus-miner`, the default
Expand Down

0 comments on commit fc70735

Please sign in to comment.