mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-09 09:14:32 +00:00
Opti-sync: extend optimistic node definition (#2955)
* Extend optimistic node definition * Update sync/optimistic.md Co-authored-by: terencechain <terence@prysmaticlabs.com> Co-authored-by: terencechain <terence@prysmaticlabs.com>
This commit is contained in:
parent
5d0f4af063
commit
1d0dce75b4
@ -122,8 +122,12 @@ def is_optimistic_candidate_block(opt_store: OptimisticStore, current_slot: Slot
|
||||
return False
|
||||
```
|
||||
|
||||
Let only a node which returns `is_optimistic(opt_store, head) is True` be an *optimistic
|
||||
node*. Let only a validator on an optimistic node be an *optimistic validator*.
|
||||
Let a node be an *optimistic node* if its fork choice is in one of the following states:
|
||||
1. `is_optimistic(opt_store, head) is True`
|
||||
2. Blocks from every viable (with respect to FFG) branch have transitioned from `NOT_VALIDATED` to `INVALIDATED`
|
||||
leaving the block tree without viable branches
|
||||
|
||||
Let only a validator on an optimistic node be an *optimistic validator*.
|
||||
|
||||
When this specification only defines behaviour for an optimistic
|
||||
node/validator, but *not* for the non-optimistic case, assume default
|
||||
|
Loading…
x
Reference in New Issue
Block a user