Separate 10000 validators and tests

This commit is contained in:
Carl Beekhuizen 2019-08-15 15:43:56 +02:00
parent e864c2e92e
commit fd4468de5d
No known key found for this signature in database
GPG Key ID: D05CA176D0020646
3 changed files with 30001 additions and 29972 deletions

View File

@ -19,12 +19,11 @@ def generate_validator_keypairs(N: int) -> List[Dict]:
) % CURVE_ORDER
pubkey = privtopub(privkey)
keypairs.append({'privkey': privkey, 'pubkey': pubkey})
print(index)
return keypairs
if __name__ == '__main__':
keypairs = generate_validator_keypairs(10000)
keypairs = generate_validator_keypairs(10)
keypairs_yaml = dump(keypairs, Dumper=Dumper)
with open('keygen_test_vector.yaml', 'w') as f:
f.write(keypairs_yaml)

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff