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

Cryptocurrency based on Hyperledger

Does Hyperledger Fabric support possibility to create a cryptocurrency like well know Bitcoin/Ethereum? I don't mean tokens which I can implement by chaincode.
5
votes
1 answer

Getting connection failed in Hyperledger Fabric sample

Hello i am new to Hyperledger Fabric. I have just started to work with it, i was doing the very first sample from http://hyperledger-fabric.readthedocs.io/en/latest/write_first_app.html I followed prerequisite installation from…
Katiyman
  • 827
  • 2
  • 12
  • 32
5
votes
4 answers

How to avoid the Fabric CA beeing a single point of failure?

if I understood correctly, every peer in a fabric blockchain network (somehow interconnected through gossip) will only accept incoming connections from other peers if they use a HTTPS connection with a public key signed by the Fabric CA. Is that…
Romeo Kienzler
  • 3,373
  • 3
  • 36
  • 58
5
votes
1 answer

Can I use the public/private key generated by the MSP in Hyperledger Fabric v1.0 for encrypting/decrypting data?

In Hyperledger Fabric v1.0, a user can be registered and enrolled in the blockchain network through the MSP (member services provider). The user is given a public key (in the certificate) and a private key after registration and enrollment. The way…
A Pantola
  • 315
  • 2
  • 15
5
votes
4 answers

Hyperledger fabcar sample fabric showing connect failed ERROR

I am trying to install hyperledger and run chain code. I followed all the steps as directed here. But getting error error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Connect Failed while running the query.js. I have…
Subhankar
  • 692
  • 7
  • 25
5
votes
5 answers

Error cryptogen tool in Hyperledger Fabric

I am attempting to install and run Hyperledger Fabric on OSX. Installation seems to have gone well. However, when I run the cryptogen tool I am getting the following warnings: Apples-MacBook-Pro:e2e mycomputer$ ./../../$os_arch/bin/cryptogen…
philstan
  • 51
  • 1
  • 2
5
votes
2 answers

retrieving hyperledger complete world state

Is there a chaincode shim function with which I can retrieve all the keys (maybe including values) of the world state in a Hyperledger Fabric chaincode?
Foo L
  • 10,977
  • 8
  • 40
  • 52
5
votes
1 answer

How to print and view logs from Hyperledger Fabric chaincode

I want to see logs while calling functions in my chaincode, for debugging purposes. I tried something like this: var logger = shim.NewLogger("chaincode_example02") logger.Info("get_caller_data called"); I've viewed logs of the peer running the…
Chaitanya Reddy
  • 193
  • 1
  • 7
5
votes
4 answers

Cannot compile chaincode

I am trying to compile the chaincode_example02 followed by this guide with Option 2 (for Mac). All steps were passed except compiling the code. I have the following error: cd $GOPATH/src/github.com/chaincode_example02 go…
eugenn
  • 1,638
  • 6
  • 23
  • 38
4
votes
0 answers

Failed to get network: Failed to create new channel client: event service creation failed: could not get chConfig cache reference

Failed to get network: Failed to create new channel client: event service creation failed: could not get chConfig cache reference: QueryBlockConfig failed: QueryBlockConfig failed: queryChaincode failed: Transaction processing for endorser…
4
votes
1 answer

Aca-py 0.6.0: INFO Ledger instance not provided error/bug?

i am new to Hyperledger Aries and i can´t figure out what i am doing wrong. Environment: Ubuntu16LTS Docker 18.09.7 build 2d0083d hyperledger-aries-python version: 0.6.0 (sourcecode) From the aca-py repo…
4
votes
3 answers

What kind of consensus used in Hyperledger Fabric?

I don't know if this question make sense, I know Raft is consensus algorithm and use etcd to distributed the data, and i know etcd in Raft Ordering Service have a similar job with zookeeper in Kafka Ordering Service, but what I don't understand is,…
4
votes
1 answer

enabling SSL for Hyperledger Fabric couchdb

I want to use couchDB(V. 2.3.1) with SSL enabled, so I added [ssl] part to /opt/couchdb/etc/local.d/docker.ini file as shown below: [ssl] port = 6984 enable = true cert_file = /etc/hyperledger/fabric/tls/server.crt key_file =…
4
votes
3 answers

Hyperledger Fabric 2.0.1: Error: Failed to connect before the deadline on Discoverer- name:

I think Fabric is trying to discover peers and orderers as soon as they come to realize they do exist but not matching the machine IP address. Is there a way to specify the machine IP override for TLS enabled communication? This is the full…
Victor Lopez
  • 110
  • 1
  • 9
4
votes
2 answers

How to add a new Orderer Organization to existing Hyperledger Fabric network

I am trying to add a new Orderer Organization to RAFT based existing ordering service. I am using the first-network from fabric-samples as the base network. While generating crypto-material, I have modified to generate crypto-material for 1 more…
Chintan Rajvir
  • 689
  • 6
  • 20