Merge pull request #190 from terenc3t/patch-14

Added direct link for BLS12-381 spec
This commit is contained in:
Justin 2018-11-29 15:45:44 +00:00 committed by GitHub
commit 5f7a3d5ab3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -904,7 +904,7 @@ def get_new_validators(current_validators: List[ValidatorRecord],
val.balance += deposit_size
return new_validators, index
```
`BLSVerify` is a function for verifying a BLS12-381 signature, defined in the [BLS12-381 spec](https://github.com/ethereum/eth2.0-specs/blob/master/specs/bls_verify.md).
Now, to add a validator or top up an existing validator's balance:
```python
@ -939,7 +939,6 @@ def add_or_topup_validator(state: BeaconState,
return index
```
`BLSVerify` is a function for verifying a BLS12-381 signature, defined in the BLS12-381 spec.
### Routine for removing a validator