Skip to content

Commit

Permalink
blockchain/chainsync: nit about chain weight
Browse files Browse the repository at this point in the history
  • Loading branch information
jbenet committed Oct 28, 2019
1 parent 1f98527 commit 899f8fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/systems/filecoin_blockchain/chainsync/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ group of smaller protocols, which handle different parts of the sync process.
`ChainSync` takes `LastCheckpoint` on faith, and builds on it, never switching away from its history.
- `TargetHeads` a list of `BlockCIDs` that represent blocks at the fringe of block production.
These are the newest and best blocks `ChainSync` knows about. They are "target" heads because
`ChainSync` will try to sync to them. This list is sorted by "likelihood of being the best chain".
`ChainSync` will try to sync to them. This list is sorted by "likelihood of being the best chain" (eg for now, simply `ChainWeight`)
- `BestTargetHead` the single best chain head `BlockCID` to try to sync to.
This is the first element of `TargetHeads`

Expand Down

0 comments on commit 899f8fc

Please sign in to comment.