Skip to content

Commit

Permalink
excluding thin "chain" subsection and updating WinningPoSt text
Browse files Browse the repository at this point in the history
  • Loading branch information
yiannisbot committed Sep 30, 2020
1 parent 3517b10 commit 30f5f9a
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 134 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Block Producer
weight: 5
weight: 4
dashboardWeight: 1.5
dashboardState: reliable
dashboardAudit: missing
Expand All @@ -17,13 +17,9 @@ In order to do so, the miner must be running chain validation, and be keeping tr

### Block Creation

Producing a block for epoch `H` requires computing a tipset for epoch `H-1` (or possibly a prior epoch,
if no blocks were received for that epoch). Using the state produced by this tipset, a miner can
scratch winning ElectionPoSt ticket(s).
Armed with the requisite `ElectionPoStOutput`, as well as a new randomness ticket generated in this epoch, a miner can produce a new block.
Producing a block for epoch `H` requires waiting for the beacon entry for that epoch and using it to run `GenerateElectionProof`. If `WinCount` ≥ 1 (i.e., when the miner is elected), the same beacon entry is used to run `WinningPoSt`. Armed by the `ElectionProof` ticket (output of `GenerateElectionProof`) and the `WinningPoSt` proof, the miner can produce an new block.

See [VM Interpreter](interpreter) for details of parent tipset evaluation, and [Block](block) for constraints
on valid block header values.
See [VM Interpreter](interpreter) for details of parent tipset evaluation, and [Block](block) for constraints on valid block header values.

To create a block, the eligible miner must compute a few fields:

Expand Down
15 changes: 0 additions & 15 deletions content/systems/filecoin_blockchain/struct/chain/_index.md

This file was deleted.

44 changes: 0 additions & 44 deletions content/systems/filecoin_blockchain/struct/chain/chain.go

This file was deleted.

46 changes: 0 additions & 46 deletions content/systems/filecoin_blockchain/struct/chain/chain.id

This file was deleted.

20 changes: 0 additions & 20 deletions content/systems/filecoin_blockchain/struct/chain/tipset.id

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Chain Manager
weight: 4
weight: 3
dashboardWeight: 1.5
dashboardState: reliable
dashboardAudit: missing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The main Tipset structure in the Lotus implementation includes the following:
{{<embed src="https://github.com/filecoin-project/lotus/blob/master/chain/types/tipset.go" lang="go" symbol="TipSet">}}


Semantic validation of a Tipset is performed in:
Semantic validation of a Tipset includes the following checks.

{{<embed src="https://github.com/filecoin-project/lotus/blob/master/chain/types/tipset.go" lang="go" symbol="NewTipSet">}}

Expand Down

0 comments on commit 30f5f9a

Please sign in to comment.