How can I delete a blockchain ?

+4 votes
asked Dec 16, 2015 by anonymous

1 Answer

+3 votes
 
Best answer

First stop it running then delete its directory. For example if the name is chain1:

multichain-cli chain1 stop

rm -r ~/.multichain/chain1

You need to do this on every node that was connected.

answered Dec 16, 2015 by MultiChain
does this still apply if i have offchain data? i'm trying to delete my chain but it seem there are some files i cannot delete even as `su`
All off-chain data is stored in that directory as well. If you are unable to delete some files, it is probably because your node is still running. You should stop the node using the 'kill' command.
...