This first phase of endorsement determines whether a transaction should be accepted or rejected. The endorsement process works as follows:
- A client sends a signed proposal (transaction request) to the required peers.
- The endorsing peers execute the requested chaincode (smart contract) function on a specified channel, accessing the channel's ledger and world state.
- They capture the inputs and outputs and return them both as digitally signed Read and Write data, called RW sets, to the client. The execution itself is referred to as a "simulation," because the outputs are not persisted in the ledger until they are verified in the commitment phase.
The process also incorporates a transaction endorsement model. This model is designed ...