What is ledger in Hyperledger Fabric?
A ledger is a key concept in Hyperledger Fabric; stores important factual information about business objects; both the current value of the objects’ attributes and the history of transactions that resulted in these current values.
Table of Contents
In what format is data stored in a ledger?
Blockchain data, also known as the ledger, is stored as a physical file. contains linked blocks, each block consists of a set of transactions. Every state change is stored there. In contrast, the world state only contains the current state of each asset, since that is what applications need.
How is a channel defined in Hyperledger Fabric?
Channels A Hyperledger Fabric channel is a private “subnetwork” of communication between two or more specific members of the network, for the purpose of conducting private and confidential transactions. A channel is defined by the members (organizations), the member-anchor peers, the shared ledger, the chaincode application(s), and the order serving node(s).
How to add an organization in Hyperledger Fabric?
Adding an organization is an update to the channel configuration, which can be done using the update peer channel client command. This is what the process looks like: get the latest config block for the channel: config blocks are special blocks in the channel blockchain that contain the full channel configuration.
How are peers created in a Hyperledger network?
In a Hyperledger Fabric network, there can be multiple ledgers. These ledgers are called channels, and each has its own set of peers that can participate, proposing and receiving transactions. Channels can be dynamically created and reconfigured. Pairs can also be added on the fly.
Why are configuration transactions important in Hyperledger Fabric?
Channel setup transactions are interesting because they affect the metadata about the channel rather than the world state data of the ledger. However, both configuration transactions (called configtx) and normal transactions are stored on the same blockchain.