You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[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>
Copy file name to clipboardexpand all lines: docs/source/fabric_model.rst
+11-11
Original file line number
Diff line number
Diff line change
@@ -44,10 +44,10 @@ Chaincode
44
44
---------
45
45
46
46
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 keyvalue 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
49
49
the ledger's current state database and are initiated through a transaction proposal. Chaincode execution
50
-
results in a set of keyvalue 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
51
51
the ledger on all peers.
52
52
53
53
.. _Ledger-Features:
@@ -74,7 +74,7 @@ channel. Each peer maintains a copy of the ledger for each channel of which they
74
74
- 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
75
75
- There is immutability once a transaction is validated and committed
76
76
- 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
78
78
79
79
See the :doc:`ledger` topic for a deeper dive on the databases, storage structure, and "query-ability."
80
80
@@ -85,9 +85,9 @@ Privacy through Channels
85
85
86
86
Hyperledger Fabric employs an immutable ledger on a per-channel basis, as well as
87
87
chaincodes that can manipulate and modify the current state of assets (i.e. update
88
-
keyvalue 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
89
89
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.
91
91
92
92
In the latter scenario, these participants would create a separate channel and
93
93
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).
99
99
To further obfuscate the data, values within chaincode can be encrypted
100
100
(in part or in total) using common cryptographic algorithms such as AES before
101
101
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.
104
104
For further details on chaincode encryption, see the :doc:`chaincode4ade` topic.
105
105
106
106
.. _Security-Membership-Services:
@@ -133,7 +133,7 @@ transaction flow, from proposal and endorsement, to ordering, validation and com
133
133
In a nutshell, consensus is defined as the full-circle verification of the correctness of
134
134
a set of transactions comprising a block.
135
135
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
137
137
transactions have met the explicit policy criteria checks. These checks and balances
138
138
take place during the lifecycle of a transaction, and include the usage of
139
139
endorsement policies to dictate which specific members must endorse a certain
@@ -150,10 +150,10 @@ executed against non-static variables.
150
150
In addition to the multitude of endorsement, validity and versioning checks that
151
151
take place, there are also ongoing identity verifications happening in all
152
152
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
154
154
payloads are repeatedly signed, verified and authenticated as a transaction proposal passes
155
155
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,
157
157
it is an overarching characterization that is achieved as a byproduct of the ongoing
158
158
verifications that take place during a transaction's journey from proposal to
0 commit comments