Section4.2.1 zhiguo's notes
Summary:
11/10
19. innerBroadcast is changed to sending messages to commChan:
instance.commChan <- &types.PbftMessage{Payload: &types.PbftMessage_Commit{Commit: commit}}instance.innerBroadcast(&Message{&Message_Commit{commit}})07/10
17. two channels are used for communication:
18. Message format problem
01/10
14. util.go of fabric contains a hash function, which is used for hashing Request and RequestBatch.
15. RequestBatch --> Candidate Block. reqBatchStore --> blockStore
16. ChainConfig() ---> add one more parameter as one more engine is added.
30/09
13. pset: prepared or not for a node; qset: prepared or not for a node
28/09
12. protobuf install:
27/09
11. 消息类别定义Message_CONSENSUS定义在photos目录下的fabric.pb.go文件中,由proton编译而成,
10. golang protobuffer reference
26/09
9. Message format revision:
8. Some unknown things:
7. in pbft-core.go add ProtocolManager, but vscode cannot find its definition. Method to resolve it:
22/09
6. timer mechanism:
5. we do not need batch, because we process candidate block with PBFT algorithm
4. checkpoint, state related codes should be commented all
21/09
1. in ethereum, no need to execute txs or contracts
2. in pbft, each transaction/contract is executed after consensus (need to call chaincode.ApplyTransaction)
Last updated