How to upgrade?

+2 votes

My chain is on alpha 26. How do I upgrade to newest version? I can't find any docs on it.

Update:

I found this,

Upgrading MultiChain

  1. Stop any running nodes: multichain-cli [chain-name] stop  (on Linux use ps -x to check for multichaind processes).
  2. Follow the regular installation instructions, overwriting the older executables.
  3. Restart any nodes required: multichaind [chain-name] -daemon

I upgraded 3 nodes to newest version following above. Seems to be running because I can get info cli mode and getinfo and listaddresses etc. 

 

Two new issues popped up that could be related to the upgrade. Please advise.

1. No more blocks are being mined. All 3 nodes are "stuck" on same block when I do "getinfo". I see "miningpaused" : false (After more testing this seems to be the desired behavior now since blocks are mostly empty. Correct? When doing "sendasset" I now get more blocks created then it seems to stop again.)

2. The protocol is still on version 10006 when its says it should be on 10008 (looks like this isn't fixable? Found this https://www.multichain.com/developers/deprecated-protocols/  What do we do with older chains with assets on them?)

 

asked Aug 8, 2017 by matttrainer
edited Aug 9, 2017 by matttrainer

1 Answer

+1 vote

Glad you found the upgrading documentation. Yes, newer versions of MultiChain apply logic to stop mining empty blocks - you can change this with the mineemptyrounds runtime parameter.

As for upgrading the protocol on an existing blockchain, this will only be possible with chains running protocol 10008 or later. But MultiChain will continue supporting the old protocols for quite some time.

answered Aug 9, 2017 by MultiChain
So what's the recommendation for people running older chains? Should be start a new one with newest protocol and somehow update new one with data from the old one? What do you suggest?

My old one has a lot of blocks mined but not much data other than that and testing. I'd hate to lose the blocks that have been mined but I guess its not a big deal. I was hoping to use the blocks mined as a "currency" of sorts.
...