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

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.

主站蜘蛛池模板: 巴彦县| 阳江市| 巨鹿县| 平遥县| 新蔡县| 唐河县| 德州市| 浦北县| 咸宁市| 乳山市| 怀化市| 高安市| 三门峡市| 无为县| 公主岭市| 海门市| 甘德县| 梓潼县| 枝江市| 抚顺县| 长海县| 宁陵县| 奇台县| 遂平县| 株洲县| 无为县| 剑川县| 正安县| 吴堡县| 唐海县| 宝应县| 文昌市| 桐柏县| 洛阳市| 苍梧县| 修水县| 刚察县| 万盛区| 沙田区| 鞍山市| 买车|