The source code location of Fabric's account book file is as follows:
There is a test file in this directory. Use the following commands to test and observe the test results.
The test log shows that a folder /tmp/lstoreXXXXX will be created during the test. However, after the test is over, this folder cannot be seen. The reason is that there is a statement in the test function of store_test.go that deletes this folder. After commenting this sentence and testing again, you can see the ledger file generated by the test.
Find the source code location of the Fabric ledger file
Guess you like
Origin blog.csdn.net/qq_18807043/article/details/105536894
Ranking