Next Hyperledger Fabric Application Developer Community call - this Thursday, Feb 6th @ 4pm UTC (4pm UK) - 11am ET, 8am PT
Paul O'Mahoney <mahoney@...>
dear Fabric Application
Developer,
the next Fabric Application Developer community call is scheduled for this Thursday Feb 6th @ 4pm UTC (4pm UK) - 11am ET (-5 hrs), 8am PT(-8 hrs) - see time zones. It lasts approx 30-60 mins FYI. The agenda will be posted here -> https://wiki.hyperledger.org/display/fabric/Meeting+Agendas%3A+Fabric+Application+Developer+Community+Call This community call is held bi-weekly via Zoom webconference and is aimed at : -
helping the worldwide Hyperledger Fabric Application Developer community
grow (eg. developing applications, smart contracts, developing application
clients, using the SDKs, tutorials/demos etc - NodeJS/TypeScript,
Java, Go etc etc) If
you wish to share content on a call, just let me know via email direct
or DM me on Rocketchat (ID: mahoney1) and I'll put an item on the agenda.
Provide the following: The Zoom webconference ID is https://zoom.us/my/hyperledger.community More information can be found on the community page -> https://wiki.hyperledger.org/display/fabric/Fabric+Application+Developer+Community+Calls You can get calendar invites (eg iCal) here many thanks for your time - feel free to forward this email if you think it is of interest to a colleague. Paul O'Mahony Community Lead - Hyperledger Fabric Developer Community RocketChat: mahoney1 mahoney@... 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
|
|
User registration in Fabric go sdk
#fabric-sdk-go
Amal C Saji
Hi,
How to register and enroll a user in fabric sdk go? The Register function is found at /pkg/client/msp/client.go file. I am confused with how this function is invoked? Is there any reference documentation for user registration and enrollment?
|
|
Potential project in need of BFT orderers
#consensus
#fabric-orderer
atom@...
We are leading a standardization effort within SunSpec.org to utilize blockchain for securing the distributed power grid in the US.
|
|
Error when joining the channel
Marina Wanis <marinamaged1996@...>
Hi,
I used to be able to create the channel using the channel transaction and join the channel with the command : peer channel join -o localhost:7050 -b ./acmechannel.block
I got the following error:
2020-02-01 09:24:48.338 UTC [channelCmd] InitCmdFactory -> INFO 001 Endorser and orderer connections initialized Error: proposal failed (err: rpc error: code = Unknown desc = access denied: channel [] creator org [Org1MSP])
I made sure that the identity of the peer is admin. I’m really not sure why I keep getting this error. Thank you, Marina
Sent from Mail for Windows 10
|
|
Hyperledger Fabric Documentation Workgroup call - Western hemisphere - Fri, 01/31/2020
#cal-notice
fabric@lists.hyperledger.org Calendar <noreply@...>
Hyperledger Fabric Documentation Workgroup call - Western hemisphere When: Where: Organizer: Description:
|
|
Hyperledger Fabric Documentation Workgroup call - Eastern hemisphere - Fri, 01/31/2020
#cal-notice
fabric@lists.hyperledger.org Calendar <noreply@...>
Hyperledger Fabric Documentation Workgroup call - Eastern hemisphere When: Where: Organizer: Description:
|
|
Documentation Workgroup: Agenda for Friday, 31 Jan
Anthony O'Dowd <a_o-dowd@...>
Hello!
We will hold the documentation workgroup call this Friday, both Western and Eastern hemispheres. Thanks to everyone who attended last week's call. The summary minutes for last week's meeting: https://wiki.hyperledger.org/display/fabric/Meetings You can read all about the call at https://wiki.hyperledger.org/display/fabric/2020+01+24+DWG+Agenda It included a V2 status update from Pam and Joe, an overview of the new Test network from Nik, and deployment guide from Pam. 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+31+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+02+07+DWG+Agenda Thanks! 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 113A: Friday 31 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 113B: Friday 31 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
|
|
Re: anyone able to iterate over records using getStateByRange?
Siddharth Jain
its the same code that we tried and it does not work even with the MAX_UNICODE_RUNE_VALUE key. we have filed a bug here
From: Matthew White <WHITEMAT@...>
Sent: Thursday, January 30, 2020 12:26 AM To: siddjain@... <siddjain@...> Cc: fabric@... <fabric@...> Subject: Re: [Hyperledger Fabric] anyone able to iterate over records using getStateByRange? Hello;
Check the API docs here
https://hyperledger.github.io/fabric-chaincode-node/release-1.4/api/tutorial-using-iterators.html
Will need to double check, but as a workaround for an unbounded range try this as the end key
const MAX_UNICODE_RUNE_VALUE = '\u{10ffff}';
Though such an unbounded range could potentially give you a lot data; worth looking at the pagination variants especially if there's any doubt about the size of data that might come back
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
|
|
Hyperledger DCI Survey
Gari Singh <garis@...>
At Hyperledger, "All are welcome here!" Having a community that has a culture of encouraging people to voice their diverse opinions is crucial for the long term success of the project.
Today we are launching a survey ( https://www.surveymonkey.com/r/DCIWGsurvey ) to help us understand our community better. We need to hear from you. Whether you are a frequent or occasional contributor, past or present we want to know more about you and your experiences here at Hyperledger. Diversity, Civility, and Inclusion can cover many different community health issues. The DCI Working Group will be using this data to help guide our efforts over the coming year. We plan to release results from the survey at the Hyperledger Global Forum March 3-6. Thanks for taking this survey. This one simple action is an important contribution you make to continue building a healthy open source community. https://www.surveymonkey.com/r/DCIWGsurvey ----------------------------------------- Gari Singh Distinguished Engineer, CTO - IBM Blockchain IBM Middleware 550 King St Littleton, MA 01460 Cell: 978-846-7499 garis@... -----------------------------------------
|
|
ANNOUNCEMENT: Hyperledger Fabric v2.0 is now available!
David Enyeart
The Hyperledger Fabric maintainers are pleased to announce the availability of Fabric v2.0!
|
|
Re: Peer communication during chaincode execution
Yacov
Look at my last commits from https://github.com/yacovm/fabric2/commits/p2p
toggle quoted messageShow quoted text
There is a sample that uses this API to performa secure summation From: "Kimheng SOK" <sok.kimheng@...> To: Yacov Manevich <YACOVM@...> Cc: fabric@..., hyperledger-fabric@... Date: 01/30/2020 09:22 AM Subject: [EXTERNAL] Re: [Hyperledger Fabric] Peer communication during chaincode execution Sent by: fabric@... Hi, Could you show me more about those two new APIs, and where can I find all the related files related to Gossip protocol and Chaincode Shim API, I would love to learn and may be have time to customize those methods too. It is good to deep dive into the protocol level as a hyperleder developer, as now I am only a fresh hyperledger user. Bests,
On Thu, Jan 30, 2020 at 8:17 AM Yacov Manevich <YACOVM@...> wrote: Unfortunately Fabric doesn't have this feature yet... you can comment in the JIRA that it's needed for you, but I am skeptic that we'll have this feature anytime soon If you are willing to use your own Fabric build with custom modifications, I can point you to a PoC that adds 2 methods to the chaincode shim API: P2PSend(payload []byte, to ... string) P2PRecv() (payload []byte, from string) However, this PoC is experimental. From: "Kimheng SOK" <sok.kimheng@...> To: Yacov Manevich <YACOVM@...> Cc: hyperledger-fabric@... Date: 01/30/2020 02:55 AM Subject: [EXTERNAL] Re: [Hyperledger Fabric] Peer communication during chaincode execution Sent by: fabric@... Hi, My usecase is chaincode need to call external program, in the case of multiple peers, each peer could produce non-deterministic result and the invoke function will return Error: Could not assemble transaction. So all peers need to communicate with each other about the result and compute deterministic result so that the error will not happen. This feature could open the possibility to avoid all peers just passively receiving the deterministic result from a client or central entity. For sure the computation time will increase, because the more peers we have, the more communication need to be done just like gossip protocol. So it is a trade-off . The good news is hyperledger is a permission blockchain, so the number of peers is limited depend on the use case, so some applications could be useful to have this feature. Bests, On Thu, Jan 30, 2020 at 6:14 AM Yacov Manevich <YACOVM@...> wrote: See https://jira.hyperledger.org/browse/FAB-11980 May I ask why do you need it? what's your use case? From: "Kimheng SOK" <sok.kimheng@...> To: hyperledger-fabric@... Date: 01/29/2020 11:57 PM Subject: [EXTERNAL] [Hyperledger Fabric] Peer communication during chaincode execution Sent by: fabric@... Dear all, I wonder is it possible for peers to pass message to each other on the channel during the chaincode execution in the context of chaincode developer level not the protocol level? Or we need to modify the gossip protocol it self. Appreciate for answering the question.
|
|
Re: Customize chaincode docker image
Matthew White
Hello - my best guess would be that the chaincode is failing to call back to the peer to 'register'.
Usually capturing the docker logs of the chaincode really helps in cases like this.
Can I ask what your requirement is to customize the docker image? Just curious!
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
|
|
Re: anyone able to iterate over records using getStateByRange?
Matthew White
Hello;
Check the API docs here https://hyperledger.github.io/fabric-chaincode-node/release-1.4/api/tutorial-using-iterators.html
Will need to double check, but as a workaround for an unbounded range try this as the end key
const MAX_UNICODE_RUNE_VALUE = '\u{10ffff}';
Though such an unbounded range could potentially give you a lot data; worth looking at the pagination variants especially if there's any doubt about the size of data that might come back
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
|
|
Error when I start the peer node
Marina Wanis <marinamaged1996@...>
Hi,
Does any one know why am I getting the following error in the orderer logs, once I start the Peer node?
Thank you, Marina
Sent from Mail for Windows 10
|
|
Re: Peer communication during chaincode execution
Kimheng SOK
Hi, Could you show me more about those two new APIs, and where can I find all the related files related to Gossip protocol and Chaincode Shim API, I would love to learn and may be have time to customize those methods too. It is good to deep dive into the protocol level as a hyperleder developer, as now I am only a fresh hyperledger user. Bests,
On Thu, Jan 30, 2020 at 8:17 AM Yacov Manevich <YACOVM@...> wrote: Unfortunately Fabric doesn't have this feature yet... you can comment in the JIRA that it's needed for you, but I am skeptic that we'll have this feature anytime soon
|
|
Re: Customize chaincode docker image
sanjaykumar3989@...
Hi,
I have created the customized image from hyperledger/fabric-javaenv:amd64-1.4.4. and used as CORE_CHAINCODE_JAVA_RUNTIME=sanjaykumar3989/myenv:amd64-1.4.4. In this new image i am replacing build.sh and start file in location /root/chaincode-java/. The build.sh is running successfully as my jar is building but after that it exit with below msg: Error: could not assemble transaction, err proposal response was not successful, error code 500, msg chaincode registration failed: container exited with 1
|
|
Re: Proposal : Hyperledger Fabric block archiving
nekia <atsushin@...>
Hi Jay,
Thank you for your confirmation. I could see the situation on my local by using byfn of fabric-samples on fabric v2.0.0-beta. (But I haven't understood yet how to decide which order delivers block to which peer). If we can align the size of metadata on each orderer to a certain size regarding each block, I think we are still able to keep our assumption available yet. Is it possible to estimate the size of SignatureHeader and Signature at most? If it's possible, by padding to the maximum size on each orderer, we can align the size of metadata of each block across orderers, I think. If it's not possible, we need to consider going to the way of block-based (not blockfile-based) archiving logic. Thanks, Atsushi
|
|
Re: Peer communication during chaincode execution
Yacov
Unfortunately Fabric doesn't have this
feature yet... you can comment in the JIRA that it's needed for you, but
I am skeptic that we'll have this feature anytime soon
toggle quoted messageShow quoted text
If you are willing to use your own Fabric build with custom modifications, I can point you to a PoC that adds 2 methods to the chaincode shim API: P2PSend(payload []byte, to ... string) P2PRecv() (payload []byte, from string) However, this PoC is experimental. From: "Kimheng SOK" <sok.kimheng@...> To: Yacov Manevich <YACOVM@...> Cc: hyperledger-fabric@... Date: 01/30/2020 02:55 AM Subject: [EXTERNAL] Re: [Hyperledger Fabric] Peer communication during chaincode execution Sent by: fabric@... Hi, My usecase is chaincode need to call external program, in the case of multiple peers, each peer could produce non-deterministic result and the invoke function will return Error: Could not assemble transaction. So all peers need to communicate with each other about the result and compute deterministic result so that the error will not happen. This feature could open the possibility to avoid all peers just passively receiving the deterministic result from a client or central entity. For sure the computation time will increase, because the more peers we have, the more communication need to be done just like gossip protocol. So it is a trade-off . The good news is hyperledger is a permission blockchain, so the number of peers is limited depend on the use case, so some applications could be useful to have this feature. Bests,
On Thu, Jan 30, 2020 at 6:14 AM Yacov Manevich <YACOVM@...>
wrote:
See https://jira.hyperledger.org/browse/FAB-11980 May I ask why do you need it? what's your use case? From: "Kimheng SOK" <sok.kimheng@...> To: hyperledger-fabric@... Date: 01/29/2020 11:57 PM Subject: [EXTERNAL] [Hyperledger Fabric] Peer communication during chaincode execution Sent by: fabric@... Dear all, I wonder is it possible for peers to pass message to each other on the channel during the chaincode execution in the context of chaincode developer level not the protocol level? Or we need to modify the gossip protocol it self. Appreciate for answering the question.
|
|
Re: Peer communication during chaincode execution
Kimheng SOK
Hi, My usecase is chaincode need to call external program, in the case of multiple peers, each peer could produce non-deterministic result and the invoke function will return Error: Could not assemble transaction. So all peers need to communicate with each other about the result and compute deterministic result so that the error will not happen. This feature could open the possibility to avoid all peers just passively receiving the deterministic result from a client or central entity. For sure the computation time will increase, because the more peers we have, the more communication need to be done just like gossip protocol. So it is a trade-off . The good news is hyperledger is a permission blockchain, so the number of peers is limited depend on the use case, so some applications could be useful to have this feature. Bests,
On Thu, Jan 30, 2020 at 6:14 AM Yacov Manevich <YACOVM@...> wrote: See https://jira.hyperledger.org/browse/FAB-11980
|
|
Re: Issues w/ tutorial: Build Your First Network
Kimheng SOK
Why don't you use "byfn.sh" script to run the whole things, or you want to run it step by step.
On Thu, Jan 30, 2020 at 5:58 AM Salmon, Erika <esalmon@...> wrote:
|
|