Offer import YAML option instead of calculating

This commit is contained in:
Carl Beekhuizen 2019-08-15 15:37:51 +02:00
parent a628acafc2
commit e864c2e92e
No known key found for this signature in database
GPG Key ID: D05CA176D0020646
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,8 @@
## Pubkey/privkey generation
There is a compute/storage tradeoff to be made here between calculating the required validators and reading them from a YAML file (which doubles as the test vectors) and it is left up to implementors to choose which they prefer.
The following script is used to generated pubkey/privkeys for the first `N` validators. The `i`-th deposit/validator index uses the `validator_index_to_pubkey[i]` pubkey and associated privkey.
```python