Reputation: 1720
I have some doubts related to data registered in the ledger in HL Fabric v1.4.0.
Upvotes: 0
Views: 979
Reputation: 793
Data is not encrypted by default. The FAQ recommends using file system encryption on the peer to achieve this. If you're using private data collections or channels the data may be encrypted even without this.
The ledger is stored in a LevelDB database. The data can be found in
/var/hyperledger/production/ledgersData
(more here). A separate CouchDB database can also be used, in that case you can configure the storage location to your liking.
You can use the Hyperledger Fabric REST API SDK to query ledger data. Hyperledger Composer also provides a REST API for your business application. You could probably read the files directly as well, since they're basically LevelDB/CouchDB database files, although I've never tried that.
Upvotes: 2