The distributed ledger and world state

The Hyperledger Fabric platform uses two types of data structures on its blockchain: a world state and a distributed ledger. The world state represents the latest state of the blockchain, and it is modeled as a versioned key/value store (KVS). It stores its keys as simple names or composites (that is, constructed keys) and values as arbitrary blobs, which often represent JSON documents. These entries can be manipulated by the chaincodes (smart contracts) running on the blockchain. A client application can execute these chaincodes through PUT and GET KVS-operations via the shim API. Keys in the KVS are partitioned and belong to a particular chaincode, which can easily be recognized from their names. This ...

Get Blockchain across Oracle now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.