1. First of all, you need to check the latest Waves Release. and choose the latest Mainnet release.
  2. Download the DEB or Jar file depending on your operating system.
  3. Upgrade DEB by running the following command:
    sudo dpkg -i waves_X.Y.Z_all.deb
  4. Or upgrade JAR by copying the new version over the old one
  5. Check the release notes. If there are new features to vote and activate, you will need to include that in the config.

Upgrading the Node

Basically, the node should be upgraded as follows:

  1. Stop the node
  2. Export all existing blocks in the blockchain to a binary file. Please read the documentation about export and import of the blockchain or download the binary file.
  3. Update node's executables
  4. Import binary file
  5. Start the node

Upgrading the Node to the Latest Version on Linux

  1. Stop the Node by executing the following command:
    sudo systemctl stop waves
  2. After stopping the node execute following command to export existing blocks to a binary file:
    sudo -u waves exporter /etc/waves/waves.conf [output-file-name] [height]
  3. Remove data folder:
    sudo rm -rdf /var/lib/waves/data
  4. Install the new version of the node:
    sudo dpkg -i waves_X.Y.Z_all.deb
  5. Import blocks from the binary file:
    sudo -u waves importer /etc/waves/waves.conf [binary-file-name]
  6. After import start the node:
    sudo systemctl start waves

Update the Configuration

Please, read the updated documentation of Waves node configuration file.

results matching ""

    No results matching ""