Where does hyperledger fabric store the database for the blockchain?

Blockchain

Hi. I need to know where the Hyperledger fabric stores the database of the Blockchain. I am trying to develop a new chaincode and so I want to clean up the existing Blockchain. I am working on Ubuntu machine and want to delete the relevant files of Hyperledger fabric. So can you tell me where the files of Hyperledger is stored?


If you want to unleash your potential in this competitive field, please visit the Blockchain course page for more information, where you can find the Blockchain tutorials and Blockchain frequently asked interview questions and answers as well.

1
Answers

Replies

The data of the Hyperledger Blockchain is stored in the folderĀ 


/var/hyperledger/production/db. You need to go to this directory:


$ cd /var/hyperledger/production/db


And then you can remove the files from it.


$ rm -rf *

 
 

This topic has been locked/unapproved. No replies allowed

Login to participate in this discussion.

Leave a reply

Before proceeding, please check your email for a verification link. If you did not receive the email, click here to request another.
WhatsApp
To Top