Validator startup requires Golden storage-key material:
- A shared
setup-context.wire
- A shared
public-key-set.wire
- A distinct
secret-share.wire for each validator
- The corresponding 32-byte storage-key epoch
Currently, the only code that generates a complete key set (in the node repo) is the ignored storage_key::tests::write_insecure_golden_fixture test. That implementation is deterministic and hard-codes a two-of-three validator setup, making it unsuitable for bootstrapping a new network.
Add supported tool(s), preferably as a miden-validator subcommand, that generates and writes all the files that are required to bootstrap the network.
Steps to bootstrap should be added to the documentation as well.
@bobbinth, @huitseeker Please clarify how exactly the bootstrap procedure should be performed.
Validator startup requires Golden storage-key material:
setup-context.wirepublic-key-set.wiresecret-share.wirefor each validatorCurrently, the only code that generates a complete key set (in the node repo) is the ignored
storage_key::tests::write_insecure_golden_fixturetest. That implementation is deterministic and hard-codes a two-of-three validator setup, making it unsuitable for bootstrapping a new network.Add supported tool(s), preferably as a miden-validator subcommand, that generates and writes all the files that are required to bootstrap the network.
Steps to bootstrap should be added to the documentation as well.
@bobbinth, @huitseeker Please clarify how exactly the bootstrap procedure should be performed.