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
8
votes
2 answers

Read (query) transaction flow in Hyperledger Fabric

I am trying to understand the "Query" transaction flow in Hyperledger Fabric. I understand the "write" flow in Fabric as it is well documented. However, things are not so clear when a read/query transaction is involved. This is what I have…
Ripul
  • 1,271
  • 4
  • 15
  • 18
8
votes
1 answer

What are hardware requirements to run Hyperledger Fabric peer?

What are minimum hardware requirements to run a Hyperledger Fabric v1 peer?
neuromouse
  • 921
  • 1
  • 12
  • 32
8
votes
4 answers

Where can I find out the possible environment variables for Hyperledger Fabric peer command?

When configuring a peer node to run, there are a number of environment variables included in the sample docker-compose files. Is there somewhere that I can find them all documented? e.g. environment: -…
christo4ferris
  • 4,039
  • 1
  • 17
  • 30
8
votes
4 answers

When trying to issue an identity, it says my CA does not exist

I'm trying to issue an identity by composer identity issue -p hlfv1 -n bonusetis -i PeerAdmin -s password -u perelluis -x true -a perelluis But I get Error: fabric-ca request register failed with errors [[{"code":0,"message":"CA 'ca_peerOrg1'…
8
votes
2 answers

Where does hyperledger fabric store the database for the blockchain?

I have hyperledger fabric network setup on my local machine with a single validating node. I am developing a chaincode and would like to clear my blockchain. I have read that the hyperledger fabric stores the database under /var/hyperledger. …
shaggy
  • 111
  • 1
  • 4
8
votes
1 answer

What happened exactly on chaincode deploy and invoke , query, in Hyperledger?

What happened exactly on chaincode deploy and invoke , query, in Hyperledger? Need to confirm the cost of system on Chaincode deploy, invoke and query. If they are the same, seems better to make Chaincode more than one, even hundreds, thousands.
Will_Z
  • 258
  • 3
  • 15
7
votes
5 answers

The Name of Hyperledger Fabric Test Network is not detected by an Application given in the fabric samples

I just reinstalled Fabric Samples v2.2.0 from Hyperledger Fabric repository according to the documentation. But when I try to run asset-transfer-basic application located in fabric-samples/asset-transfer-basic/application-javascript directory by…
sayhan
  • 95
  • 2
  • 7
7
votes
2 answers

Hyperledger fabric Error: 14 UNAVAILABLE: TCP Write failed

When chaincode container remains idle for some time then it stops with error: ERROR [lib/handler.js] Chat stream with peer - on error: "Error: 14 UNAVAILABLE: EOF\n at createStatusError (/usr/local/src/node_modules/grpc/src/client.js:64:15)\n …
7
votes
1 answer

How to ensure that a chaincode is invoked by another chaincode

Lets say that we have two different chaincodes: cc1 and cc2. If cc1 invokes cc2 is there a way for cc2 to check if the invocation is coming from cc1.
Ilia Vatahov
  • 141
  • 3
7
votes
3 answers

Why does hyperledger-fabric need more than one orderer?

I have several questions: Why does hyperledger network need more than one orderer node? If I understand correctly, after nodes validate the transactions, they pass those transactions to an orderer node. orderer node will timestamp those…
Nika Kurashvili
  • 6,006
  • 8
  • 57
  • 123
7
votes
1 answer

Bulk insert into Hyperledger Fabric keeps timing out

We're bulk inserting records into Hyperledger Fabric. However, we are hitting time out issue. Even we keep increasing the timeout, we will simply have this error happening at a later point. Each transaction inserts 1000 records using PutState in a…
angelokh
  • 9,426
  • 9
  • 69
  • 139
7
votes
2 answers

Difference between Hyperledger Fabric and Hyperledger Iroha?

Both Hyperledger Fabric and Hyperledger Iroha are platforms for building distributed ledger applications. What are the main differences between them? When to choose one over the other to implement a blockchain solution?
Sahil
  • 461
  • 1
  • 9
  • 24
7
votes
2 answers

Get chaincode caller ID from the function InvokeChaincode() in Hyperledger Fabric Node SDK

Let's suppose the following network architecture: A -> Chaincode1 -> fabcar A is the application, Chaincode1 is a chaincode in Go and fabcar is a chaincode in Nodejs. They are on the same channel: "mychannel". When is performed the operation…
7
votes
1 answer

how we can call one chaincode from another chaincode in fabric 1.0 ?? if anyone having example please share

I want to call one chaincode from another chaincode in fabric 1.0 so I have some questions: 1) can we install two chaincode on single peer 2) if we install two chaincode on different peer, how we can call one into another? 3)if anybody having sample…
Tejal tandale
  • 87
  • 1
  • 10
7
votes
8 answers

FABRIC returns Error: Got unexpected status: BAD_REQUEST

From fabric document create-join-channel, when I execute the command peer channel create -o orderer.example.com:7050 -c $CHANNEL_NAME -f ./channel-artifacts/channel.tx --tls $CORE_PEER_TLS_ENABLED --cafile…
Jim Green
  • 1,088
  • 3
  • 15
  • 40