Updating a node

How to update the node software, and why the verifier must match the chain.

On this page
  1. Procedure
  2. Two things to know

Procedure#

  1. xlh node stop
  2. Install the new version the same way you installed the first one (installers arrive with the public network). Your data folder is not touched.
  3. xlh doctor, in particular the line "Verifier matches the chain".
  4. xlh node start

Two things to know#

  • The verifier belongs to the chain. A chain's proof program is fixed in its genesis.json. A verifier built for another proof program rejects every transaction of your chain, and xlh refuses to start the node with it. Release notes must name the proof image a verifier is for. A running chain's proof program is fixed.
  • xlh doctor remembers the checksum of the verifier you installed and reports if the file changes. After a deliberate update, run xlh verifier install --from <new file> --replace.

Updates are manual, so you decide when your node changes.

Lathen documentation.