Questions tagged [hyperledger-fabric]

Hyperledger Fabric is an implementation of blockchain technology. Use this tag for questions about this project.

Use this tag for questions about this project.

Another good idea is to reach out to the community at

Documentation can be found at

Refer development lifecycle and officially provided resources at

6206 questions
6
votes
2 answers

what is read set and write set in Hyperledger Fabric 1.0?

I am confused to understand what is read and write set in fabric 1.0, Kindly someone explain by taking example if possible.
deepak parmar
  • 691
  • 1
  • 6
  • 20
6
votes
5 answers

ltdl.h Not found error while building chaincode

I am trying to build a chaincode by using go build. when i run Go build command its reporting .\hyperledger\fabric\vendor\github.com\miekg\pkcs11\pkcs11.g‌​o:29:18: fatal error:ltdl.h: No such file or directory compilation terminated I installed…
surender
  • 71
  • 1
  • 1
  • 3
6
votes
3 answers

how exactly blocks are created in hyperledger fabric

I am going through hyperledger fabric V1.0. Need to know the internals of hyper-ledger. 1) How and where the blocks and transactions are saved in hyperledger internally. 2) Is it in the NoSQL DB (Level DB, Couch DB) ??. If yes, what is the…
6
votes
3 answers

Fabric composer on Windows?

Is fabric-composer supported on Windows? https://fabric-composer.github.io/tasks/prerequisites.html How can I get an invitation to the Slack channel? https://fabric-composer.github.io/support/index.html
pards
  • 1,098
  • 15
  • 20
6
votes
2 answers

world state persistence in hyperledger fabric

In hyperledger fabric World State is the collection of variables containing the results of executed transactions . Is the world state persisted somewhere in disk or it will be in primary memory? What if the peer was restarted?
Max_dev
  • 508
  • 7
  • 25
5
votes
1 answer

hyperledger fabric orderer for different networks

I have two different and separate networks. one has two organizations with two orderers and the second has three organizations with three orderers. if I want to have all five orderers in type=Raft for both networks, how should I config it? I know…
Pouya Shojaei
  • 307
  • 1
  • 10
5
votes
1 answer

Error in committed chaincode invoke/query with hyperledger fabric 2.0

I have successfully committed the chaincode with command: ./peer lifecycle chaincode commit -o orderer.example.org:7050 --channelID mychannel --name emp_chaincode --version v1 --sequence 1 --init-required --tls --cafile…
5
votes
0 answers

Genesis Block Generation: could not create channel group: could not create orderer group: error adding policies to orderer group: no policies defined

I'm trying to generate the system genesis block (HyperledgerFabricNetwork version 2.0.0, Ubuntu 18.04.4 Desktop), but I get error: (base)…
user2315094
  • 759
  • 3
  • 16
  • 29
5
votes
3 answers

Chain Code not deploying on Test Network after executing the deployment script in Hyperledger Fabric 2.0 documentation

I ran the script ./network.sh deployCC, then its not able to deploy it on the network(Fabric 2.0), this is the error: deploying chaincode on channel 'mychannel' Vendoring Go dependencies ... ~/Desktop/Fabric/fabric-samples/chaincode/fabcar/go…
Sanket Shevkar
  • 135
  • 1
  • 2
  • 9
5
votes
1 answer

Is it possible to run HyperLedger Fabric 2.0 in Raspberry Pi 3?

I'm currently using Raspberry Pi 3 with the newest Raspbian Buster version. I followed the installation guide here: https://hyperledger-fabric.readthedocs.io/en/release-1.4/install.html and installed all the prerequisites beforehand: curl, docker,…
5
votes
1 answer

Hyperledger Fabric 1.4 Private data collection

Hyperledger fabric provides inbuilt support storing offchain data with the help of private collections. For this we need to specify the collection config which contains various collection names along with the participants that has access to data…
5
votes
2 answers

Hyperledger fabric cryptgen tool not creating the admincerts

I am using the cryptogen tool from the hyper-ledgerfabric firstsample, Its does not create the admin certificate inside the crypto-config/peerorganisation/org1.example.com/msp/admicerts. ./cryptogen generate…
nagaraj
  • 797
  • 1
  • 6
  • 29
5
votes
1 answer

Registration/Login using Oath or email/password with hyperledger-fabric-ca

I'm new to Hyperledger Fabric development and I'm trying to make a user friendly registration. For example: + Using Oauth from google account. + Or using traditional email-password registration. I've read the hyperledger fabric document and…
5
votes
3 answers

What exactly is the point of private-data collection?

If we know that some organizations might want to keep certain information private from others, why not just create a separate channel? Is private-data purely just for management and to reduce channel overhead? I've read the documentation on when to…
ejgza
  • 83
  • 7
5
votes
1 answer

Why "hyperledger-fabric" private data collections cannot query the PDC and make changes to it on the same transaction?

NOTE: I'm trying to use PrivateDataCollections on hyperledger fabric 1.2 We are migrating code to use PDC that was writing to the ledger before, and we were executing range queries and changing state on the same transaction on ledger. What we do is…
hazimdikenli
  • 5,709
  • 8
  • 37
  • 67