Re: Configuring yargs through package.json is deprecated and will be removed in the next major release, please use the JS API instead.
Matthew White
Hello; Yes you can.
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
music prime
how to use go sdk to deploy first network.
kindly help
|
||||||||
|
||||||||
what does clientAuthRequired do?
#ssl
sukill
when should i enable and disable clientAuthRequired option?
|
||||||||
|
||||||||
Re: Convert private data hash to string
David Enyeart
A hash is a one way operation, so if you are trying to convert the hash back into the pre-image, it cannot be done (that's the whole point!). But you can verify that the on-chain hash matches some known pre-image value, by taking a sha256 hash of the value and comparing the two, either inside the chaincode, or on client side. Here's a sample of how to do the verification within chaincode: Byte slices in Go can be cast directly to strings `string(bytes)` Brett Logan Software Engineer, IBM Blockchain Phone: 1-984-242-6890 E-mail: brett.t.logan@...
----- Original message -----
From: "Harris Niavis" <harniavis@...> Sent by: fabric@... To: fabric@... Cc: Subject: [EXTERNAL] [Hyperledger Fabric] Convert private data hash to string Date: Mon, May 25, 2020 6:09 PM Hi all, I am looking for a way to check the hash on the ledger, produced by the private data collection, I use the GetPrivateDataHash function in the chaincode, which returns the hash in bytes. How can I umarshal and convert this to string? Do I need to know the bytes encoding structure? Thanks, Harris -- Harris Niavis Yale Institute of Network Science (YINS) s: niavisharris e: harniavis@...
|
||||||||
|
||||||||
Re: Convert private data hash to string
Brett T Logan <brett.t.logan@...>
Byte slices in Go can be cast directly to strings `string(bytes)`
----- Original message -----
|
||||||||
|
||||||||
Convert private data hash to string
Harris Niavis
Hi all, I am looking for a way to check the hash on the ledger, produced by the private data collection, I use the GetPrivateDataHash function in the chaincode, which returns the hash in bytes. How can I umarshal and convert this to string? Do I need to know the bytes encoding structure? Thanks, Harris --
|
||||||||
|
||||||||
How can I get the namespace of calling chaincode while using the function of invokeChaincode() ?
radarzhhua@...
I invoke a chaincode named "A" and chaincode A invokes another chaincode named "B" by using invokeChaincode. How can I get the name(namespace) of chaincode "A" in the called chaincode "B"。Just like msg.sender in Ethereum.
|
||||||||
|
||||||||
#fabric #fabric-sdk-node #hyperledger-fabric
#hyperledger-fabric
#fabric
#fabric-sdk-node
lohfu@...
Hi,
In version 2.0 of the node sdk for fabric it appears channel.queryBlock, channel.queryBlockByHash, channel.queryInfo and similar have been removed from fabric-network. How does one now query blocks? Thanks in advance, / Linus Miller
|
||||||||
|
||||||||
Re: Hyperledger
Look at the Fabcar sample app in Fabric Tutorials It has CLI calls to add a car, run a query. Jim
On Sunday, May 24, 2020, 01:54:32 PM EDT, music prime <as040228@...> wrote:
How can I call CLI commands externally...
How can I make that happen?
|
||||||||
|
||||||||
Hyperledger
music prime
How can I call CLI commands externally... How can I make that happen?
|
||||||||
|
||||||||
Re: How can i monitor Hyperledger Fabric metrics?
Santiago Figueroa Lorenzo
Dear Tong, I appreciate your response. Following your recommendatios i enabled the operation for the variables in each node and right now it works fine (see first image). Other points to consider:
Thanks again, Santiago.
|
||||||||
|
||||||||
Re: Is there any way to control what version of Node will be used by the chaincode container?
Brett T Logan <brett.t.logan@...>
Node chaincode by default is run in the hyperledger/fabric-nodeenv:<fabric version> docker image. And this image is specified in core.yaml at CORE_CHAINCODE_NODE_RUNTIME, you can modify this value to use a different image if you want.
Siddharth Jain --- [EXTERNAL] [Hyperledger Fabric] Is there any way to control what version of Node will be used by the chaincode container? ---
the title says it all. Using Fabric, 2.0 Is there any way to control what version of Node will be used by the chaincode container? is there any page which lists Fabric Version | Node Version deployed in chaincode container
|
||||||||
|
||||||||
Is there any way to control what version of Node will be used by the chaincode container?
Siddharth Jain
the title says it all. Using Fabric, 2.0 Is there any way to control what version of Node will be used by the chaincode container?
is there any page which lists
Fabric Version | Node Version deployed in chaincode container
|
||||||||
|
||||||||
TLS handshake failed with error remote error: tls: bad certificate server=Orderer remoteaddress
#docker-compose
#fabric-orderer
Abdel-Rahman Ashraf <abdelrahman9709@...>
Hello I am new to Hyperledger fabric V2.0 and I am working on my first application.
I generated the crypto-config folder and the channel-artifcats, but when I run the peer and orderer nodes the orderers exit(2) after seconds and I receive this error in the logs "TLS handshake failed with error remote error: tls: bad certificate server=Orderer remoteaddress=172.23.0.6:50948 " "hint" I do not know if this will make a difference or not but I still did not any chaincode to the files. I do not know why the orderers are not using the "local host" IP as specified . This is my Github repo to take a look at the yaml files. https://github.com/AbdelrahmanAshraf9079/ExpleoHyperledgerFabric/tree/master/fixtures Best Regards
|
||||||||
|
||||||||
Re: #hyperledger-fabric
#hyperledger-fabric
Brett T Logan <brett.t.logan@...>
Fabric does not use the REST protocol. Under the covers the CLI and other Fabric components use gRPC and protocol buffers. Postman does not support this out of the box. While you can make a tool to make these calls yourself, you are essentially just recreating our existing SDK's.
----- Original message -----
|
||||||||
|
||||||||
#hyperledger-fabric
#hyperledger-fabric
music prime
|
||||||||
|
||||||||
Re: Configuring yargs through package.json is deprecated and will be removed in the next major release, please use the JS API instead.
Siddharth Jain
can we use 2.1.2 of Node SDK with 2.0 of the peer and orderer or do the versions have to match?
From: Matthew White <WHITEMAT@...>
Sent: Friday, May 22, 2020 12:44 AM To: siddjain@... <siddjain@...> Cc: fabric@... <fabric@...> Subject: Re: [Hyperledger Fabric] Configuring yargs through package.json is deprecated and will be removed in the next major release, please use the JS API instead. Hello; this was resolved in the v2.1.2 release earlier this week.
Here's the change log.
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: Configuring yargs through package.json is deprecated and will be removed in the next major release, please use the JS API instead.
Siddharth Jain
Thanks Matthew.
From: Matthew White <WHITEMAT@...>
Sent: Friday, May 22, 2020 12:44 AM To: siddjain@... <siddjain@...> Cc: fabric@... <fabric@...> Subject: Re: [Hyperledger Fabric] Configuring yargs through package.json is deprecated and will be removed in the next major release, please use the JS API instead. Hello; this was resolved in the v2.1.2 release earlier this week.
Here's the change log.
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: Fabric support on python
#fabric
#fabric-chaincode
Hi Rui,
Fabric chaincode can be developed in go language, Java, and java script. currently python not supported. -- Thanks & Regards, Kamlesh Nagware VP Blockchain Snapper Future Tech Mobile : +91 9511 2213 01
|
||||||||
|
||||||||
Hyperledger Fabric Documentation Workgroup call - Western hemisphere - Fri, 05/22/2020
#cal-notice
fabric@lists.hyperledger.org Calendar <noreply@...>
Hyperledger Fabric Documentation Workgroup call - Western hemisphere When: Where: Organizer: Description:
|
||||||||
|