This commit is contained in:
Hsiao-Wei Wang 2018-12-13 01:35:11 +08:00
parent 2a87cee15f
commit 92b9253ecb
No known key found for this signature in database
GPG Key ID: 95B070122902DEA4
1 changed files with 4 additions and 4 deletions

View File

@ -723,7 +723,7 @@ The hash function is denoted by `hash`. In Phase 0 the beacon chain is deployed
Note: We aim to migrate to a S[T/N]ARK-friendly hash function in a future Ethereum 2.0 deployment phase.
#### `is_active_validator`
```python
```python
def is_active_validator(validator: ValidatorRecord) -> bool:
"""
Checks if ``validator`` is active.
@ -1449,7 +1449,7 @@ For each `exit` in `block.body.exits`:
* Run `process_ejections(state)`.
```python
```python
def process_ejections(state: BeaconState) -> None:
"""
Iterate through the validator registry