hyperledger

How is it possible for a Hyperledger Sawtooth Validator node to have 'number of peers greater than the maximum connectivity' in the Sawtooth Network?

主宰稳场 提交于 2019-12-24 03:44:18
问题 Below statement is from this documentation. The network component continues to perform a peer search if its number of peers is less than the minimum connectivity. The network component rejects peering attempts if its number of peers is equal to or greater than the maximum connectivity. Question: As the documentation says, number of peers is equal to or greater than the maximum connectivity, If a node is allowed to have a 'maximum number of peers', say N, how can the 'number of peers' be

Subsequent transactions do not update the ledger in Hyperledger Fabric, yield iconsistent state

ⅰ亾dé卋堺 提交于 2019-12-24 02:21:50
问题 I am working on a small project to get myself familiar with the Hyperledger Fabric. Currently, I have a small network, consisting of single peer, orderer and ca nodes (plus cli, chaincode and explorer), defined in docker-compose.yml I have installed sample chaincode, chaincode_example02 to be more specific The initial state of a ledger is A:100, B:200, defined by peer chaincode instantiate -n mycc -v 0 -c '{"Args":["init","a","100","b","200"]}' -C myc When I execute the transfer everything

Authorization failure while issuing identity hyperledger composer

不问归期 提交于 2019-12-24 00:43:20
问题 I read the answer suggesting to check the docker.yaml for ca. The file path is below where I confirm that the username is admin and password is adminpw. Unfortunately I still get authorizatin failure error. command I use to issue identity composer identity issue -n 'trade-network' -p hlfv1 -i admin -s adminpw -u trader1 -a "org.acme.trading.Trader#TRADER1" Error: fabric-ca request register failed with errors [[{"code":400,"message":"Authorization failure"}]] Command failed. /home/composer

hyperledger fabric fabcar error

∥☆過路亽.° 提交于 2019-12-23 20:42:58
问题 I tried to run fabcar example from hyperledger-fabric tutorial https://hyperledger-fabric.readthedocs.io/en/latest/write_first_app.html. when I run ./startFabric.sh I got the error : //Join peer0.org1.example.com to the channel. docker exec -e "CORE_PEER_LOCALMSPID=Org1MSP" -e "CORE_PEER_MSPCONFIGPATH=/etc/hyperledger/msp/users/Admin@org1.example.com/msp" peer0.org1.example.com peer channel join -b mychannel.block 2017-08-06 08:05:59.338 UTC [msp] GetLocalMSP -> DEBU 001 Returning existing

Fabric Network - what happens when a downed peer connects back to the network?

自闭症网瘾萝莉.ら 提交于 2019-12-23 19:16:09
问题 I recently deployed the fabric network using Docker-compose, I was trying to simulate a downed peer. Essentially this is what happens: 4 peers are brought online using docker-compose running a fabric network 1 peer i.e the 4th peer goes down (done via docker stop command) Invoke transactions are sent to the root peer which is verified by querying the peers after sometime (excluding the downed peer). The downed peer is brought back up with docker start. Query transaction run fine on the always

Include external library file in Hyperledger Composer

我的梦境 提交于 2019-12-23 12:28:23
问题 Is there a way to include an external library in Hyperledger Composer? I would like to use this library for currency computations. I saw in this post ( which I think is old and there might be advancements on this since the response is 9 months old ) that at the time it was not possible to include external libraries in Hyperledger 回答1: If you are referring to business network Transaction Processor functions (which I think you are) then you cannot use require to include an external library.

steps to install cryptogen tool for hyperledger fabric node setup?

自古美人都是妖i 提交于 2019-12-23 09:27:45
问题 I am a java developer and i have started learning hyperledger fabric . I am trying to do the setup for fabric node setup . I am not sure how to install cryptogen tool . Please help me . 回答1: For Linux users: The installation process of binaries tools for Hyperledger Fabric is captured in the download platform-specific binaries section. You need to run: curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/release/scripts/bootstrap-1.0.0.sh | bash It will download required files. Make

Can connect between hyperledger composer and Android app?

那年仲夏 提交于 2019-12-23 05:07:08
问题 I created a network on hyperledger composer on one physical machine and create cards for admin and user I have some questions: 1) how can I access the same network using 2 different machines(laptops) ? 2) and if it possible to connect this network on hyperledger composer to Android app ? I want to know if these possible or not and how can do that? And I want to know if using hyperledger fabric will be best or go on hyperledger composer? 回答1: It depends on what you mean with "access the

Issue in creating multiple peers in hyperledger explorer

假如想象 提交于 2019-12-23 04:53:42
问题 I am trying to setup hyperledger explorer for my fabric network. I have 3 Orgs with one peer in each. Network Config:- Organizations: - &StancOrg Name: StancOrgMSP ID: StancOrgMSP MSPDir: crypto-config/peerOrganizations/peerStanc.com/msp AnchorPeers: - Host: HOSTA.peerStanc.com Port: 7051 - &StancOrgA Name: StancOrgAMSP ID: StancOrgAMSP MSPDir: crypto-config/peerOrganizations/peerStancA.com/msp AnchorPeers: - Host: HOSTA.peerStancA.com Port: 7051 - &StancOrgB Name: StancOrgBMSP ID:

User level restriction in hyperledger fabric 1.0

与世无争的帅哥 提交于 2019-12-23 04:47:50
问题 I have a requirement that, any number of customers can log into one company site and they will upload some documents for identity proofs, And the company can verify the documents by opening and accepts if documents are fine otherwise reject of documents are fake. When the user login again into the site, he has to see whether the uploaded docs are approved/rejected by company. How do we achieve this requirement in hyperledger fabric 1.0 and How the user details are restricted from other users