Skip to content

Commit

Permalink
[FAB-10738] Fix typo in some rst files
Browse files Browse the repository at this point in the history
At the master branch of fabric git repository, fix typo in
 docs/source/private_data_tutorial.rst
 and docs/source/couchdb_tutorial.rst:

In private_data_tutorial.rst: "defintion" to "definition"
In couchdb_tutorial.rst: "defintion" to "definition",
                         "atrribute" to "attribute"
                         and "prerequiste" to "prerequisite".

Change-Id: I182d37ecfa058febce7299a32cf1f7801d626bc4
Signed-off-by: Daisuke IIZUKA <[email protected]>
  • Loading branch information
Daisuke IIZUKA committed Jun 21, 2018
1 parent 4234843 commit 1ec2d81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/source/couchdb_tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Throughout this tutorial we will use the `Marbles sample <https://github.com/hyp
as our use case to demonstrate how to use CouchDB with Fabric and will deploy
Marbles to the :doc:`build_network` (BYFN) tutorial network. You should have
completed the task :doc:`install`. However, running the BYFN tutorial is not
a prerequiste for this tutorial, instead the necessary commands are provided
a prerequisite for this tutorial, instead the necessary commands are provided
throughout this tutorial to use the network.

Why CouchDB?
Expand Down Expand Up @@ -184,7 +184,7 @@ and includes the ``ddoc`` attribute:
In the example above, if the design document ``indexOwnerDoc`` does not already
exist, it is automatically created when the index is deployed. An index can be
constructed with one or more attributes specified in the list of fields and
any combination of attributes can be specified. An atrribute can exist in
any combination of attributes can be specified. An attribute can exist in
multiple indexes for the same docType. In the following example, ``index1``
only includes the attribute ``owner``, ``index2`` includes the attributes
``owner and color`` and ``index3`` includes the attributes ``owner, color and
Expand Down Expand Up @@ -502,7 +502,7 @@ Update an Index
It may be necessary to update an index over time. The same index may exist in
subsequent versions of the chaincode that gets installed. In order for an index
to be updated, the original index defintion must have included the design
to be updated, the original index definition must have included the design
document ``ddoc`` attribute and an index name. To update an index definition,
use the same index name but alter the index definition. Simply edit the index
JSON file and add or remove fields from the index. Fabric only supports the
Expand Down
2 changes: 1 addition & 1 deletion docs/source/private_data_tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ information, such as the pricing data in our example, that the transacting
parties don't want disclosed to other organizations on the channel. Thus, it
has a limited lifespan, and can be purged after existing unchanged on the
blockchain for a designated number of blocks using the ``blockToLive`` property
in the collection defintion.
in the collection definition.

Our ``collectionMarblePrivateDetails`` definition has a ``blockToLive``
property value of three meaning this data will live on the side database for
Expand Down

0 comments on commit 1ec2d81

Please sign in to comment.