@@ -43,20 +43,25 @@ cryptographic credentials to produce a unique signature for this transaction pro
43
43
44
44
2. **Endorsing peers verify signature & execute the transaction **
45
45
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
50
55
results including a response value, read set, and write set. No updates are
51
56
made to the ledger at this point. The set of these values, along with the
52
57
endorsing peer’s signature and a YES/NO endorsement statement is passed back as
53
58
a “proposal response” to the SDK which parses the payload for the application to
54
59
consume.
55
60
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
57
62
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 .}*
60
65
61
66
62
67
.. image :: images/step3.png
@@ -78,7 +83,8 @@ and upheld at the commit validation phase.
78
83
The application “broadcasts” the transaction proposal and response within a
79
84
“transaction message” to the Ordering Service. The transaction will contain the
80
85
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
82
88
transactions from all channels in the network, orders them chronologically by
83
89
channel, and creates blocks of transactions per channel.
84
90
0 commit comments