Questions tagged [hyperledger]

Hyperledger is an open source collaborative effort created to advance cross-industry blockchain technologies. It is a global collaboration, hosted by The Linux Foundation, including leaders in finance, banking, IoT, supply chain, manufacturing and technology.

Hyperledger is an open source collaborative effort created to advance cross-industry blockchain technologies. It is a global collaboration, hosted by The Linux Foundation, including leaders in finance, banking, IoT, supply chain, manufacturing and technology. (https://www.hyperledger.org/)

Code and documentation is available at: https://github.com/hyperledger

3942 questions
7
votes
2 answers

Hyperledger Fabric with docker not storing data after restart

I setup Hyperledger Fabric V0.6 with docker image. I wrote small chain code program and perform some operations. Data is getting stored and fetched on request from Hyperledger blockchain. I restart my chaincode program and data still persist.…
NGR
  • 1,230
  • 2
  • 15
  • 44
6
votes
3 answers

Hyperledger fabric 2.0 -chaincode as external service:Unknown chaincodeType: EXTERNAL

I am trying to set up the chain code as an external service as is specified in the official doc First thing is to set up the externalBuilder variable chaincode: externalBuilders: - name: my-golang-builder path: /builders/golang In my peer…
shamon shamsudeen
  • 5,466
  • 17
  • 64
  • 129
6
votes
5 answers

"Unrecognized option: --add-opens" Hyperledger Besu

I want to get started with Hyperledger Besu, after following the steps of the official documentation here and running the following command: bin\besu --help I get the following error: C:\Users\user\Desktop\besu-1.3.9>bin\besu --help Unrecognized…
Charbel Tabet
  • 98
  • 1
  • 1
  • 6
6
votes
1 answer

Can we run RAFT ordering node without tls in hyperledger fabric?

My current network has no TLS, deployed on Kubernetes. Currently, we are migrating from Kafka (1.4.0) to RAFT(1.4.4). TLS is not necessary for Kubernetes. Is it compulsory to have TLS enabled for the RAFT ordering node? If yes, Can I enable on the…
PAVAN
  • 771
  • 4
  • 14
6
votes
1 answer

Hyperledger fabric gRPC interaction

I've been messing around with gRPC and I was looking into building my own simple and comprehensive hyperledger fabric SDK in rust. I've looked everywhere for any gRPC spec of hyperledger fabric to see how we can reproduce the functionality of…
6
votes
2 answers

failed to create new connection: desc = transport: error while dialing: dial tcp 172.19.0.4:9051: connect: connection refused Hyperledger fabric

Can anyone help me fixing below error. I'm trying to install chaincode on peer via cli. I configured cli container correctly. But somehow Im getting this error.. grpc: addrConn.createTransport failed to connect to {peer0.org1.example.com:7051 0…
6
votes
0 answers

Hyperledger Fabric: ENDORSEMENT_MISMATCH on asset query

It seems like I misunderstand how Hyperledger Fabric processes a query. I'm currently using the fabric-go-sdk to query an asset from the ledger like asset, err := client.Query(channel.Request{ChaincodeID: someCCname, Fcn: "query", Args:…
Roper
  • 903
  • 1
  • 9
  • 17
6
votes
5 answers

Could not assemble transaction, err proposal response was not successful, error code 500, msg chaincode registration failed: container exited with 0

I'm trying to instantiate the chaincode, but an error happens, and I can not find solutions to it. ubuntu 18.04 hyperledger fabric 1.4.1 I've followed the document and it succeeded last week. The same code works well on another computer. Before…
jsdtLin
  • 69
  • 1
  • 3
6
votes
1 answer

Unable to communicate with orderer from peer hyperledger fabric

I am doing a setup of fabric using multinode environment with dynamic provision (dynamic pod allocation) over google cloud platform using native kubernetes engine. I am using helm for the deployment . So let me tell you the entity which are running…
6
votes
6 answers

Can a blockchain be Centralised? Will it be called as Blockchain if it is centralised?

I was reading lot of articles on blockchain and almost everyone has some different understanding of blockchain. Is there any accepted definition of Blockchain by any community? In few articles I read: Blockchains are Decentralised while DLTs…
Shubham Chadokar
  • 2,520
  • 1
  • 24
  • 45
6
votes
2 answers

Using HyperLedger Fabric with C++ Application

So I am considering HyperLedger Fabric to use with an application I have written in C++. From my understanding, the interactions i.e. posting retrieving data is all done in chaincode, in all of the examples I have seen this is invoked by using the…
6
votes
2 answers

Failed to setup IP tables: Unable to enable NAT rule

I am doing this tutorial: https://hyperledger.github.io/composer/latest/installing/development-tools Now i want to start the hyperledger fabric with ./startFabric.sh but then I get this error: dany@DESKTOP-IQB2P0B:~/fabric-dev-servers$…
6
votes
3 answers

In Hyperledger Fabric, how do I join a channel if I cannot use the peer channel fetch command?

I want to be able to have my peer join a channel (mychannel in this case). This specific peer does not have the mychannel.block file on its filesystem. What I then tried was to use peer channel fetch 0 -c mychannel. I then get the following…
Shiraaz.M
  • 3,073
  • 2
  • 24
  • 40
6
votes
3 answers

Data storage within hyperledger

I have started learning hyperledger. Became familiarised with it by creating a sample app using the composer playground. My doubt is regarding the decentralized storage using hyperledger. I have read some few docs which mentions about : Saving the…
Sooraj
  • 514
  • 4
  • 20
6
votes
3 answers

How do the different MSP roles (member, admin, peer, client) affect Hyperledger Fabric Endorsement policies?

On the endorsement policy syntax documentation on https://hyperledger-fabric.readthedocs.io/en/release-1.2/endorsement-policies.html it is stated that principals are defined as MSP.ROLE where MSP is the MSP ID and the ROLE is either member, admin,…