github.com/kaituanwang/hyperledger@v2.0.1+incompatible/docs/source/channels.rst (about)

     1  Channels
     2  ========
     3  
     4  A Hyperledger Fabric ``channel`` is a private "subnet" of communication between
     5  two or more specific network members, for the purpose of conducting private and
     6  confidential transactions. A channel is defined by members (organizations),
     7  anchor peers per member, the shared ledger, chaincode application(s) and the ordering service
     8  node(s). Each transaction on the network is executed on a channel, where each
     9  party must be authenticated and authorized to transact on that channel.
    10  Each peer that joins a channel, has its own identity given by a membership services provider (MSP),
    11  which authenticates each peer to its channel peers and services.
    12  
    13  To create a new channel, the client SDK calls configuration system chaincode
    14  and references properties such as ``anchor peers``, and members (organizations).
    15  This request creates a ``genesis block`` for the channel ledger, which stores configuration
    16  information about the channel policies, members and anchor peers. When adding a
    17  new member to an existing channel, either this genesis block, or if applicable,
    18  a more recent reconfiguration block, is shared with the new member.
    19  
    20  .. note:: See the :doc:`configtx` section for more details on the properties
    21            and proto structures of config transactions.
    22  
    23  The election of a ``leading peer`` for each member on a channel determines which
    24  peer communicates with the ordering service on behalf of the member. If no
    25  leader is identified, an algorithm can be used to identify the leader. The consensus
    26  service orders transactions and delivers them, in a block, to each leading peer,
    27  which then distributes the block to its member peers, and across the channel,
    28  using the ``gossip`` protocol.
    29  
    30  Although any one anchor peer can belong to multiple channels, and therefore
    31  maintain multiple ledgers, no ledger data can pass from one channel to another.
    32  This separation of ledgers, by channel, is defined and implemented by
    33  configuration chaincode, the identity membership service and the gossip data
    34  dissemination protocol. The dissemination of data, which includes information on
    35  transactions, ledger state and channel membership, is restricted to peers with
    36  verifiable membership on the channel. This isolation of peers and ledger data,
    37  by channel, allows network members that require private and confidential
    38  transactions to coexist with business competitors and other restricted members,
    39  on the same blockchain network.
    40  
    41  .. Licensed under Creative Commons Attribution 4.0 International License
    42     https://creativecommons.org/licenses/by/4.0/