Updating a node
How to update the node software, and why the verifier must match the chain.
On this page
Procedure#
xlh node stop- Install the new version the same way you installed the first one (installers arrive with the public network). Your data folder is not touched.
xlh doctor, in particular the line "Verifier matches the chain".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, andxlhrefuses 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 doctorremembers the checksum of the verifier you installed and reports if the file changes. After a deliberate update, runxlh verifier install --from <new file> --replace.
Updates are manual, so you decide when your node changes.