Where does the hyperlester fabric store the database for the block chain?

I have set up a network of hyperligers on my local computer with a single node check. I am developing chained code and want to clear the blockchains. I read that hyperleger tissue stores the database under / var / hyperledger. However, I do not see this hyperlink directory in / var. Is there any other place for this directory? My development platform is MAC, and I use docker-compose to start a hypersecretory network.

+4
source share
2 answers

Hyperledger Fabric stores the database in / var / hyperledger / production / db on the file system for the validating partner. You can proceed to check the peer file system using the type command docker exec -it substitute_container_name bash. I do not know another database location. If you follow the instructions at https://hub.docker.com/r/ibmblockchain/fabric-peer/ to use Docker Hyperledger images, then the database location should be / var / hyperledger / production / db.

+2
source

-, - -, , , . , , . ,

no rows in result set

, CA. , , CA, .

0

Source: https://habr.com/ru/post/1666811/


All Articles