Skip to content

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:

Terminal window
dolos bootstrap <method>

If no method is specified, an interactive prompt will let you choose.

Global Flags

These flags apply to all bootstrap methods:

flagdescriptiondefault
--forceClear existing data before bootstrappingfalse
--skip-if-dataSkip bootstrap if data already exists (exit 0)false
--continueContinue bootstrap even if data exists, trusting the subcommand to handle resumptionfalse
--verboseEnable verbose logging outputfalse

By default, dolos bootstrap will error if it detects existing data in storage. Use one of the flags above to control this behavior.

Bootstrap Methods