Skip to content

Commit a865823

Browse files
committed
[FAB-4321] Transaction Flow Fix
This change-set fixes the parts of the document that do not reflect the current way fabric works. Change-Id: I9eb3c40ff0ae78cc11376008449a1a98049d3865 Signed-off-by: Angelo De Caro <[email protected]>
1 parent 3b40efa commit a865823

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

docs/source/txflow.rst

+14-8
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,25 @@ cryptographic credentials to produce a unique signature for this transaction pro
4343

4444
2. **Endorsing peers verify signature & execute the transaction**
4545

46-
The endorsing peers verify the signature (using MSP) and determine if the
47-
submitter is properly authorized to perform the proposed operation (using the
48-
channel's ACL). The endorsing peers take the transaction proposal arguments as
49-
inputs and execute them against the current state database to produce transaction
46+
The endorsing peers verify (1) that the transaction proposal is well formed,
47+
(2) it has not been submitted already in the past (replay-attack protection),
48+
(3) the signature is valid (using MSP), and (4) that the
49+
submitter (Client A, in the example) is properly authorized to perform
50+
the proposed operation on that channel (namely, each endorsing peer ensures that
51+
the submitter satisfies the channel's *Writers* policy).
52+
The endorsing peers take the transaction proposal inputs as
53+
arguments to the invoked chaincode's function. The chaincode is then
54+
executed against the current state database to produce transaction
5055
results including a response value, read set, and write set. No updates are
5156
made to the ledger at this point. The set of these values, along with the
5257
endorsing peer’s signature and a YES/NO endorsement statement is passed back as
5358
a “proposal response” to the SDK which parses the payload for the application to
5459
consume.
5560

56-
*{The MSP is a local process running on the peers which allows them to verify
61+
*{The MSP is a peer component that allows them to verify
5762
transaction requests arriving from clients and to sign transaction results(endorsements).
58-
The ACL (Access Control List) is defined at channel creation time, and determines
59-
which peers and end users are permitted to perform certain actions.}*
63+
The *Writing* policy is defined at channel creation time, and determines
64+
which user is entitled to submit a transaction to that channel.}*
6065

6166

6267
.. image:: images/step3.png
@@ -78,7 +83,8 @@ and upheld at the commit validation phase.
7883
The application “broadcasts” the transaction proposal and response within a
7984
“transaction message” to the Ordering Service. The transaction will contain the
8085
read/write sets, the endorsing peers signatures and the Channel ID. The
81-
Ordering Service does not read the transaction details, it simply receives
86+
Ordering Service does not need to inspect the entire content of a transaction in order to perform
87+
its operation, it simply receives
8288
transactions from all channels in the network, orders them chronologically by
8389
channel, and creates blocks of transactions per channel.
8490

0 commit comments

Comments
 (0)