Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

Commit

Permalink
spec/consensus: canonical vs subjective commit
Browse files Browse the repository at this point in the history
  • Loading branch information
melekes authored and erikgrinaker committed Aug 6, 2020
1 parent f9e7c2e commit bf55534
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions spec/consensus/consensus.md
Expand Up @@ -337,3 +337,13 @@ where two conflicting reorg-proposals are signed.
Assuming that the external coordination medium and protocol is robust,
it follows that forks are less of a concern than [censorship
attacks](#censorship-attacks).

### Canonical vs subjective commit

We distinguish between "canonical" and "subjective" commits. The latter is what
each validator sees locally when they decide to commit a block. The former is
what is included by the proposer of the next block in the `LastCommit` field of
the block. This is what makes it canonical and ensures everyone agrees on it,
even if its different from the first +2/3 votes they saw that caused them to
commit a block. Each block contains a canonical +2/3 commit for the previous
block.

0 comments on commit bf55534

Please sign in to comment.