how does caliper use eventSource?


sukill
 

Here is part of my caliper network config file, configuring list of peers with eventSource option...

Does caliper register transaction events on all peers or one of those?

channels:
mychannel1:
configBinary: networks/fabric/config_raft/mychannel1.tx
created: false
orderers:
- orderer0.example.com
- orderer1.example.com
- orderer2.example.com
peers:
peer0.org0.example.com:
eventSource: true
peer1.org0.example.com:
eventSource: true
peer0.org1.example.com:
eventSource: true
peer1.org1.example.com:
eventSource: true
chaincodes:
- id: smallbank1
version: v0
language: golang
path: fabric/scenario/smallbank/go
- id: simple1
version: v0
language: golang
path: fabric/scenario/simple/go

Join fabric@lists.hyperledger.org to automatically receive all group messages.