Explain more on on_reused_index

This commit is contained in:
Suphanat Chunhapanya 2023-07-18 19:55:18 +07:00
parent 3ed0619951
commit d8b023c5d8

View File

@ -22,7 +22,7 @@ This is the modification of the fork choice according to EIP-6914.
A new handler is added with this upgrade: A new handler is added with this upgrade:
- `on_reused_index(store, index)` whenever a validator index `index: ValidatorIndex` is reused - `on_reused_index(store, index)` whenever a validator index `index: ValidatorIndex` is reused. That is, [`get_index_for_new_validator()`](./beacon-chain.md#get_index_for_new_validator) provides an index due to a return value of `True` from [`is_reusable_validator()`](./beacon-chain.md#is_reusable_validator).
This new handler is used to update the list of equivocating indices to be synchronized with the canonical chain. This new handler is used to update the list of equivocating indices to be synchronized with the canonical chain.