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
1
vote
1 answer

Hyperledger fabric, how to interact with an external application before endorsement?

I have a chaincode with endorsement policy of -P 'OR (ORG1.peer, ORG2.peer)'. when I invoke the chaincode using command peer chaincode invoke ... it just accepts transaction proposal without any interruptions or waiting for endorsement. In other…
Amir169
  • 45
  • 1
  • 9
1
vote
2 answers

Hyperledger Composer Add Participant through Javascript API

I can add participant through command line command such as below successfully. composer participant add -c admin@health-network -d '{"$class": "org.acme.health.Patient", "patientId": "10", "firstName": "Mae", "lastName": "smith", "email":…
ethertest
  • 317
  • 4
  • 13
1
vote
2 answers

Cannot download card from Hyperledger Composer Playground

I'm trying to export my Network Admin card from the Playground UI, but the export icon is disabled. In addition, I see the following error in my Chrome console: Error: The current identity, with the name 'admin' and the identifier…
ulu
  • 5,872
  • 4
  • 42
  • 51
1
vote
1 answer

Docker - 'container is not running' even though i just initialized it

I am working with Hyperledger Fabric for my job and I'm trying to learn about the network and docker, and I'm following along with this tutorial. I get to the step where I need to enter the CLI container using docker exec -it cli bash but when I…
Ethan Fox
  • 159
  • 1
  • 15
1
vote
1 answer

Difference between chaincode and transaction processor functions?

This might be a stupid question but I'm just wondering what the difference between chaincode and transaction processor functions is?
1
vote
2 answers

Hyperledger Fabric: Can a smart contract secretly add numbers and only share the sum?

Scenario: I have 4 nodes in which each node sends a number. Each number should not be visible to any node other than the owner. The smart contract should secretly add all 4 numbers without viewing them to any member. Only the result which is the…
1
vote
3 answers

Getting error when adding new Peer to basicnetwork-Tuna App

We are using Tuna-App to setup basicnetwork along with tuna-app, and trying to add additional peer. Here is the source code of tuna-app https://github.com/hyperledger/education/tree/master/LFS171x/fabric-material We are able to add the Peer to the…
1
vote
0 answers

Using setTimeout within a hyperledger playground transaction

I am trying to use the javascript setTimeout command to delay the updating of a Participant in hyperledger playground. /** @param {org.acme.model.createMessage} msg @transaction */ function createMessage(msg) { setTimeout(function() { …
rtn
  • 31
  • 1
1
vote
1 answer

How to connect multiple peers in multiple machines in hyperledger-fabric

I have followed the hyperledger fabric docs and installed the fabric samples but now i want to connect one more peer into the network using a different machine
alpha97
  • 11
  • 3
1
vote
2 answers

Intermediate server enrollment issue "local signer policy disallows issuing CA certificate"

I am trying to setup a Fabric Root CA and intermediate CA. Evironment is as follows using go language, version 1.7.1 . Farbic root ca Configuration is as follows for Caconstanint for Allowing this Ca to sign other intermeridate certs.…
1
vote
1 answer

How to initialise a 2D array in Hyperledger Fabric .cto file?

Is there any way to initialise a 2D array in a Hyperledger .cto file? What I want to do: o String[][] csv optional But its thowing an error - and will only allow: o String[] csv optional Does anyone know how to get around this? Or does anyone…
1
vote
2 answers

What is the difference between the TransactionRegistry and the Historian?

Say I just wanted to get a list of all transactions that involved a specific asset (assuming I would need a query for this?). Should I use the TransactionRegistry or the Historian? What's the difference?
atkayla
  • 8,143
  • 17
  • 72
  • 132
1
vote
1 answer

Is the application on hyperledger-fabric centralized?

I started learning hyperledger-fabric for creating my own business application but, I still have a question : In practice, there is only one machine with docker and whole bna, or every member must have his own docker with bna? If only one, then it…
1
vote
1 answer

ENDORSEMENT_POLICY_FAILURE when chaincode is invoked using node.js SDK

Steps followed: 1. Started a Hyperledger Fabric network with 1 organization,1 Peer,1 couch db and 1 CA 2. Created channel docker exec command -e"CORE_PEER_MSPCONFIGPATH=/etc/hyperledger/msp/users/Admin@org1.example.com/msp" peer0.org1.example.com…
anjy
  • 331
  • 3
  • 16
1
vote
1 answer

Save data while updating model file in hyperledger composer

One thing I noticed while coding in hyperledger composer, that everytime I enter an extra field in a participant the data entered previously is gone. But addition of fields can happen in day to day software development, so how can I save my data…
user9040429
  • 690
  • 1
  • 8
  • 29
1 2 3
99
100