0 votes
1 view
in Blockchain by (16.8k points)

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.

1 Answer

0 votes
by (14.5k points)

In general, Hyperledger Fabric stores the database in /var/hyperledger/production/db within the file system for the validating node. For navigating to the validating node, the following command can be used, 

docker exec -it substitute_container_name bash

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


Categories

...