Best configuration to implement Decentralization and complete trust in Hyperledger, through Business + tech Perspective.
#fabric
#fabric-questions
yashukla47@...
How to implement decentralization + trust in the following scenario An organization A wants to set up a Hyperledger network using which organizations 1,2 and 3 can transact which each other in a decentralized way with trust and company A wants to charge a commission on what every "value" transaction that takes place between the three organization. and only company A should be allowed to add and remove an organization basically company owns the network but it is decentralized and can be trusted by organizations 1,2,3.
So what should be the configuration of the network to implement this scenario? i.e 1) What role should the organization A have? what should the organization A need to have to own the network? Last but the main question- is it possible that a 3rd party organization makes and owns a network and charges commission at the same time keeping it decentralized and trusted for the participant organizations.
|
|
Re: [Hyperledger Technical WG China] [i18n] Status report on translation of Fabric docs
Brian Behlendorf <bbehlendorf@...>
This has gone without a reply since it was posted so I thought I would add one,
toggle quoted messageShow quoted text
It's terrific to see this energy for expanding the global footprint for Fabric! And for taking such a well researched and thoughtful approach to figuring out how to support the needs of translators efficiently. And your recommendations on bold at the bottom make sense for me. Thank you for writing up the recommendations and the rationale, that is valuable for future teams looking at this. An additional repo makes a ton of sense. I am sure here are good techniques to correlate updates to core docs to a need for updating their translated equivalents. So far, the TSC seems like it has been happy leaving these questions up to individual projects rather than setting a site-wide standard. But the TSC and others in the community might still want to weigh in on this, and if it looks good, consider adopting it as a common standard across projects, so that it's even easier for volunteers for translations on any project to know how and where to plug in. One last question: would it make sense for translation bundles for in-app localizations to be done in this -i18n repo, or to be done in the main code repo? I'm guessing the former so that a distribution can easily bundle them all together, and they change much less frequently, but I believe they are as important as translated docs (for projects that use them) to highlight to volunteers. Again, thanks! Brian
On January 13, 2020 2:57:48 PM GMT+08:00, Yang Cheng <great_cy_ang@...> wrote:
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
|
Documentation Workgroup: Agenda for Friday, 17 Jan.
Anthony O'Dowd <a_o-dowd@...>
Hello!
We will continue our documentation workgroup calls this Friday, both Western and Eastern hemispheres. A big welcome to everyone - we had a great turn out last week - thanks to everyone who attended! You can read the summary minutes for last week's meeting: https://wiki.hyperledger.org/display/fabric/Meetings This call really had a lot of content, with a fabulous IOT demo from Chris, super Commercial paper updates from Matthew, exploiting Nick new test network, and Pam bringing us up to date on Rich Zhao's Chinese excellent language doc work. You can catch up via the recording: https://wiki.hyperledger.org/display/fabric/Recordings You'll see that there are lots of interesting items for this week: https://wiki.hyperledger.org/display/fabric/2020+01+17+DWG+Agenda Please feel free to contribute using the wiki! You can also help build next week's agenda: https://wiki.hyperledger.org/display/fabric/2020+01+24+DWG+Agenda Really looking forward to more great work on Fabric documentation in 2020! Pam, Anthony, Joe, Nik Meeting Details ------------- Please use the following link to attend the meeting: https://zoom.us/j/6223336701 The meeting times are as follows: https://wiki.hyperledger.org/display/fabric/Documentation+Working+Group Meeting 111A: Friday 17 Jan 1130 India Standard Time 1400 China Standard Time 1500 Japan Standard Time 1700 Australia Eastern Time 1400 Singapore Time 1000 Gulf Standard Time 0900 Moscow Standard Time 0600 Greenwich Mean Time 0700 Central European Time Meeting 111B: Friday 17 Jan 1000 Central Daylight Time 1100 Eastern Daylight Time 0800 Pacific Daylight Time 1300 Brasil Time (BRT) 1600 Greenwich Mean Time 1700 Central European Time 1800 Moscow Standard Time Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
|
|
Enroll ID type error
#fabric
George
Hello I have succesfully install, instantiated and run contracts on byfn(first network sample). Whats different on the basic network other than the existence of a CA container. Thats how I instantianted the contract:
|
|
Re: Error reading configuration: Unsupported Config Type ""
Nikhil Gupta
You need to set the FABRIC_CONFIG_PATH to to your configtx.yaml file.
-----fabric@... wrote: ----- To: "hyperledger-fabric@..." <hyperledger-fabric@...> From: "Marina Wanis" Sent by: fabric@... Date: 01/16/2020 04:01AM Subject: [EXTERNAL] [Hyperledger Fabric] Error reading configuration: Unsupported Config Type "" Hi All,
I'm facing an error when I type the command configtxgen -outputBlock ./acme-genesis.block -profile AcmeOrdererGenesis -channelID ordererchannel And I googled the error, some were saying that I need to set the FABRIC_CFG_PATH environment variable correctly. I did that by export FABRIC_CFG_PATH=$PWD but not sure why I still keep getting the error.
Thanks Marina
Sent from Mail for Windows 10
[attachment "Picture1.png" removed by Nikhil E Gupta/New York/IBM]
|
|
Error reading configuration: Unsupported Config Type ""
Marina Wanis <marinamaged1996@...>
Hi All,
I'm facing an error when I type the command configtxgen -outputBlock ./acme-genesis.block -profile AcmeOrdererGenesis -channelID ordererchannel And I googled the error, some were saying that I need to set the FABRIC_CFG_PATH environment variable correctly. I did that by export FABRIC_CFG_PATH=$PWD but not sure why I still keep getting the error.
Thanks Marina
Sent from Mail for Windows 10
|
|
Re: How to store PDF File in Hyperledger Fabric?
#fabricca
#fabric-ca
#raft
#couchdb
#fabric
soumya nayak <soumyarjnnayak@...>
Hi suresh, Best thing would be store them into an external secured storage system like into a Private IPFS or azure. In case of IPFS the hash is generated which can be stored in fabric to access the pdf. Community might come up with more solutions. Regards, Soumya
On Thu 16 Jan, 2020, 1:49 PM suresh, <tedlasuresh@...> wrote: Hi All,
|
|
How to store PDF File in Hyperledger Fabric?
#fabricca
#fabric-ca
#raft
#couchdb
#fabric
suresh <tedlasuresh@...>
Hi All,
If we want to process/upload file's like PDF(1millions of the pdf file) in Hyperledger Fabric, How can we store them there is a storage issue right Can anyone know how to process millions of pdf file in Hyperledger Fabric Thanks Suresh
|
|
Re: #fabric-questions #hyperledger-fabric
#fabric-questions
#hyperledger-fabric
David Enyeart
If you don't have a 3rd party coordinating the auction, you can have the seller drive the auction as follows... what will be the solution to this? is there an inbuilt logic for this kind of privacy? Consider a bidding platform of 4 organizations where org1 publishes an item and org 2,3 and 4 bid for it(in dollars). and then there is a chaincode that checks the bids and compare them and declares the winner bidder (one with the highest bid) to make the platform decentralized we make all the three organizations as endorser peers so that each peer is able to see what others have bid. the problem is that: in a particular scenario being an endorser peer org2 can see the bid of org3 and then increase it’s bid accordingly what can I do to make the platform decentralized while avoiding this scenario and keeping the system realtime(<50ms)? something like: the organizations are only able to see each others bids only after the winner is declared
|
|
Re: #fabric-questions #hyperledger-fabric
#fabric-questions
#hyperledger-fabric
Hi, It can be done in many ways. A simple would be like this, Create 2 functions in chaincode 1st function will collect all bids from 4 orgs and then store the value along with hash ( can include the digital signature also for verification later). Create a custom endorsement policy like if org1 submits then endorsement policy would be get endorsement from ORG1.member only.(state based endorsement) 2nd function will submit bidding only if there is required no of bids are collected (4 in your case) and it checks the hash of bid value ( verify the signature also). For this you create endorsement policy of what you have mentioned (4 endorsements from 4 orgs) Through this setup all 4 orgs can submit a bid with custom endorsement and bid processing happens only if all 4 orgs submitted their bids Thanks and Regards Parthiban Selvaraj
On Wed, 15 Jan, 2020, 4:40 PM , <yashukla47@...> wrote:
|
|
#fabric-questions #hyperledger-fabric
#fabric-questions
#hyperledger-fabric
yashukla47@...
what will be the solution to this? is there an inbuilt logic for this kind of privacy? Consider a bidding platform of 4 organizations where org1 publishes an item and org 2,3 and 4 bid for it(in dollars). and then there is a chaincode that checks the bids and compare them and declares the winner bidder (one with the highest bid) to make the platform decentralized we make all the three organizations as endorser peers so that each peer is able to see what others have bid. the problem is that: in a particular scenario being an endorser peer org2 can see the bid of org3 and then increase it’s bid accordingly what can I do to make the platform decentralized while avoiding this scenario and keeping the system realtime(<50ms)? something like: the organizations are only able to see each others bids only after the winner is declared
|
|
Re: HLF Java SDK - Chaincode instantiation failure
Matthew White
Hello;
I run a very simple setup; VirtualBox on Windows 10, with Ubuntu (though trying Manjaro as well). Docker does take a lot of memory so it was a good idea to check that.
For scenarios such as this, I'd always suggest monitoring all the docker containers - specifically try and catch the docker container that is run to build the chaincode; this only has a short life - but often provides a useful clue as to problems.
I would recommend something like this https://gist.github.com/mbwhite/a32abc57a0a45ecc466977ceef67df1f (using Logspout).. Start monitoring as soon as Fabric has started and see what occurs.
Also, could you link to which specific tutorial you're using? Thanks!
Regards, Matthew.
Matthew B White IBM Blockchain Solutions Architect
Email me at WHITEMAT@...
Find me on StackOverflow, and generally at calanais.me.uk
Note: restricted availability for meetings 14:30 to 17:00 UK Tuesday
IBM United Kingdom Limited, Hursley Park, Winchester, Hampshire, SO21 2JN
"The wrong answers are the ones you go looking for when the right answers stare you in the face" ----- Original message ----- IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
|
|
HLF Java SDK - Chaincode instantiation failure
Tomás Peixinho
Good evening,
I'm using the java sdk to work with hyperledger fabric and I'm having some trouble. I'm trying to write my own application based on the "fabcar" example that is provided.
I'm running a virtual machine (VirtualBox, in case it matters) with a linux distribution, I follow all the steps from the tutorial on github, but when it gets to the point that needs to run DeployInstantiateChaincode.java (to deploy the chaincode on the peers
and instantiate it on the channel, if I'm not mistaken), the "deployment" gives a SUCCESS message for each of the peers (peer 0 and 1 on org 1, and peer 0 and 1 on org 2, which is the default for the tutorial), however the "instantiation" always gives a FAILURE
message.
I tried it on Xubuntu, Lubuntu and Kali. Never works. I thought it could be a memory problem so I increased the ram, I tried increasing the timeouts on the config file, but still nothing works. A friend of mine tried to run it on his computer (the exact same
code, the same structure, he even used the same .sh file that I wrote to run all the terminal commands) and it works sometimes (he's using Kali on VMWare, it's the only difference). Could it be a problem with my computer? Could it be that it is too slow to
manage to instantiate the chaincode in time, before it gives the timeouts? Below are the lines that print on the terminal. Not very explanatory but it's what I get:
Jan 14, 2020 3:47:04 PM main.java.org.example.client.FabricClient deployChainCode
INFO: Deploying chaincode fabcar using Fabric client Org1MSP admin
Jan 14, 2020 3:47:04 PM main.java.org.example.network.DeployInstantiateChaincode main
INFO: fabcar- Chain code deployment SUCCESS
Jan 14, 2020 3:47:04 PM main.java.org.example.network.DeployInstantiateChaincode main
INFO: fabcar- Chain code deployment SUCCESS
Jan 14, 2020 3:47:04 PM main.java.org.example.client.FabricClient deployChainCode
INFO: Deploying chaincode fabcar using Fabric client Org2MSP admin
Jan 14, 2020 3:47:04 PM main.java.org.example.network.DeployInstantiateChaincode main
INFO: fabcar- Chain code deployment SUCCESS
Jan 14, 2020 3:47:04 PM main.java.org.example.network.DeployInstantiateChaincode main
INFO: fabcar- Chain code deployment SUCCESS
Jan 14, 2020 3:47:04 PM main.java.org.example.client.ChannelClient instantiateChainCode
INFO: Instantiate proposal request fabcar on channel mychannel with Fabric client Org2MSP admin
Jan 14, 2020 3:47:04 PM main.java.org.example.client.ChannelClient instantiateChainCode
INFO: Instantiating Chaincode ID fabcar on channel mychannel
Jan 14, 2020 3:48:13 PM main.java.org.example.client.ChannelClient instantiateChainCode
INFO: Chaincode fabcar on channel mychannel instantiation java.util.concurrent.CompletableFuture@55787112[Completed exceptionally: java.lang.IllegalArgumentException: The proposal responses have 0 inconsistent groups with 4 that are invalid. Expected all
to be consistent and none to be invalid.]
Jan 14, 2020 3:48:13 PM main.java.org.example.network.DeployInstantiateChaincode main
INFO: fabcar- Chain code instantiation FAILURE
Jan 14, 2020 3:48:13 PM main.java.org.example.network.DeployInstantiateChaincode main
INFO: fabcar- Chain code instantiation FAILURE
Jan 14, 2020 3:48:13 PM main.java.org.example.network.DeployInstantiateChaincode main
INFO: fabcar- Chain code instantiation FAILURE
Jan 14, 2020 3:48:13 PM main.java.org.example.network.DeployInstantiateChaincode main
INFO: fabcar- Chain code instantiation FAILURE
I honestly don't understand what I'm doing wrong. I do everything on the tutorials. I think the first time I tried running it, it worked, but all the other consecutive runs didn't. I need to deploy and instantiate the chaincode in order to test my application.
I don't know what else to do. I might format my computer and try again, not sure if it'll work or not... My pc is an Asus Intel Core I7, with 8GB of ram, in case it matters. Any help would be appreciated. This is my thesis project and I can't seem to finish
it.
Thank you for any help that can be provided.
Best regards
Tomás
|
|
New Fabric Documentation merge process proposal
Pam Andrejko
|
|
Motion for final comment period: Programming Model Updates for Go SDK
Heather Pollard <heatherp@...>
Hi everyone, I am requesting that we enter the final comment period for the RFC for Go SDK new programming model and proposing that it is merged at the end of this period, in one week. The aim of this period is for any fabric maintainers to communicate any final comments or objections to the proposed RFC. Applying the Programming Model to the Go SDK was discussed on a Fabric Contributors Meeting on the 11th December and the recording is available here. Please reach out to Andrew Coleman (andrew_coleman@...) or me with any queries Thanks, Heather Software Engineer, IBM Blockchain Autism Ambassador IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
|
|
Motion for final comment period: Ledger-api RFC
Heather Pollard <heatherp@...>
Hi everyone,
I am requesting that we enter the final comment period for the Ledger-api RFC and proposing that it is merged at the end of this period, in one week. The aim of this period is for any fabric maintainers to communicate any final comments or objections to the proposed RFC. The ledger-api was discussed on a Fabric Contributors Meeting on the 11th December and the recording is available here. Please reach out to Matthew White (whitemat@...) or me with any queries Thanks, Heather Software Engineer, IBM Blockchain Autism Ambassador IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
|
|
Upcoming TSC update for Fabric
In a little over a week, the Fabric project has the first update for 2020 due. I will be setting up the automatic reminders, but I'm not there yet.
|
|
Re: Chaincode nodejs getStateByPartialCompositeKey
David Enyeart
Yes, see the getStateByPartialCompositeKey sample here: Dear all, Is there any documentation example of how to use getStateByPartialCompositeKey in nodejs chaincode to query the data from the object list and iterate through it to view all the result. Thank for help. Bests,
|
|
Chaincode nodejs getStateByPartialCompositeKey
Kimheng SOK
Dear all, Is there any documentation example of how to use getStateByPartialCompositeKey in nodejs chaincode to query the data from the object list and iterate through it to view all the result. Thank for help. Bests,
|
|
Re: JIRA Cleanup
Matthew Sykes
I have finished labeling JIRA items associated with the Fabric project. If you find an item with a `stale-item` label that you believe should not be closed out next week, please remove the label and add a comment indicating why it is still relevant. Thanks.
On Thu, Jan 9, 2020 at 7:07 PM Matthew Sykes via Lists.Hyperledger.Org <matthew.sykes=gmail.com@...> wrote:
--
Matthew Sykes matthew.sykes@...
|
|