官术网_书友最值得收藏!

How it works...

In this recipe, we learned how to use CouchDB as the state database with Hyperledger Fabric. We also looked at how to use CouchDB to deploy Marbles to the network.

Hyperledger Fabric supports two types of peer databases: LevelDB is the default state database embedded in the peer node and stores chaincode data as simple key-value pairs; and CouchDB is an optional alternate state database that supports rich queries when chaincode data values are modeled as JSON. This recipe describes the steps required to use CouchDB as the state database with Fabric. CouchDB is a JSON document datastore rather than a pure key-value store, therefore enabling indexing of the contents of the documents in the database.

In the last recipe, we will show you how to write your first smart contract application and deploy it into the blockchain.

主站蜘蛛池模板: 星子县| 福州市| 邓州市| 奉贤区| 通山县| 内乡县| 铅山县| 怀化市| 明星| 陵水| 密山市| 渝中区| 清河县| 平潭县| 昌乐县| 噶尔县| 黄大仙区| 额尔古纳市| 平江县| 兰溪市| 安西县| 台山市| 铅山县| 安图县| 遵义县| 瓦房店市| 昭苏县| 汨罗市| 嘉鱼县| 辉县市| 黄浦区| 盐边县| 沁阳市| 桂林市| 封开县| 长泰县| 东光县| 山东| 界首市| 全南县| 武定县|