简体   繁体   中英

Private data collection in hyperledger fabric

Which database is used to store the private data in Hyperledger fabric? Is it the same instance of statedB as used while storing public data or something else?

It's by default uses leveldb provided by fabric as like as ledger. unless you choose couchdb for your network.

Private state data will be saved to the same state database as the public state data. If you choose CouchDB as the state database, the private data will also go to CouchDB. This enables the same queries against private data as public data.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM