Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in Blockchain by (4.1k points)

I was using this chaincode development guide to develop some chaincode and test it.

After killing the peer used to test the chaincode and restarting it the BlockChain did not restart (all the block were still there).

How do I remove the previous BlockChain data?

1 Answer

0 votes
by (14.4k points)

Data from a blockchain is basically stored in the following location: 

/var/hyperledger/production/db

Remove the contents of this storage location to be able to create a new blockchain. 

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers

500 comments

94.1k users

Browse Categories

...