Where does Hyperledger Fabric store the database for the Blockchain [closed]

0 votes

I have hyperledger fabric network setup on my local machine with a single validating node. I am developing a chaincode and would like to clear my blockchain. I have read that the hyperledger fabric stores the database under /var/hyperledger. However, I do not see this hyperledger directory under /var. Is there another location for this directory? My development platform is MAC and I am using docker-compose to start my hyperledger fabric network.

Jul 13, 2018 in Blockchain by sabby
• 4,380 points

closed May 2, 2019 by Omkar 1,846 views
0 votes

The Hyperledger Fabric stores the database in /var/hyperledger/production/db within the file system for the validating peer. Navigation to the validating peer file system can be done by using a command like docker exec -it substitute_container_name bash.  You can follow the instructions at https://hub.docker.com/r/ibmblockchain/fabric-peer/ for using Hyperledger Docker images, then the database location should be /var/hyperledger/production/db.

answered Jul 13, 2018 by Perry
• 17,100 points

Related Questions In Blockchain

+1 vote
4 answers

Where does hyperledger fabric store the database for the blockchain?

The data of the Hyperledger Blockchain is ...READ MORE

answered Apr 29, 2019 in Blockchain by Tina
2,088 views
0 votes
1 answer
0 votes
1 answer

Where does Hyperledger fabric store the public key and private key of the user?

It signs the transaction (eg. initiated by ...READ MORE

answered Mar 24 in Blockchain by Rahul
• 9,680 points
108 views
0 votes
1 answer

Where does Hyperledger fabric store the public key and private key of the user?

It signs the transaction with its private key ...READ MORE

answered Apr 11 in Blockchain by Rahul
• 9,680 points
124 views
0 votes
1 answer
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 26,720 points
467 views
+1 vote
1 answer
+4 votes
4 answers

How does the blockchain verification process work?

First of all, when someone creates a ...READ MORE

answered Mar 26, 2018 in Blockchain by Perry
• 17,100 points
1,152 views
+16 votes
4 answers
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP