This PR adds mithril-client to the mix and introduces a new env var BOOTSTRAP_DB to be passed to the container. It is set to True by default and will cause mithril client to download the current latest snapshot to the db directory.
This should lower the initial sync time of a node to a few minutes.
BOOTSTRAP_DB will have no effect if the db folder already exists. This is protective measure for restarting containers to prevent downloading a new snapshot when the db is already up to date.
This PR adds mithril-client to the mix and introduces a new env var
BOOTSTRAP_DB
to be passed to the container. It is set toTrue
by default and will cause mithril client to download the current latest snapshot to the db directory.This should lower the initial sync time of a node to a few minutes.
BOOTSTRAP_DB
will have no effect if the db folder already exists. This is protective measure for restarting containers to prevent downloading a new snapshot when the db is already up to date.