Questions involving hyperledger/fabric-sdk-go which is a golang library for accessing hyperledger fabric networks.
Questions tagged [hyperledger-fabric-sdk-go]
68 questions
0
votes
2 answers
Connection timeout when installing chaincode using fabric-sdk-go
I have a problem that there is always a grpcs timeout when installing the chaincode using fabric-sdk-go. The GRCPS request is made from the local machine to its docker containers.
ErrorMsg:
lscc.getinstalledchaincodes failed: SendProposal failed:…

Dean Zhao
- 99
- 3
- 13
0
votes
1 answer
fabric-sdk-go connect failed
I start my network with “byfn.sh -m up”,and try to query and invoke the chaincode mycc with fabric-sdk-go. But i have an issue with following errors:
2018/05/24 09:24:06 Failed to create new channel client: event service creation failed: could not…

胡欣欣
- 11
- 3
-1
votes
0 answers
Error - configure MSP failed: sanitizeCert failed the supplied identity is not valid: x509: certificate signed by unknown authority
I was following minifab documentation and did the following steps:
minifab netup -e 7100 -i 2.4 -l go
minifab create,join
minifab install,approve,commit,initialize,discover,profilegen
minifab apprun -l go
Although, I get this output in the…

Pushp Vashisht
- 874
- 3
- 9
- 17
-1
votes
1 answer
Fabric SDK Go Conflict with Fabric 1.4.12 Protos - "Message Already Registered" Error
I'm encountering an issue while working with Hyperledger Fabric 1.4.12. The problem arises when I try to run my Go application, and it throws a panic with the following error message:
panic: proto: message msp.SerializedIdentity is already…

Mohamad Kh
- 1
- 3
-1
votes
1 answer
Get client identity fabric-contract-api-go
There's a method in fabric-contract-api-go for getting transaction initiator's Identity
func (ctx *TransactionContext) GetClientIdentity() cid.ClientIdentity
How'd we use it to return client ID when, e.g., create is invoked in this contract…

petrichor
- 1
- 2
-1
votes
1 answer
Does the block contain the generation time of the block?
Does the block contain the generation time of the block? How do I get it if it contains?
Where it is located?

xupter
- 61
- 3
-1
votes
1 answer
How to query the chaincode on Hyperledger Fabric Go SDK through targeted peers
In a hyperledger fabric network with multiple peers in an organization, Can I use Go SDK to query the chaincode through targetted peers from a particular organization?
I know I can query the chaincode using the channel package with the…

James
- 97
- 1
- 1
- 5
-2
votes
2 answers
How to download all the dependencies of fabric-sdk-go?
I used command "go get github.com/hyperledger/fabric-sdk-go" to download fabric-sdk-go and its dependencies. No error happened.
In the golang documentation( https://golang.org/cmd/go/#hdr-Download_and_install_packages_and_dependencies ), it said…

Lin Corey
- 141
- 11