Skip to content

Commit

Permalink
[FAB-9513] Glossary: Add Smart Contract
Browse files Browse the repository at this point in the history
Added def of smart contract with link
to Chaincode. Updated the Chaincode
definition as well.

Change-Id: Ia40228c6ebf06b27f7f48820a57b5bfb254cd7d8
Signed-off-by: pama-ibm <[email protected]>
  • Loading branch information
pamandrejko committed Apr 23, 2018
1 parent 625c0cc commit 13e02da
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions docs/source/glossary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Glossary
===========================

Terminology is important, so that all Hyperledger Fabric users and developers
agree on what we mean by each specific term. What is chaincode, for example.
The documentation will reference the glossary as needed, but feel free to
read the entire thing in one sitting if you like; it's pretty enlightening!
agree on what we mean by each specific term. What is a smart contract for
example. The documentation will reference the glossary as needed, but feel free
to read the entire thing in one sitting if you like; it's pretty enlightening!

.. _Anchor-Peer:

Expand Down Expand Up @@ -46,8 +46,7 @@ file system.
Chaincode
---------

Chaincode is software, running on a ledger, to encode assets and the transaction
instructions (business logic) for modifying the assets.
See Smart-Contract_.

.. _Channel:

Expand Down Expand Up @@ -239,7 +238,6 @@ channel, who then distribute them to other peers within the same member cluster.
Ledger
------
THIS REQUIRES UPDATING
ADD SMART CONTRACT REFERENCE AND GLOSSARY ITEM

A ledger consists of two distinct, though related, parts -- a "blockchain" and
the "state database", also known as "world state". Unlike other ledgers,
Expand Down Expand Up @@ -370,6 +368,17 @@ Currently, the two officially supported SDKs are for Node.js and Java, while thr
more -- Python, Go and REST -- are not yet official but can still be downloaded
and tested.

.. _Smart-Contract:

Smart Contract
--------------

A smart contract is code -- invoked by a client application external to the
blockchain network -- that manages access and modifications to a set of
key-value pairs in the :ref:`World-State`. In Hyperledger Fabric, smart
contracts are referred to as chaincode. Smart contract chaincode is installed
onto peer nodes and instantiated to one or more channels.

.. _State-DB:

State Database
Expand Down

0 comments on commit 13e02da

Please sign in to comment.