|
Correct number of anchor peers
Hello,
I am building a network with 3 orgs with two peers each one and 1 orderer org with 1 orderer node (for now). Should I add both peers of each org as anchor peers or just one? Specifically, what
Hello,
I am building a network with 3 orgs with two peers each one and 1 orderer org with 1 orderer node (for now). Should I add both peers of each org as anchor peers or just one? Specifically, what
|
By
Nikos Karamolegkos
·
#11056
·
|
|
Re: Trick to verify that endorsement policy is working
Hi Nikos,
You can write a test chaincode that will be dependent on the current time, or on the org name - so for peers of different orgs/peers the chaincode execution results will be different.
--
Hi Nikos,
You can write a test chaincode that will be dependent on the current time, or on the org name - so for peers of different orgs/peers the chaincode execution results will be different.
--
|
By
Viktor Nikolenko
·
#11055
·
|
|
Re: Enroll user failed with "Code: 20, message: Authentication failure"
Looks like the CA admin credentials are incorrect.
--
RegardsVishal Yadav
Looks like the CA admin credentials are incorrect.
--
RegardsVishal Yadav
|
By
Vishal <vishal3152@...>
·
#11054
·
|
|
Enroll user failed with "Code: 20, message: Authentication failure"
Hi all,
We're trying to enroll a user following the commercial-paper tutorial. We modified enrollUser.js such that it takes in a username from the command line and enrolls that user, instead of using
Hi all,
We're trying to enroll a user following the commercial-paper tutorial. We modified enrollUser.js such that it takes in a username from the command line and enrolls that user, instead of using
|
By
LC
·
#11053
·
|
|
Trick to verify that endorsement policy is working
Hello,
Can you please provide me a method to verify that the endorsement is working as it should. For example in case the policy is set to default (i.e Majority) how can I make the endorsement of
Hello,
Can you please provide me a method to verify that the endorsement is working as it should. For example in case the policy is set to default (i.e Majority) how can I make the endorsement of
|
By
Nikos Karamolegkos
·
#11052
·
|
|
Re: Fabric-sdk-jAVA
#fabric-sdk-java
It looks like the client tried to make a service discovery call to a peer, either to obtain information about other network nodes or to obtain an endorsement plan for a given transaction invocation,
It looks like the client tried to make a service discovery call to a peer, either to obtain information about other network nodes or to obtain an endorsement plan for a given transaction invocation,
|
By
Mark Lewis
·
#11050
·
|
|
Fabric-sdk-jAVA
#fabric-sdk-java
hi,
when i was executing using java sdk,I got the following error:
Results :
Tests in error:
testFabCar(org.example.ClientTest): org.hyperledger.fabric.sdk.exception.ServiceDiscoveryException:
hi,
when i was executing using java sdk,I got the following error:
Results :
Tests in error:
testFabCar(org.example.ClientTest): org.hyperledger.fabric.sdk.exception.ServiceDiscoveryException:
|
By
jeff.jo95z@...
·
#11049
·
|
|
Re: Error committing chaincode to network with 4 orgs
#fabric-chaincode
It appears that you are trying to commit an not approved definition.
Check the crafted --name parameter on both commands. The checkcommitreadness is using another name definition:
--name
It appears that you are trying to commit an not approved definition.
Check the crafted --name parameter on both commands. The checkcommitreadness is using another name definition:
--name
|
By
David F. D. Reis
·
#11048
·
|
|
Error committing chaincode to network with 4 orgs
#fabric-chaincode
Hi all,
We're trying to deploy our chaincode to the test-network with 4 orgs in it. Following the "Deploy a smart contract to channel" tutorial, we got each org to approve the chaincode definition as
Hi all,
We're trying to deploy our chaincode to the test-network with 4 orgs in it. Following the "Deploy a smart contract to channel" tutorial, we got each org to approve the chaincode definition as
|
By
LC
·
#11047
·
|
|
Re: Fabric-sdk-jAVA
#fabric-sdk-java
The BlockEvent itself has lots of helpful accessor methods to help you navigate to useful data within the block, so you should probably prefer those if they do what you need. getBlock() returns the
The BlockEvent itself has lots of helpful accessor methods to help you navigate to useful data within the block, so you should probably prefer those if they do what you need. getBlock() returns the
|
By
Mark Lewis
·
#11046
·
|
|
Fabric-sdk-jAVA
#fabric-sdk-java
Hi All,
How to decode the data from blocklistener? is it possible to decode the output from blockEvent.getBlock() ?
Attaching the file for the reference
Hi All,
How to decode the data from blocklistener? is it possible to decode the output from blockEvent.getBlock() ?
Attaching the file for the reference
|
By
jeff.jo95z@...
·
#11045
·
|
|
Re: Hyperledger Fabric javascript : i need help for using javascript logging in your code assetTransfer.js
Hello Mattew,
Thanks for your answer.
As i am a beginner with nodejs, I’m not sure to understand your comments.
And by searching in Node.js documentation, I don’t find the solution to my
Hello Mattew,
Thanks for your answer.
As i am a beginner with nodejs, I’m not sure to understand your comments.
And by searching in Node.js documentation, I don’t find the solution to my
|
By
MEUNIER Yannick
·
#11044
·
|
|
Re: Chaincode registration failed error
Hi Satya,
Fabric has a lot of moving parts, and it can be a real challenge to uncover the root cause of configuration and coding errors.
One way to reduce some of the complexity is to start with a
Hi Satya,
Fabric has a lot of moving parts, and it can be a real challenge to uncover the root cause of configuration and coding errors.
One way to reduce some of the complexity is to start with a
|
By
jkneubuh@...
·
#11043
·
|
|
Re: Chaincode registration failed error - Resolved
I got this problem because I made some changes in the chaincode source code.
After rectifying the same the problem got
I got this problem because I made some changes in the chaincode source code.
After rectifying the same the problem got
|
By
Satya
·
#11042
·
|
|
Re: Hyperledger Fabric javascript : i need help for using javascript logging in your code assetTransfer.js
Hello, just to confirm have you looked in the container that is running the chaincode. It's a separate docker container.
The Winston logger that the chaincode libraries use is also available via the
Hello, just to confirm have you looked in the container that is running the chaincode. It's a separate docker container.
The Winston logger that the chaincode libraries use is also available via the
|
By
Matthew White
·
#11041
·
|
|
Hyperledger Fabric javascript : i need help for using javascript logging in your code assetTransfer.js
Hello,
I use /fabric-samples/asset-transfer-basic/chaincode-javascript/lib/assetTransfer.js coming from your package
But my problem is :
The javascript instructionconsole.info or console.log
Hello,
I use /fabric-samples/asset-transfer-basic/chaincode-javascript/lib/assetTransfer.js coming from your package
But my problem is :
The javascript instructionconsole.info or console.log
|
By
MEUNIER Yannick <yannick.meunier@...>
·
#11040
·
|
|
Now: Private Chaincode Lab - 03/22/2022
#cal-notice
Private Chaincode Lab
When:
03/22/2022
8:00am to 9:00am
(UTC-07:00) America/Los Angeles
Where:
https://zoom.us/my/hyperledger.community.3?pwd=UE90WHhEaHRqOGEyMkV3cldKa2d2dz09
Organizer: Marcus
Private Chaincode Lab
When:
03/22/2022
8:00am to 9:00am
(UTC-07:00) America/Los Angeles
Where:
https://zoom.us/my/hyperledger.community.3?pwd=UE90WHhEaHRqOGEyMkV3cldKa2d2dz09
Organizer: Marcus
|
By
fabric@lists.hyperledger.org Calendar <noreply@...>
·
#11039
·
|
|
Chaincode registration failed error
I am getting below error while trying to invoke a transaction on chaincode.
Infact, the chaincode status is being shown as Exited when docker ps -a is
executed.
I have shutdown all my containers and
I am getting below error while trying to invoke a transaction on chaincode.
Infact, the chaincode status is being shown as Exited when docker ps -a is
executed.
I have shutdown all my containers and
|
By
Satya
·
#11038
·
|
|
Virtual meetup this Thursday, March 24 about enterprise tokenization with Hyperledger Fabric
This Thursday, March 24 at 3PM pacific there is a virtual meetup about enterprise tokenization with Hyperledger Fabric. The session will cover customer use cases leveraging tokenization and showcase
This Thursday, March 24 at 3PM pacific there is a virtual meetup about enterprise tokenization with Hyperledger Fabric. The session will cover customer use cases leveraging tokenization and showcase
|
By
David Boswell <dboswell@...>
·
#11037
·
|
|
Re: How parse qccc response data in java-sdk
#fabric-sdk-java
It returns a serialised Block protocol buffer message (see implementation). You should be able to deserialise it using the compiled protobuf implementations packaged in fabric-sdk-java. Something
It returns a serialised Block protocol buffer message (see implementation). You should be able to deserialise it using the compiled protobuf implementations packaged in fabric-sdk-java. Something
|
By
Mark Lewis
·
#11036
·
|