Where does Hyperledger Fabric store the database for the Blockchain and where do i can see it and how

0 votes
I have a hyperledger fabric network setup on my local machine with a single validating node.and I'm initiating a simple transaction, and my doubt is where the data will store? (according to my knowledge it will store in CouchDB) and how can I access the data and where I can see that database in the local machine?
Apr 5 in Blockchain by Aditya
• 7,280 points
105 views

1 answer to this question.

0 votes

Hyperledger fabric supports LevelDB and CouchDB as state databases, LevelDB is the default state database embedded in the peer process and stores chaincode data as key-value pairs. CouchDB is an optional alternative external state database that provides additional query support when your chaincode data is modelled as JSON, permitting rich queries of the JSON content. If you're using CouchDB as your state database you can use a built-in administration interface to see the records, in your browser try to access http://localhost:5984/_utils/ here 5984 is the default port for CouchDB.

More resources

  1. Ledger

  2. CouchDB as the State Database

  3. Using CouchDB

answered Apr 7 by Rahul
• 8,980 points

Related Questions In Blockchain

+1 vote
4 answers

Where does hyperledger fabric store the database for the blockchain?

The data of the Hyperledger Blockchain is ...READ MORE

answered Apr 29, 2019 in Blockchain by Tina
1,979 views
0 votes
1 answer

Where does Hyperledger Fabric store the database for the Blockchain?

The Hyperledger Fabric stores the database in ...READ MORE

answered Jul 13, 2018 in Blockchain by Perry
• 17,100 points
1,755 views
0 votes
1 answer

Where can I find the reference format for crypto-config.yaml and configtx.yaml Hyperledger Fabric files?

The sample config files in the Hyperledger Fabric main ...READ MORE

answered Jun 27, 2018 in Blockchain by aryya
• 7,440 points
798 views
+2 votes
2 answers

How can I traverse the blocks of transactions in hyperledger fabric?

For hyperledger fabric you can use query ...READ MORE

answered May 8, 2018 in Blockchain by Rachel
4,005 views
0 votes
1 answer
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 26,720 points
429 views
+1 vote
1 answer
0 votes
1 answer
0 votes
1 answer

Where does Hyperledger fabric store the public key and private key of the user?

It signs the transaction with its private key ...READ MORE

answered Apr 11 in Blockchain by Rahul
• 8,980 points
40 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP