You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to add a check-node-configuration command to cardano-cli to validate the hashes of genesis files in the node's configuration file. This will remove some work from cardano-testnet, and at the same time providing support to users. This has been discussed on input-output-hk/cardano-node-wiki#52.
Design decisions
The command is in the debug top-level entry, because it is not dependent upon an era.
The command has an optional --fix flag that will correct the hashes if they are incorrect, or write them if they are missing. By default this option is OFF, because we want this command to be a checker first and foremost.
If a genesis hash is present, but the path to the genesis file is missing, the command doesn't fail, but issues a warning on stdout.
byron is handled, and this is a pain, because its handling is different, but 🤷
The text was updated successfully, but these errors were encountered:
Context
We want to add a
check-node-configuration
command tocardano-cli
to validate the hashes of genesis files in the node's configuration file. This will remove some work fromcardano-testnet
, and at the same time providing support to users. This has been discussed on input-output-hk/cardano-node-wiki#52.Design decisions
debug
top-level entry, because it is not dependent upon an era.--fix
flag that will correct the hashes if they are incorrect, or write them if they are missing. By default this option is OFF, because we want this command to be a checker first and foremost.The text was updated successfully, but these errors were encountered: