Open winder opened 1 year ago
Related to #2048
Falcon keys are separate from participation keys. Falcon key generation is the slow part.
We should also write a little benchmark for this, since it's a performance-related issue. Doesn't have to be super robust but we would like to know just how much it saves us.
Do we generate them concurrently today?
unsubscribe
Problem
Private network startup is slow. A major culprit is Falcon key generation.
The Falcon key generation phase is very slow, so most private networks need to use a small number of participation keys. This causes networks to quickly stall, especially in tests that use dev-mode to quickly generate many rounds.
Solution
This problem could be solved by providing pre-generated keys when creating a new private network:
goal network create
to accept a path to pre-generated keys.goal network
subcommand.There are other alternatives, for example: