added link for BLS12-381 bls_verify spec

This commit is contained in:
terence tsao 2018-11-29 06:18:31 -08:00 committed by GitHub
parent 698283ee86
commit 3b62508610
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