6

I have several questions:

  1. Why does hyperledger network need more than one orderer node? If I understand correctly, after nodes validate the transactions, they pass those transactions to an orderer node. orderer node will timestamp those transactions, push them in a block and send that block to the nodes back. nodes will append that block to the ledger. Did I say everything correctly? if Yes, why do we need more than one orderer?

  2. I know that I can add more entities to my network so that they can execute transactions and make smart contract calls and view my private blockchain. but where do nodes come from? do I add them? who adds them? organization is just someone who will have a certificate and who will make the transaction ,but what about nodes? nodes have to be computers and who brings nodes to network? if organizations can add nodes for their transaction to take place, why would they ever need to add more than one node?

  3. If I made the network and all is good, how do I connect it? I know I can use sdk or node.js client but in a nutshell, how to connect it? Do I use the IP address of the computer where that blockchain is running or what?

halfer
  • 18,701
  • 13
  • 79
  • 158
Nika Kurashvili
  • 4,270
  • 4
  • 22
  • 68

3 Answers3

6

You will find full answers to your questions in the Fabric Docs, but quick answers below:

  1. In Hyperledger Fabric - (you have the process roughly correct in your description) a single orderer is a single point of failure, and a single unit of capacity - a multi node orderering service can be more resilient and more performant.
  2. Organisations would add multiple peer nodes for resiliency and capacity
  3. Yes, you could connect using the Node SDK or GoLang SDK. You would have (create) a connection profile that describes your Fabric Network of Nodes which would contain amongst other things the URLs needed to connect to the nodes.
R Thatcher
  • 5,455
  • 1
  • 5
  • 15
  • I would expand on point #2 a little. The network is permissioned, and new nodes can only be added by network administrators. https://hyperledger-fabric.readthedocs.io/en/master/network/network.html is a conceptual walkthrough. Here is a dated but detailed article detailing the steps you might actually execute to add a new peer to the network: https://medium.com/@wahabjawed/extending-hyperledger-fabric-network-adding-a-new-peer-4f52f70a7217 – womp Oct 17 '18 at 17:36
1

Hyperledger is a blockchain consortium with multiple, independent blockchain platforms, including Fabric (only Fabric has an Orderer).

But in general, for blockchain technologies you always want more than one thing of everything. One of the main benefits of blockchain technologies is decentralization. So a node or even nodes can disappear and the data and network will still be functional (although possibly degraded).

Dan Anderson
  • 2,047
  • 1
  • 6
  • 18
-2

Just to clarify the first part of the question.

after nodes validate the transactions

This step is not validation, it is called execution where nodes executes the smart contract or chain code and sends it back to the client, which in turn send it to the orderer. Others have already answered your rest of the questions. Cheers!

  • I believe this would be better handled as a comment on the question. It is helpful, but not really an answer. – zanerock Nov 27 '18 at 17:11
  • I am just new here, don't have enough reputation to comment directly on question.So I had to answer it only. – Ankur Walia Nov 27 '18 at 17:34