Skip to content

Commit 62ef0eb

Browse files
committed
[FAB-9116] fabric_model.rst: Some typos/grammar fixes
- standardize on "key-value", not "key value" - some rewording for grammatical purposes Change-Id: Ib0105990acf54ad56f8ab87d5ae8c2d93fabdf19 Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
1 parent 2e0c661 commit 62ef0eb

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

docs/source/fabric_model.rst

+11-11
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ Chaincode
4444
---------
4545

4646
Chaincode is software defining an asset or assets, and the transaction instructions for
47-
modifying the asset(s). In other words, it's the business logic. Chaincode enforces the rules for reading
48-
or altering key value pairs or other state database information. Chaincode functions execute against
47+
modifying the asset(s); in other words, it's the business logic. Chaincode enforces the rules for reading
48+
or altering key-value pairs or other state database information. Chaincode functions execute against
4949
the ledger's current state database and are initiated through a transaction proposal. Chaincode execution
50-
results in a set of key value writes (write set) that can be submitted to the network and applied to
50+
results in a set of key-value writes (write set) that can be submitted to the network and applied to
5151
the ledger on all peers.
5252

5353
.. _Ledger-Features:
@@ -74,7 +74,7 @@ channel. Each peer maintains a copy of the ledger for each channel of which they
7474
- Prior to appending a block, a versioning check is performed to ensure that states for assets that were read have not changed since chaincode execution time
7575
- There is immutability once a transaction is validated and committed
7676
- A channel's ledger contains a configuration block defining policies, access control lists, and other pertinent information
77-
- Channel's contain :ref:`MSP` instances allowing for crypto materials to be derived from different certificate authorities
77+
- Channels contain :ref:`MSP` instances allowing for crypto materials to be derived from different certificate authorities
7878

7979
See the :doc:`ledger` topic for a deeper dive on the databases, storage structure, and "query-ability."
8080

@@ -85,9 +85,9 @@ Privacy through Channels
8585

8686
Hyperledger Fabric employs an immutable ledger on a per-channel basis, as well as
8787
chaincodes that can manipulate and modify the current state of assets (i.e. update
88-
key value pairs). A ledger exists in the scope of a channel - it can be shared
88+
key-value pairs). A ledger exists in the scope of a channel - it can be shared
8989
across the entire network (assuming every participant is operating on one common
90-
channel) - or it can be privatized to only include a specific set of participants.
90+
channel) - or it can be privatized to include only a specific set of participants.
9191

9292
In the latter scenario, these participants would create a separate channel and
9393
thereby isolate/segregate their transactions and ledger. In order to solve
@@ -99,8 +99,8 @@ a peer, it will not be able to properly interface with the ledger).
9999
To further obfuscate the data, values within chaincode can be encrypted
100100
(in part or in total) using common cryptographic algorithms such as AES before
101101
sending transactions to the ordering service and appending blocks to the ledger.
102-
Once encrypted data has been written to the ledger, it can only be decrypted by
103-
a user in possession of the corresponding key that was used to generate the cipher text.
102+
Once encrypted data has been written to the ledger, it can be decrypted only by
103+
a user in possession of the corresponding key that was used to generate the cipher text.
104104
For further details on chaincode encryption, see the :doc:`chaincode4ade` topic.
105105

106106
.. _Security-Membership-Services:
@@ -133,7 +133,7 @@ transaction flow, from proposal and endorsement, to ordering, validation and com
133133
In a nutshell, consensus is defined as the full-circle verification of the correctness of
134134
a set of transactions comprising a block.
135135

136-
Consensus is ultimately achieved when the order and results of a block's
136+
Consensus is achieved ultimately when the order and results of a block's
137137
transactions have met the explicit policy criteria checks. These checks and balances
138138
take place during the lifecycle of a transaction, and include the usage of
139139
endorsement policies to dictate which specific members must endorse a certain
@@ -150,10 +150,10 @@ executed against non-static variables.
150150
In addition to the multitude of endorsement, validity and versioning checks that
151151
take place, there are also ongoing identity verifications happening in all
152152
directions of the transaction flow. Access control lists are implemented on
153-
hierarchal layers of the network (ordering service down to channels), and
153+
hierarchical layers of the network (ordering service down to channels), and
154154
payloads are repeatedly signed, verified and authenticated as a transaction proposal passes
155155
through the different architectural components. To conclude, consensus is not
156-
merely limited to the agreed upon order of a batch of transactions, but rather,
156+
merely limited to the agreed upon order of a batch of transactions; rather,
157157
it is an overarching characterization that is achieved as a byproduct of the ongoing
158158
verifications that take place during a transaction's journey from proposal to
159159
commitment.

0 commit comments

Comments
 (0)