Bootstrap Procedure
In the context of Dolos, we use the term bootstrap to refer to the process of updating Dolos with the current state of the chain. This is usually a long process that involves processing a lot of data. There are ways to speed up the process.
The bootstrap command uses subcommands to select the method:
dolos bootstrap <method>If no method is specified, an interactive prompt will let you choose.
Global Flags
These flags apply to all bootstrap methods:
| flag | description | default |
|---|---|---|
--force | Clear existing data before bootstrapping | false |
--skip-if-data | Skip bootstrap if data already exists (exit 0) | false |
--continue | Continue bootstrap even if data exists, trusting the subcommand to handle resumption | false |
--verbose | Enable verbose logging output | false |
By default, dolos bootstrap will error if it detects existing data in storage. Use one of the flags above to control this behavior.