hyperledger-fabric

Error when reading core config file: Unsupported Config Type

我们两清 提交于 2019-12-22 05:28:39
问题 I am trying to pass in the channel configuration transaction artifact to the order-er using the command: peer channel create -o orderer.example.com:7050 -c $CHANNEL_NAME -f ./channel-artifacts/channel.tx --tls --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem But I get an error: 2018-03-17 20:55:21.380 GMT [main] main -> ERRO 001 Fatal error when initializing core config :

Hyperledger Composer - connection issue when using TLS

為{幸葍}努か 提交于 2019-12-22 01:31:48
问题 i'm having issues deploying composer on top of a multi org, multi peer network. My network has two CA's, one order and six peers (two per org). The network uses TLS, which is giving me some issues. When running composer network ping -n network2 -p org1 -i user -s pass i am receiving SSL errors; E0913 16:54:49.855499904 120141 ssl_transport_security.c:921] Handshake failed with fatal error SSL_ERROR_SSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed. E0913

How to integrate HyperLedger composer Business network with Hyperledger explorer?

孤街醉人 提交于 2019-12-22 00:17:10
问题 I have built Business network using HyperLedger composer. Now, I want to use HyperLedger explorer for my solution? I didnt find any help on the same. I have downloaded all the Hyperledger explorer from Git, I am stuck in configuring the Config file? I am not sure, which config file is being referred in the below link? https://github.com/hyperledger/blockchain-explorer/blob/master/README.md 回答1: I think that the file structure has been changed recently, but the reference to the config file in

How does Hyperledger Fabric ensure the integrity of state in couchdb?

流过昼夜 提交于 2019-12-22 00:07:43
问题 In version 1.x of Fabric you can use Couchdb as a state store. How does Fabric ensure the integrity of the state? For example, what if someone manipulated the state outside of Fabric by directly accessing Couchdb on a specific node. At a minimum that could cause that node to be inconsistent with the rest of the network. 回答1: The way to detect someone has manipulated and tempered state in one of the peers is to leverage and carefully define endorsement policies. For example suppose you have

How to fetch asset modification history in hyperledger fabric

旧街凉风 提交于 2019-12-21 23:22:55
问题 I am using IBM bluemix blockchain service to tryout some smart contract logic for my asset sharing demo. Is there anyway to query the asset modified history in hyperledger fabric network. I have checked with documentations for both fabric 0.6 and 1.0 versions, but I can find only the stub.pushState(key,value_json) and stub.getState(key) to interact width the ledger. But using stub.getState(key) , I can fetch only the latest entry of the key, but how can I fetch and display the series of

Hyperledger fabric first network not working with kafka and using TLS

谁说胖子不能爱 提交于 2019-12-21 20:47:49
问题 I try to run First network sample Building Your First Network from official docs. I need to run this sample with kafka orderer type. For this case I edit configtx.yaml file (changed OrdererType to kafka and added Brokers) ... # Orderer Type: The orderer implementation to start # Available types are "solo" and "kafka" OrdererType: kafka ... Kafka: # Brokers: A list of Kafka brokers to which the orderer connects # NOTE: Use IP:port notation Brokers: - kafka:9093 ... And added kafka and

Difference between Fabric CA server and CA Client

半城伤御伤魂 提交于 2019-12-21 20:29:05
问题 What are the functions of the Fabric CA Server and Fabric CA Client? What are the Roles of the Fabric CA Server and Fabric CA Client? Thanks 回答1: Fabric CA provides features such as: Registration of identities with roles like peer, user or application, or connects to an existing LDAP as the user registry to fetch identities of the mentioned roles. Issuance of Enrollment Certificates (ECerts) for signing and identifying Issuance of Transaction Certificates (TCerts), providing both anonymity

Hyperledger Fabric on Raspberry pi 3

北城余情 提交于 2019-12-21 20:17:52
问题 I'm trying to deploy hyperledger fabric on a raspberry pi, but it doesn't work. I'm searching for some tutorial but i didn't found it, there are someone that just did it? 回答1: Last time I've tried to run Hyperledger Fabric on RPi I've prepared following instructions: Install latest RASPBIAN on SD card, you can download image from:
 https://www.raspberrypi.org/downloads/raspbian/ Update and upgrade latest by running:
 sudo apt-get update && sudo apt-get upgrade -y Install required dependencies

How are new participants authenticated into a channel in hyperledger fabric

ぃ、小莉子 提交于 2019-12-21 06:26:20
问题 I came across Hyperledger fabric client which has methods/functions to authenticate new members into blockchain network. But I am not sure how I can authenticate new users into a channel in blockchain network. Can i use channel configuration(configtx) in hyperledger fabric to invite/register new participants into a channel? Link to channel configuration :http://hyperledger-fabric.readthedocs.io/en/latest/configtx.html#channel-creation 回答1: you can use fabric-ca. Fabric-ca provides several

Unable to connect peer to channel in hyperledger fabric

天涯浪子 提交于 2019-12-21 06:01:06
问题 I am following below link to setup my first network on Hyperledger Fabric http://hyperledger-fabric.readthedocs.io/en/latest/build_network.html Whatever steps are mentioned in this setup i am pretty much able to do all. The issue is than when I try to join other peers to the channel, using below instruction You can make other peers join the channel as necessary by making appropriate changes in the four environment variables. I export following variables export CORE_PEER_MSPCONFIGPATH=/opt