Where does hyperledger fabric store the database for the blockchain?

后端 未结 2 1781
悲&欢浪女
悲&欢浪女 2021-02-09 02:45

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

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-09 03:26

    To clear the blockchain, the easiest way is to stop and run docker container again, given that you only have 1 validator peer you should not be worried about data consistency. Also, try to use the latest version of fabric releases since they improved a lot these kind of problems. And regarding the issue,

    no rows in result set

    make sure that youe have specified the right organization name and department when requesting user validation agains CA. The parameters you send, must exist on CA database, otherwise, you will receive that error.

提交回复
热议问题