hyperledger-labs / orion-sdk-go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use GetServerStatus instead of GetConfig when applicable

tock-ibm opened this issue · comments

Use the ClusterStatus to get the configured Nodes and their certificates, leader, and active nodes:
GetClusterStatus = "/config/cluster"

This is available to all users.

The GetConfig will be limited to admin users in a future release, and should be used only to configure the cluster, not to discover the cluster endpoints.
GetConfig = "/config/tx"