CORE_PEER_ADDRESS vs CORE_PEER_LISTENADDRESS
Siddharth Jain
from the docs w.r.t. CORE_PEER_ADDRESS it is said that this represents the endpoint to other peers in the same organization.
and CORE_PEER_LISTENADDRESS is The Address at local network interface this Peer will listen on.
So why would anyone want to set these two differently? If my friend's actual
phone number is 123-456-7890 (the
CORE_PEER_LISTENADDRESS) and the number I have in my phone book is 234-567-8901 (the CORE_PEER_ADDRESS) then there is bound to
be a problem when I try to call my friend. So why does Fabric open up this possibility?
|
|
Re: #fabric #fabric-kubernetes #hyperledger-fabric
#fabric
#fabric-kubernetes
#hyperledger-fabric
Nicholas Leonardi
You can start by having a look at this generic network. https://github.com/lepar/hyperledger-fabric-generic-network
Other resources can include the fabric documentation network
Em segunda-feira, 27 de janeiro de 2020 10:34:01 BRT, <jquesada@...> escreveu:
Hi, can someone point me to more information on the resources we could need for a Hyperledger Fabric production deployment? The idea is to start with 3 organizations using on premise hardware. We are looking to use 9 peers total, and 5 orderer nodes. We have used docker containers on one machine so far for our development environment, but we are looking into using Helm with Kubernetes. We are expecting a low volume of transactions so far, maybe 5-10 tps to start, but we want to be ready to scale in the future. Any insight on the hardware we may need for a production environment will be really appreciated. Thank you.
|
|
#fabric #fabric-kubernetes #hyperledger-fabric
#fabric
#fabric-kubernetes
#hyperledger-fabric
jquesada@...
Hi, can someone point me to more information on the resources we could need for a Hyperledger Fabric production deployment? The idea is to start with 3 organizations using on premise hardware. We are looking to use 9 peers total, and 5 orderer nodes. We have used docker containers on one machine so far for our development environment, but we are looking into using Helm with Kubernetes. We are expecting a low volume of transactions so far, maybe 5-10 tps to start, but we want to be ready to scale in the future. Any insight on the hardware we may need for a production environment will be really appreciated. Thank you.
|
|
Re: Is HLF a DLT or a blockchain?
Nye Liu <nye@...>
toggle quoted messageShow quoted text
On Fri, Jan 24, 2020, 7:45 PM Trevor Lee Oakley <trevor@...> wrote:
|
|
Re: Is HLF a DLT or a blockchain?
greg m
‘Altar of Proof of Work’ seems to be the biggest sticking point for all the definitions and it echoes “bitcoin maximalism”. In my mind, Linux Foundation, have made so much investment into the blockchain phenomenon, that for the member companies there is no going back even if they end up not calling it DLT, but something else – a sign of changing DT environments.
My 2 cents and not meant to start a flame.
Thank you, greg
Sent from Mail for Windows 10
From: Brian Behlendorf
Let's not get too hung up on terminology in such a charged environment. Don't take this as an "official statement". Yes, Fabric's underlying data structure involves a string of blocks, chained together, cryptographically signed and linked, and similar in spirit (if not exact approach) to Satoshi's use of the term in the Bitcoin white paper. Some would say you can't even whisper Satoshi's name let alone use the term "blockchain" without bowing down at the alter of Proof of Work, but I think most feel that ship has sailed. Yes, it would also not in inaccurate to describe the resulting system you build with Fabric as a "distributed ledger", distributed amongst the peers on the system (more precisely, on the same channel), with referential integrity and transactional characteristics worthy of the accounting term "ledger". Now it might be a good idea to make sure Fabric docs use the terms consistently, just for clarity's sake. But one can use both terms around Fabric without conflict. Brian
On 1/24/20 7:45 PM, Trevor Lee Oakley wrote:
-- Brian Behlendorf Executive Director, Hyperledger bbehlendorf@... Twitter: @brianbehlendorf
|
|
Re: Is HLF a DLT or a blockchain?
Brian Behlendorf <bbehlendorf@...>
Let's not get too hung up on terminology in such a charged
environment. Don't take this as an "official statement". Yes, Fabric's underlying data structure involves a string of
blocks, chained together, cryptographically signed and linked, and
similar in spirit (if not exact approach) to Satoshi's use of the
term in the Bitcoin white paper. Some would say you can't even
whisper Satoshi's name let alone use the term "blockchain" without
bowing down at the alter of Proof of Work, but I think most feel
that ship has sailed. Yes, it would also not in inaccurate to describe the resulting
system you build with Fabric as a "distributed ledger",
distributed amongst the peers on the system (more precisely, on
the same channel), with referential integrity and transactional
characteristics worthy of the accounting term "ledger". Now it might be a good idea to make sure Fabric docs use the
terms consistently, just for clarity's sake. But one can use both
terms around Fabric without conflict. Brian On 1/24/20 7:45 PM, Trevor Lee Oakley
wrote:
-- Brian Behlendorf Executive Director, Hyperledger bbehlendorf@... Twitter: @brianbehlendorf
|
|
Is HLF a DLT or a blockchain?
Trevor Lee Oakley <trevor@...>
I see conflicting references to this. The docs refer to a DLT and also a blockchain. In 4.5.1 of the docs it states it is a blockchain but in other parts it states it is a DLT. I have seen countless references to both.
Is there any official statement from the Linux Foundation about this?
Trevor
|
|
Re: [i18n] Status report on translation of Fabric docs
Pam Andrejko
Yang,
|
|
Re: what is the difference between system channel and application channel?
Yacov
the system channel is a channel that is
available only on ordering service nodes, and it is simply used to synchronize
application channel creation.
All transactions on the system channel are either configuration transactions, or transactions that create new channels. From: "Siddharth Jain" <siddjain@...> To: "fabric@..." <fabric@...> Date: 01/24/2020 07:31 PM Subject: [EXTERNAL] [Hyperledger Fabric] what is the difference between system channel and application channel? Sent by: fabric@... Hello Is there any document explaining what is the difference between system channel and application channel in Fabric? Sid
|
|
what is the difference between system channel and application channel?
Siddharth Jain
Hello
Is there any document explaining what is the difference between system channel and application channel in Fabric?
Sid
|
|
Hyperledger Fabric Documentation Workgroup call - Western hemisphere - Fri, 01/24/2020
#cal-notice
fabric@lists.hyperledger.org Calendar <noreply@...>
Hyperledger Fabric Documentation Workgroup call - Western hemisphere When: Where: Organizer: Description:
|
|
Re: Chaincode Upgrade Docker Container Environment
Kimheng SOK
Thank you
On Fri, Jan 24, 2020 at 10:36 PM Brett T Logan <Brett.T.Logan@...> wrote:
|
|
Re: Chaincode Upgrade Docker Container Environment
Brett T Logan <brett.t.logan@...>
In core.yaml you can specify your own chaincode runtime image for golang, Java or Node. So you can extend the image to include your tools, publish the image to a Docker registry and then use that as the runtime in your core.yaml:
----- Original message -----
|
|
Chaincode Upgrade Docker Container Environment
Kimheng SOK
Dear all, I have one question, each time we upgrade our chaincode a new docker container is created. But the problem is it doesn't inherit all the environment of the old version docker, from example if we install some program in the chaincode docker container, when we upgrade chaincode we need to install those program again in the new chaincode container. Is there a solution, so that we don't need to re-install the program again and again when we upgrade our chaincode? Bests,
|
|
Re: Error while trying to launch the chaincode as a standalone process
Yacov
Clients need to connect to the peer with
port 7051
toggle quoted messageShow quoted text
Chaincodes connect to the peer with port 7052 So when you install the chaincode, use port 7051 From: "Marina Wanis" <marinamaged1996@...> To: Yacov Manevich <YACOVM@...> Cc: "hyperledger-fabric@..." <hyperledger-fabric@...> Date: 01/24/2020 03:31 PM Subject: [EXTERNAL] Re: [Hyperledger Fabric] Error while trying to launch the chaincode as a standalone process Sent by: fabric@... Hi Yacov, I’m not getting an error when I try to launch the chaincode anymore but now when I install the chaincode I get the following error. I made sure that the port is 7052. By setting up the environment variable : export CORE_PEER_ADDRESS="localhost:7052" The error that I get when I install the chaincode is:- Error: Error endorsing chaincode: rpc error: code = Unimplemented desc = unknown service protos.Endorser Thanks, Marina Sent from Mailfor Windows 10
From: Yacov
Manevich
Sent: Friday, January 24, 2020 4:13 PM To: Marina Wanis Cc: hyperledger-fabric@... Subject: Re: [Hyperledger Fabric] Error while trying to launch the chaincode as a standalone process This means that the chaincode tries to access the peer over a port that is not correct. By default, the peer listens to port 7052 Maybe the chaincode tries to access via a different port? From: "Marina Wanis" <marinamaged1996@...> To: "hyperledger-fabric@..." <hyperledger-fabric@...> Date: 01/24/2020 08:53 AM Subject: [EXTERNAL] [Hyperledger Fabric] Error while trying to launch the chaincode as a standalone process Sent by: fabric@... Hi, I was trying to lunch the chaincode as a standalone process but I got the following error. Can someone please explain me the cause of the following error? 2020-01-24 06:48:15.778 UTC [shim] chatWithPeer -> ERRO 005 Received error from server, ending chaincode stream: rpc error: code = Unimplemented desc = unknown service protos.ChaincodeSupport receive failed github.com/hyperledger/fabric/core/chaincode/shim.chatWithPeer /vagrant/gocc/src/github.com/hyperledger/fabric/core/chaincode/shim/chaincode.go:362 github.com/hyperledger/fabric/core/chaincode/shim.Start /vagrant/gocc/src/github.com/hyperledger/fabric/core/chaincode/shim/chaincode.go:156 main.main /vagrant/gocc/src/chaincode_example02/chaincode_example02.go:198 runtime.main /usr/local/go/src/runtime/proc.go:200 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1337 Error starting Simple chaincode: receive failed: rpc error: code = Unimplemented desc = unknown service protos.ChaincodeSupport Thanks, Marina
|
|
Re: Error while trying to launch the chaincode as a standalone process
Marina Wanis <marinamaged1996@...>
Hi Yacov,
I’m not getting an error when I try to launch the chaincode anymore but now when I install the chaincode I get the following error. I made sure that the port is 7052. By setting up the environment variable : export CORE_PEER_ADDRESS="localhost:7052"
The error that I get when I install the chaincode is:- Error: Error endorsing chaincode: rpc error: code = Unimplemented desc = unknown service protos.Endorser
Thanks, Marina
Sent from Mail for Windows 10
From: Yacov Manevich
This means that the chaincode tries to access the peer over a port that is not correct.
|
|
Re: Error while trying to launch the chaincode as a standalone process
Yacov
This means that the chaincode tries to
access the peer over a port that is not correct.
By default, the peer listens to port 7052 Maybe the chaincode tries to access via a different port? From: "Marina Wanis" <marinamaged1996@...> To: "hyperledger-fabric@..." <hyperledger-fabric@...> Date: 01/24/2020 08:53 AM Subject: [EXTERNAL] [Hyperledger Fabric] Error while trying to launch the chaincode as a standalone process Sent by: fabric@... Hi, I was trying to lunch the chaincode as a standalone process but I got the following error. Can someone please explain me the cause of the following error? 2020-01-24 06:48:15.778 UTC [shim] chatWithPeer -> ERRO 005 Received error from server, ending chaincode stream: rpc error: code = Unimplemented desc = unknown service protos.ChaincodeSupport receive failed github.com/hyperledger/fabric/core/chaincode/shim.chatWithPeer /vagrant/gocc/src/github.com/hyperledger/fabric/core/chaincode/shim/chaincode.go:362 github.com/hyperledger/fabric/core/chaincode/shim.Start /vagrant/gocc/src/github.com/hyperledger/fabric/core/chaincode/shim/chaincode.go:156 main.main /vagrant/gocc/src/chaincode_example02/chaincode_example02.go:198 runtime.main /usr/local/go/src/runtime/proc.go:200 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1337 Error starting Simple chaincode: receive failed: rpc error: code = Unimplemented desc = unknown service protos.ChaincodeSupport Thanks, Marina
|
|
Privacy vs Decentralisation
#hyperledger-fabric
#raft
#fabric-questions
#fabric-orderer
yashukla47@...
I have a question. Can orderers read all the transactions passing through them even from the channels of which their organization is not a part of If yes, then is there any solution to implement complete decentralization (by having one orderer per organization) + Privacy among the members of the channel. except for using private data.
|
|
Error while trying to launch the chaincode as a standalone process
Marina Wanis <marinamaged1996@...>
Hi,
I was trying to lunch the chaincode as a standalone process but I got the following error. Can someone please explain me the cause of the following error?
2020-01-24 06:48:15.778 UTC [shim] chatWithPeer -> ERRO 005 Received error from server, ending chaincode stream: rpc error: code = Unimplemented desc = unknown service protos.ChaincodeSupport receive failed github.com/hyperledger/fabric/core/chaincode/shim.chatWithPeer /vagrant/gocc/src/github.com/hyperledger/fabric/core/chaincode/shim/chaincode.go:362 github.com/hyperledger/fabric/core/chaincode/shim.Start /vagrant/gocc/src/github.com/hyperledger/fabric/core/chaincode/shim/chaincode.go:156 main.main /vagrant/gocc/src/chaincode_example02/chaincode_example02.go:198 runtime.main /usr/local/go/src/runtime/proc.go:200 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1337 Error starting Simple chaincode: receive failed: rpc error: code = Unimplemented desc = unknown service protos.ChaincodeSupport
Thanks, Marina
|
|
Hyperledger Fabric Documentation Workgroup call - Eastern hemisphere - Fri, 01/24/2020
#cal-notice
fabric@lists.hyperledger.org Calendar <noreply@...>
Hyperledger Fabric Documentation Workgroup call - Eastern hemisphere When: Where: Organizer: Description:
|
|