Module 3 Private Blockchain System
Module 3 Private Blockchain System
SYSTEM
Prepared By:
Palak Desai
Assistant Professor
SCET, Surat
Outlines:
• Introduction
• Key characteristics of Private Blockchain
• Private Blockchain Examples
• Smart Contract in Private Environment
• State Machine
• Different Algorithms of Permissioned Blockchain
• Byzantine Fault
Benefits:
- Enhanced Privacy:
Transactions are only visible to the users who have permission to access it.
- Greater Scalability:
Nodes can be easily added and removed by enterprise.
- Permissioned Blockchain:
The resources are controlled and accessed by only permissioned users.
Performance Since the lesser number of nodes are there performance is increased as it takes less time to validate the
block.
This type of blockchain has higher throughput and lower latency become more significant as the
number of transaction grow.
Scalability A network that doesn’t host millions of users can easily implement the changes and features and hence
can increase scalability.
Throughput Since the number of users is limited this type of blockchain has higher throughput. This throughput
gives a more advantage as the business needs faster transactions which are easily provided by the
private blockchain.
Trust Users on the private network are not anonymous this increases the level of trust in the private
blockchain.
Private Blockchain is best suited for applications where it required the truth that a company can achieve
data privacy and control over data sharing.
Private Blockchain System 5
Characteristics (Conti…):
Cost-effective Private blockchains can be cost-effective for businesses because they don’t require the same level of
resources as public blockchains. Private blockchains can be operated on existing infrastructure, which
reduces the costs associated with setting up a new network.
Flexibility Private blockchains are highly flexible and can be customized to meet the specific needs of a business.
They can be designed to include only the necessary features and components, which makes them more
efficient.
Control Private blockchains provide businesses with greater control over their data and the blockchain
network.
Businesses can control who has access to the blockchain and can set rules and guidelines for how the
network is used.
Privacy Private blockchains provide greater privacy for businesses, as they can control who has access to their
data and can ensure that sensitive information is not shared with unauthorized parties.
Collaboration private blockchains can facilitate collaboration between businesses, as they can be designed to allow
multiple organizations to participate in the same network.
Data Handling Read and Write access for anyone Read and Write access for a single organization
• The platform provides a high degree of security, privacy, and scalability, and it supports the
development of custom blockchain solutions for various use cases across industries such as
finance, supply chain, and healthcare.
• Hyperledger Fabric operates as a network of nodes, where each node performs a specific
function, such as validating transactions, maintaining the ledger, and executing chaincode.
• Transactions are validated and ordered by a consensus mechanism, which ensures the integrity
and consistency of the ledger.
i. Client Nodes:
To put the order they can create transactions fir the execution and broadcast it.
ii. Ordering service nodes:
Initiate the order of all the transactions.
iii. Peer Nodes:
Maintain the ledger and the state of latter.
iv. Chain Nodes:
Those are smart contracts for implementing the application logic.
v. Endorsing Nodes:
As per the endorsement policy, a voting based consensus mechanism is used to execute
and validate the transactions.
• Ripple is an open-source XRP ledger and a pilot project of the private version used for the
public presents Central Bank flexibility, security and control over issuing, returning and
easy managing of digital currencies.
• Ripple transactions use less energy than Bitcoin, are confirmed in seconds, and cost very
little.
• The CDBC private ledgers are reliable for performing tens of thousands of transactions
per second. Ripple payment settlement platform also performs the currency exchange
around the word on the network. It offers a facility to exchange verities of
cryptocurrencies like Bitcoin, fiat currencies and gold commodities as well.
• For doing the transactions over the Ripple network, it charges a small amount to do the
transaction as a fee.
• Ethereum was developing their platform they realized that the transfer of assets has a
story behind it, which can consist of different terms and conditions to be fulfilled for
transfer to be completed.
• With the growth of adoption and popularity of public blockchain platforms, enterprise
companies understood that blockchain technology could actually be very efficient for
some of their business processes.
• That progress and focus on business needs had an influence on smart contract
development as well.
Apply(T)
S S’
• In practice, the transactions are bundled in blocks to make the process more efficient.
Given a state S and a block of transactions B, the state machine will return a new state S'.
S S’
For each T in B: apply(T)
Blockchain
Node Consensus
Tendermint Core
Networking
• In a PoW consensus, validator nodes must fetch data from a block header as an input and
runt it constantly by a cryptographic hash function.
• Validators hash is variable by adding an arbitrary number known as a nonce(number used
only once) every time the input data is run through the hash function. Specialized
computer nodes and a high level of electricity are required to calculate difficult
mathematical problems needed for the PoW system.
• In PoA, rights to generate new blocks are awarded to nodes that have proven their
authority to do so. These nodes are referred to as “Validators” and they run software
allowing them to put transactions in blocks. Process is automated and does not require
validators to be constantly monitoring their computers but does require maintaining the
computer uncompromised. PoA is suited for both private networks and public networks,
• BFT keeps the blockchain network continuously functional, even with some disagreeing
nodes.
• It keeps the network secure, preventing malice which can come in the form of a 51%
attack (or Sybil attacks) or double-spending.
• Byzantine fault tolerance can be achieved if the correctly working nodes in the network reach an
agreement on their values. There can be a default vote value given to missing messages i.e., we
can assume that the message from a particular node is ‘faulty’ if the message is not received
within a certain time limit. Furthermore, we can also assign a default response if the majority of
nodes respond with a correct value.
• Leslie Lamport proved that if we have 3m+1 correctly working processors, a consensus(agreement
on same state) can be reached if atmost m processors are faulty which means that strictly more
than two-thirds of the total number of processors should be honest.
• pBFT tries to provide a practical Byzantine state machine replication that can work even when
malicious nodes are operating in the system.
• Nodes in a pBFT enabled distributed system are sequentially ordered with one node being the
primary(or the leader node) and others referred to as secondary(or the backup nodes). Note here
that any eligible node in the system can become the primary by transitioning from secondary to
primary(typically, in the case of a primary node failure). The goal is that all honest nodes help in
reaching a consensus regarding the state of the system using the majority rule.
• A practical Byzantine Fault Tolerant system can function on the condition that the maximum
number of malicious nodes must not be greater than or equal to one-third of all the nodes in the
system. As the number of nodes increase, the system becomes more secure.
2. https://www.geeksforgeeks.org/blockchain/
3. https://ethereum.org/
4. https://medium.com/
5. https://docs.cosmos.network/