Invalid parameter set for blockchain wont allow me to run multichaind -daemon

+2 votes
I tried to restart my multichaind client by running multichaind <chainname> -daemon after stopping it and received the following error:

ERROR: Parameter set for blockchain <chainname> is invalid. You may generate new net
work using these parameters by running:

multichain-util clone <chainname> <new-blockchain-name>

What causes the parameters to be invalid if i have not changed any parameters of the blockchain? How can i prevent this from happening in a live production environment?
asked Jul 26, 2017 by RobertJ

1 Answer

+2 votes
 
Best answer

This should certainly not happen under normal circumstances. Two possible causes:

  • You upgraded MultiChain – some later versions check more things in the parameter set than earlier versions, for example that the total quantity to be issued of the chain's native asset won't cause an integer overflow.
  • You accidentally modified the parameter set file in params.dat, or overwrote it.

If neither of these explanations makes sense, please post the params.dat file for this chain here, and we can see what might be causing the problem.

answered Jul 26, 2017 by MultiChain
selected Jul 27, 2017 by RobertJ
Thanks for the answer,

I did recover the chain and its data by recreating my params.dat file from the params.dat.bak.

I had some incorrect values in the original params.dat. I cloned all config items in the params.dat.bak file and copied the genesis block data to the new params.dat file. This concludes that the params.dat has been changed or edited but i dont remember changing it in anyway.

This solved the issue for me and i could run the multichaind client again.
Great, thanks for the update.
...