-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Consensus Engine separation
ledgerwatch edited this page May 11, 2021
·
12 revisions
For choice rule can be thought of a partial order relationship among the set of possible headers. Being partial order, fork choice rule is:
- reflexive or irreflexive, depending on whether non-strict or strict definition is required. header
A
is either better than itself (non-strict,<=
), or not better than itself (strict,<
) - anti-symmetric. if
A
better thanB
, thenB
is worse thanA
) - transitive. if
A
better thanB
andB
is better than `
Core is asking the Consensus Engine to infer the relation between given headers, and perform topological sort.