How can I reset the blockchain without deleting it?

+2 votes
I neeed to make a presentation soon and I would like to keep the same blockchain (with all the parameters) and don't go through the hussle of reinstalling and reconfinguring it, but in the same time it'd like to delete all the blocks and transactions so that the blockchain would start back at block 0. Is that possible?
asked Jun 14, 2016 by anonymous

1 Answer

0 votes

You should look at the multichain-util clone command to create a new blockchain which is very similar to an old one. Before starting the new chain with multichaind you should still compare the multichain.conf files in the respective directories in ~/.multichain/ to check what has been changed, an see if you're comfortable with that.

More info on the clone command:

answered Jun 15, 2016 by MultiChain
I do this frequently using a docker container so that I can spin up and reset a multichain network very quickly.