visor

package
v0.76.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2024 License: AGPL-3.0 Imports: 19 Imported by: 0

README

Vega Visor

A binaries runner for Core and Data Node that facilitates automatic protocol upgrades.

Features:

  • Visor is connected to core nodes and listens for protocol upgrades.
  • Visor allows you to run core and data node binaries based on custom configuration.
  • When a protocol upgrade is ready to be used, Visor automatically stops currently running binaries and starts new ones with the selected version.
  • Visor can be configured to automatically fetch binaries with the correct version during the upgrade.
  • Visor is highly configurable and allows you to configure the number of restarts, restarts delays, specific upgrade configuration and much more.

Architecture

Visor stores all its required config files and state in a home folder. The basic folder structure can be generated by visor init cmd or manually.

Home folder structure:
HOME_FOLDER_PATH
├── config.toml
├── current
├── genesis
│   └── run-config.toml
└── vX.X.X
    └── run-config.toml