Aditya Arora
Aditya Arora

Reputation: 303

Can we override discovered orderer with defined orderer in connection profile?

I am trying to connect Hyperledger Explorer with my fabric network hosted on Oracle Blockchain Service. To my surprise, service discovery is finding an orderer that does not belong to my network and gets timed out while retrieving the data. After looking into the codebase, I found that any orderer defined in the connection.yaml is not looked up. Can we override the discovered orderer with the orderer defined in my connection.yaml?

Upvotes: 0

Views: 99

Answers (1)

yacovm
yacovm

Reputation: 5140

Discovery returns the orderers from the channel configuration which is specified in the configtx.yaml.

Issue a config update transaction that changes the endpoints and it'll fix it.

Upvotes: 1

Related Questions