|
Re: How to get peer x509 certifi ate in chaincode?
#fabric
#fabric-chaincode
You can use a custom decorator. https://jira.hyperledger.org/browse/FAB-4207
Unfortunately there is no documentationon how to use them. They were introduced in
You can use a custom decorator. https://jira.hyperledger.org/browse/FAB-4207
Unfortunately there is no documentationon how to use them. They were introduced in
|
By
Yacov
·
#9528
·
|
|
Re: How to get peer x509 certifi ate in chaincode?
#fabric
#fabric-chaincode
Thanks for your response. This will get client's certificate (the entity calling chaincode), not the peer's cert.
There isn a method to get peer msp id (ChaincodeStub.getMspID() - returns string), but
Thanks for your response. This will get client's certificate (the entity calling chaincode), not the peer's cert.
There isn a method to get peer msp id (ChaincodeStub.getMspID() - returns string), but
|
By
Kevin X
·
#9527
·
|
|
Admin certs and tls certs of orderers and peers expired.
#policies
#administrator-organiization
#consensus
#fabric-orderer
I'm using hyperledger fabric 1.4.9 and my admin certs and tls certs of ordererers expired. I also raised the issue on jira.
After enrolling new admin and tls certs i try doing this :-
Do config
I'm using hyperledger fabric 1.4.9 and my admin certs and tls certs of ordererers expired. I also raised the issue on jira.
After enrolling new admin and tls certs i try doing this :-
Do config
|
By
Adarsha Jha
·
#9526
·
|
|
Re: How to get peer x509 certifi ate in chaincode?
#fabric
#fabric-chaincode
Following should do the work:
serializedID, _ := stub.GetCreator()
sId := &msp.SerializedIdentity{}
err := proto.Unmarshal(serializedID, sId)
if err != nil {
Following should do the work:
serializedID, _ := stub.GetCreator()
sId := &msp.SerializedIdentity{}
err := proto.Unmarshal(serializedID, sId)
if err != nil {
|
By
Artem Barger <bartem@...>
·
#9525
·
|
|
Re: Starting Orderer: Failed validating bootstrap block: initializing channelconfig failed: could not create channel Orderer sub-group config
#hyperledger-fabric
#fabric-orderer
Hi Marek,
You can find the solution here. https://github.com/hyperledger/fabric/blob/master/docs/source/deployorderer/ordererdeploy.md#when-you-start-the-orderer-it-fails-with-the-following-error-1
Hi Marek,
You can find the solution here. https://github.com/hyperledger/fabric/blob/master/docs/source/deployorderer/ordererdeploy.md#when-you-start-the-orderer-it-fails-with-the-following-error-1
|
By
Michael Wang
·
#9524
·
|
|
How to get peer x509 certifi ate in chaincode?
#fabric
#fabric-chaincode
How can I get peer's x509 certificate in chaincode? I need to access attributes from peer certificate in the chaincode.
I can get perer's MSP ID using ChaincodeStub.getMspID() method. What is the
How can I get peer's x509 certificate in chaincode? I need to access attributes from peer certificate in the chaincode.
I can get perer's MSP ID using ChaincodeStub.getMspID() method. What is the
|
By
Kevin X
·
#9523
·
|
|
Hyperledger Fabric Documentation Workgroup call - Western hemisphere - Fri, 01/22/2021
#cal-notice
Hyperledger Fabric Documentation Workgroup call - Western hemisphere
When:
Friday, 22 January 2021
11:00am to 12:00pm
(GMT-05:00) America/New
Hyperledger Fabric Documentation Workgroup call - Western hemisphere
When:
Friday, 22 January 2021
11:00am to 12:00pm
(GMT-05:00) America/New
|
By
fabric@lists.hyperledger.org Calendar <noreply@...>
·
#9522
·
|
|
Hyperledger Project Quarterly Update Due #tsc-project-update - Thu, 01/21/2021
#tsc-project-update
#cal-notice
Hyperledger Project Quarterly Update Due #tsc-project-update
When:
Thursday, 21 January 2021
Organizer:
community-architects@...
Description:
Please file a project status report for the TSC
Hyperledger Project Quarterly Update Due #tsc-project-update
When:
Thursday, 21 January 2021
Organizer:
community-architects@...
Description:
Please file a project status report for the TSC
|
By
fabric@lists.hyperledger.org Calendar <noreply@...>
·
#9521
·
|
|
Hyperledger Fabric Documentation Workgroup call - Western hemisphere - Fri, 01/22/2021 11:00am-12:00pm
#cal-reminder
Reminder: Hyperledger Fabric Documentation Workgroup call - Western hemisphere
When: Friday, 22 January 2021, 11:00am to 12:00pm, (GMT-05:00) America/New
Reminder: Hyperledger Fabric Documentation Workgroup call - Western hemisphere
When: Friday, 22 January 2021, 11:00am to 12:00pm, (GMT-05:00) America/New
|
By
fabric@lists.hyperledger.org Calendar <fabric@...>
·
#9520
·
|
|
Re: Sometimes we got the old data when query chaincode.
Hi Senthil,
We are using v2.2.0 and the bug was fixed in v2.2.1 according to your information.
Thank you very much.
Best wishes
Qing, Ye
Hi Senthil,
We are using v2.2.0 and the bug was fixed in v2.2.1 according to your information.
Thank you very much.
Best wishes
Qing, Ye
|
By
Ye, Qing <ye_qing.pfu@...>
·
#9519
·
|
|
Re: Sometimes we got the old data when query chaincode.
Hi Qing,
There was a bug in the cache management logic. It got fixed in v2.2 (what version are you using?)
You can find more details on https://github.com/hyperledger/fabric/pull/1909
Hi Qing,
There was a bug in the cache management logic. It got fixed in v2.2 (what version are you using?)
You can find more details on https://github.com/hyperledger/fabric/pull/1909
|
By
Senthil Nathan
·
#9518
·
|
|
Sometimes we got the old data when query chaincode.
Hi,
Thank you for reading this mail!
We are using hyperledger fabric 2.2 on CentOS 8.2.
Follow the steps below, we got json2.
------
1. Invoke the chaincode just PutState json1.
The parameters of
Hi,
Thank you for reading this mail!
We are using hyperledger fabric 2.2 on CentOS 8.2.
Follow the steps below, we got json2.
------
1. Invoke the chaincode just PutState json1.
The parameters of
|
By
Ye, Qing <ye_qing.pfu@...>
·
#9517
·
|
|
Starting Orderer: Failed validating bootstrap block: initializing channelconfig failed: could not create channel Orderer sub-group config
#hyperledger-fabric
#fabric-orderer
Hi all,
Could I please ask you guys for help?
When starting the orderer I'm getting the following error: 2021-01-20 22:57:02.487 UTC [orderer.common.server] Main -> PANI 113 Failed validating
Hi all,
Could I please ask you guys for help?
When starting the orderer I'm getting the following error: 2021-01-20 22:57:02.487 UTC [orderer.common.server] Main -> PANI 113 Failed validating
|
By
Marek Malik <info@...>
·
#9516
·
|
|
Fabric Contributor Meeting - Wed, 01/20/2021
#cal-notice
Fabric Contributor Meeting
When:
Wednesday, 20 January 2021
9:00am to 10:00am
(GMT-05:00) America/New
Fabric Contributor Meeting
When:
Wednesday, 20 January 2021
9:00am to 10:00am
(GMT-05:00) America/New
|
By
fabric@lists.hyperledger.org Calendar <noreply@...>
·
#9515
·
|
|
Fabric Contributor Meeting - January 20, 2021
Hyperledger Fabric Contributor Meeting
When: Every other Wednesday 9am US Eastern, 14:00 UTC
Where: https://zoom.us/j/5184947650?pwd=UE90WHhEaHRqOGEyMkV3cldKa2d2dz09
Agendas and Recordings:
Hyperledger Fabric Contributor Meeting
When: Every other Wednesday 9am US Eastern, 14:00 UTC
Where: https://zoom.us/j/5184947650?pwd=UE90WHhEaHRqOGEyMkV3cldKa2d2dz09
Agendas and Recordings:
|
By
David Enyeart
·
#9514
·
|
|
Private Chaincode Lab - Tue, 01/19/2021
#cal-notice
Private Chaincode Lab
When:
Tuesday, 19 January 2021
8:00am to 9:00am
(GMT-08:00) America/Los
Private Chaincode Lab
When:
Tuesday, 19 January 2021
8:00am to 9:00am
(GMT-08:00) America/Los
|
By
fabric@lists.hyperledger.org Calendar <noreply@...>
·
#9513
·
|
|
Re: Channel Policy
Very helpful, thanks
Sincerely yours,
Samyak Jain
Very helpful, thanks
Sincerely yours,
Samyak Jain
|
By
Samyak Jain | TraceX
·
#9512
·
|
|
Re: Power of Administrator organiization in channel
#hyperledger-fabric
#channel
#consortium
#administrator-organiization
No. If you are referring to the members of the system channel as the "consortium", being removed from the system channel does not remove you from channels that a peer or ordering organization has
No. If you are referring to the members of the system channel as the "consortium", being removed from the system channel does not remove you from channels that a peer or ordering organization has
|
By
Nikhil Gupta
·
#9511
·
|
|
Re: Channel Policy
This tutorial also discusses channel policies: Channel policies — hyperledger-fabricdocs master documentation (hyperledger-fabric.readthedocs.io)
This tutorial also discusses channel policies: Channel policies — hyperledger-fabricdocs master documentation (hyperledger-fabric.readthedocs.io)
|
By
Nikhil Gupta
·
#9510
·
|
|
Re: Channel Policy
To answer your question specifically, the /Channel/Application/Admins policy determines who must sign to add or remove an application organization on a channel.
More generally you may find
To answer your question specifically, the /Channel/Application/Admins policy determines who must sign to add or remove an application organization on a channel.
More generally you may find
|
By
Jason Yellick <jyellick@...>
·
#9509
·
|