HFCP practice question 4 of 15

In Hyperledger Fabric, CouchDB is enabled as the state database by changing the state Database configuration option from goleveldb to what?

Full set: 60 questions
Answer options
A: gocouchdb
B: setCouchDB
C: goCouch
D: CouchDB Correct answer
Correct Answer:
D. CouchDB
Explanation

In Hyperledger Fabric, to enable CouchDB as the state database, the stateDatabase configuration option in the core.yaml file must be changed from goleveldb to CouchDB. This change directs the peer to use CouchDB instead of the default LevelDB for storing the world state, which can then be queried using rich queries and provides additional features like indexing​​.

Scroll to Top