SlideShare a Scribd company logo
1 of 16
UNIVERSITY INSTITUTE OF
COMPUTING
Master of Computer
Applications(305/306/307)
Architecture and Operations of
Blockchain
Architecture
• Because BLOCKCHAIN stores the transaction data in blocks, that are linked together to
form a chain.
• As the number of transactions grows, so does the size of the blockchain.
• To get a clearer understanding of this glorious invention, let us discuss its architecture.
• The architectural components have been generalized and then modified by various
companies, leading to different blockchain projects like bitcoin, Ethereum, hyper
ledger etc.
• Bitcoin: Bitcoin is a digital currency that operates free of any central control or the
oversight of banks or governments. Instead, it relies on peer-to-peer software and
cryptography. A public ledger records all bitcoin transactions and copies are held on
servers around the world.
• Ethereum: Ethereum is a technology for building apps and organizations, holding
assets, transacting, and communicating without being controlled by a central authority.
There is no need to hand over all your personal details to use Ethereum - you keep control
of your own data and what is being shared. Ethereum has its own cryptocurrency, Ether,
which is used to pay for certain activities on the Ethereum network.
• Hyper ledger: Hyperledger is an open-source project created to support the
development of blockchain-based distributed ledgers. Hyperledger consists of a
collaborative effort to create the needed frameworks, standards, tools, and libraries to
build blockchains and related applications.
Keep in Mind:
• The blockchain is not Bitcoin; Blockchain is the technology behind Bitcoin.
• Bitcoin is the digital token or cryptocurrency whereas blockchain is the ledger to keep
track of transactions of those digital tokens.
• Bitcoin without blockchain is not possible, but you can have a blockchain without
Bitcoin.
list of the architectural components:
• Transaction
• Block
• P2P Network
• Consensus Algorithm
Transaction
• Transactions are the smallest building blocks of a blockchain system.
• They normally consist of a recipient address, a sender address, and a value.
• It is similar to a standard credit card statement.
• The owner transfers the value by digitally signing the hash produced by adding the
previous transaction and the public key of the receiver.
• The transaction is then publicly announced to the network and all the nodes independently
hold their own copy of the blockchain, and the current known “state” is calculated by
processing each transaction in order as it appears in the blockchain.
• Transactions are bundled and delivered to each node in the form of a block. As new
transactions are distributed throughout the network, they are independently verified and
“processed” by each node.
• Each transaction is time-stamped and collected in a block.
Block
• Block contains the information as a block header and transactions.
• Blocks are data structures whose purpose is to bundle sets of transactions and are
replicated to all nodes in the network.
• Blocks in the blockchain are created by miners.
• Mining is the process to create a valid block that will be accepted by the rest of the
network.
• Nodes take pending transactions, verify that they are cryptographically accurate, and
package them into blocks to be stored on the blockchain.
• The Block header is the metadata that helps in verifying the validity of a block.
• The rest of a block contains transactions.
• It can be any number of transactions bundled in a block depending on the choice of a
miner.
Types of Blocks:
1. Most blocks simply extend the current main blockchain which is also the longest chain
in the network. These blocks are called “main branch blocks”.
2. Some blocks reference a parent block that is not at the longest blockchain. These blocks
are called “side branch blocks”.
3. Some blocks reference a parent block that is not known to the node processing the
block. These are called “orphan blocks”.
P2P Network
• The blockchain is a peer-to-peer (P2P) network working on the IP protocol.
• A P2P network is a flat topology with no centralized node.
• All nodes equally provide and can consume services while collaborating via a consensus
algorithm.
• The Peers contribute to the computing power and storage that is required for the upkeep
of the network.
• P2P networks are generally more secure because they do not have a single point of attack
or failure as in the case of a centralized network.
• A blockchain network can be a permission-based network as well as a permissionless
network.
• A permissionless network is also known as a public blockchain because anyone can join
the network, while a permission-based blockchain is called a consortium blockchain.
• Permission-based blockchain or private blockchain requires pre-verification of the
participants within the network and these parties are usually known to each other.
• The decentralization of blockchain architecture is the sole credit of the P2P network that it
is built on.
Consensus Algorithm
• The way all these copies of a single ledger are synchronized is due to a consensus
algorithm.
• The consensus mechanism ensures that whatever local copy every individual party has,
they are consistent with each other and are the most updated ones.
• The copy that every individual node have are identical or similar to each other.
• It could be arguably stated that the consensus algorithm forms the core of every
blockchain architecture.
Consensus Algorithms:
1. Proof-of-Work(POW):
• It involves solving a computationally challenging puzzle in order to create new blocks in
the blockchain network.
• It basically involves guessing the string that produces a 256-bit hash, produced by the
popular hashing algorithm SHA256.
• The fact that hashing algorithms are irreversible stands as the fundamental pillar of such
an approach to consensus achievement.
• Since someone has to go through a million guesses to verify the hash, the process gets its
name ‘proof-of-work’.
2. Proof of Stake(POS)
• In this, nodes are known as validators.
• They validate the transactions to earn transaction fees.
• The nodes are randomly selected to validate the blocks and the
probability of this random selection depends on the amount of the
stake that a particular node has.
3. Simplified Byzantine Fault Tolerance(SBFT):
• The basic idea involves a single validator who bundles the proposed transactions and
forms a new block.
• The validator is a known party, given the permission-based nature of the ledger.
• The consensus is achieved as a result of a minimum number of other nodes in the network
rectifying the new block.
References
• https://www.hyperledger.org/
• https://www.techtarget.com/searchcio/definition/Hyperledger
• https://www.edureka.co/blog/blockchain-architecture/
• https://www.allerin.com/blog/breaking-down-the-blockchain-
architecture
Contact for any query:
amanjot.e13604@cumail.in

More Related Content

Similar to Architecture and operations.pptx

Blockchain Application Design and Development, and the Case of Programmable M...
Blockchain Application Design and Development, and the Case of Programmable M...Blockchain Application Design and Development, and the Case of Programmable M...
Blockchain Application Design and Development, and the Case of Programmable M...Ingo Weber
 
Blockchain, Hyperledger, DeFi, Web 3.0 - understanding and concepts
Blockchain,  Hyperledger, DeFi, Web 3.0 - understanding and conceptsBlockchain,  Hyperledger, DeFi, Web 3.0 - understanding and concepts
Blockchain, Hyperledger, DeFi, Web 3.0 - understanding and conceptskeithfernandez19
 
Introduction to Blockchain Governance Models
Introduction to Blockchain Governance ModelsIntroduction to Blockchain Governance Models
Introduction to Blockchain Governance ModelsGokul Alex
 
blockchain class 3.pdf
blockchain class 3.pdfblockchain class 3.pdf
blockchain class 3.pdfGopalSB
 
Blockchain - Presentacion Betabeers Galicia 10/12/2014
Blockchain - Presentacion Betabeers Galicia 10/12/2014Blockchain - Presentacion Betabeers Galicia 10/12/2014
Blockchain - Presentacion Betabeers Galicia 10/12/2014WeKCo Coworking
 
Ethereum Blockchain with Smart contract and ERC20
Ethereum Blockchain with Smart contract and ERC20Ethereum Blockchain with Smart contract and ERC20
Ethereum Blockchain with Smart contract and ERC20Truong Nguyen
 
Blockchain and Decentralization
Blockchain and DecentralizationBlockchain and Decentralization
Blockchain and DecentralizationPriyab Satoshi
 
Blockchain and Bitcoin
Blockchain and BitcoinBlockchain and Bitcoin
Blockchain and BitcoinM Shamim Iqbal
 
Analysing Data from Blockchains - Keynote @ SOCCA 2020
Analysing Data from Blockchains - Keynote @ SOCCA 2020Analysing Data from Blockchains - Keynote @ SOCCA 2020
Analysing Data from Blockchains - Keynote @ SOCCA 2020Ingo Weber
 
Blockchain Technology and Its Application in Libraries
Blockchain Technology and Its Application in LibrariesBlockchain Technology and Its Application in Libraries
Blockchain Technology and Its Application in LibrariesNabi Hasan
 
Agile Network India | Block Chain - New usecases | Abhilash Aravind
Agile Network India | Block Chain - New usecases | Abhilash AravindAgile Network India | Block Chain - New usecases | Abhilash Aravind
Agile Network India | Block Chain - New usecases | Abhilash AravindAgileNetwork
 
Blockchain - Things you need to know
Blockchain - Things you need to knowBlockchain - Things you need to know
Blockchain - Things you need to knowNAAPBOOKS
 
Idea To IPO Blockchain Slides
Idea To IPO Blockchain SlidesIdea To IPO Blockchain Slides
Idea To IPO Blockchain SlidesRoger Royse
 

Similar to Architecture and operations.pptx (20)

Blockchain Application Design and Development, and the Case of Programmable M...
Blockchain Application Design and Development, and the Case of Programmable M...Blockchain Application Design and Development, and the Case of Programmable M...
Blockchain Application Design and Development, and the Case of Programmable M...
 
Block chain
Block chainBlock chain
Block chain
 
Blockchain, Hyperledger, DeFi, Web 3.0 - understanding and concepts
Blockchain,  Hyperledger, DeFi, Web 3.0 - understanding and conceptsBlockchain,  Hyperledger, DeFi, Web 3.0 - understanding and concepts
Blockchain, Hyperledger, DeFi, Web 3.0 - understanding and concepts
 
Introduction to Blockchain Governance Models
Introduction to Blockchain Governance ModelsIntroduction to Blockchain Governance Models
Introduction to Blockchain Governance Models
 
blockchain class 3.pdf
blockchain class 3.pdfblockchain class 3.pdf
blockchain class 3.pdf
 
Blockchain - Presentacion Betabeers Galicia 10/12/2014
Blockchain - Presentacion Betabeers Galicia 10/12/2014Blockchain - Presentacion Betabeers Galicia 10/12/2014
Blockchain - Presentacion Betabeers Galicia 10/12/2014
 
Ethereum Blockchain with Smart contract and ERC20
Ethereum Blockchain with Smart contract and ERC20Ethereum Blockchain with Smart contract and ERC20
Ethereum Blockchain with Smart contract and ERC20
 
BlockChain-1.pptx
BlockChain-1.pptxBlockChain-1.pptx
BlockChain-1.pptx
 
blockchain.pptx
blockchain.pptxblockchain.pptx
blockchain.pptx
 
Understanding Blockchain
Understanding BlockchainUnderstanding Blockchain
Understanding Blockchain
 
Blockchain and Decentralization
Blockchain and DecentralizationBlockchain and Decentralization
Blockchain and Decentralization
 
Blockchain and Bitcoin
Blockchain and BitcoinBlockchain and Bitcoin
Blockchain and Bitcoin
 
BLOCK CHAIN
BLOCK CHAINBLOCK CHAIN
BLOCK CHAIN
 
Analysing Data from Blockchains - Keynote @ SOCCA 2020
Analysing Data from Blockchains - Keynote @ SOCCA 2020Analysing Data from Blockchains - Keynote @ SOCCA 2020
Analysing Data from Blockchains - Keynote @ SOCCA 2020
 
Chapter 2.pptx
Chapter 2.pptxChapter 2.pptx
Chapter 2.pptx
 
Blockchain Technology and Its Application in Libraries
Blockchain Technology and Its Application in LibrariesBlockchain Technology and Its Application in Libraries
Blockchain Technology and Its Application in Libraries
 
Blockchain Basics
Blockchain BasicsBlockchain Basics
Blockchain Basics
 
Agile Network India | Block Chain - New usecases | Abhilash Aravind
Agile Network India | Block Chain - New usecases | Abhilash AravindAgile Network India | Block Chain - New usecases | Abhilash Aravind
Agile Network India | Block Chain - New usecases | Abhilash Aravind
 
Blockchain - Things you need to know
Blockchain - Things you need to knowBlockchain - Things you need to know
Blockchain - Things you need to know
 
Idea To IPO Blockchain Slides
Idea To IPO Blockchain SlidesIdea To IPO Blockchain Slides
Idea To IPO Blockchain Slides
 

Recently uploaded

INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage examplePragyanshuParadkar1
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 

Recently uploaded (20)

POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage example
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 

Architecture and operations.pptx

  • 1. UNIVERSITY INSTITUTE OF COMPUTING Master of Computer Applications(305/306/307) Architecture and Operations of Blockchain
  • 2. Architecture • Because BLOCKCHAIN stores the transaction data in blocks, that are linked together to form a chain. • As the number of transactions grows, so does the size of the blockchain. • To get a clearer understanding of this glorious invention, let us discuss its architecture. • The architectural components have been generalized and then modified by various companies, leading to different blockchain projects like bitcoin, Ethereum, hyper ledger etc.
  • 3. • Bitcoin: Bitcoin is a digital currency that operates free of any central control or the oversight of banks or governments. Instead, it relies on peer-to-peer software and cryptography. A public ledger records all bitcoin transactions and copies are held on servers around the world. • Ethereum: Ethereum is a technology for building apps and organizations, holding assets, transacting, and communicating without being controlled by a central authority. There is no need to hand over all your personal details to use Ethereum - you keep control of your own data and what is being shared. Ethereum has its own cryptocurrency, Ether, which is used to pay for certain activities on the Ethereum network. • Hyper ledger: Hyperledger is an open-source project created to support the development of blockchain-based distributed ledgers. Hyperledger consists of a collaborative effort to create the needed frameworks, standards, tools, and libraries to build blockchains and related applications.
  • 4. Keep in Mind: • The blockchain is not Bitcoin; Blockchain is the technology behind Bitcoin. • Bitcoin is the digital token or cryptocurrency whereas blockchain is the ledger to keep track of transactions of those digital tokens. • Bitcoin without blockchain is not possible, but you can have a blockchain without Bitcoin. list of the architectural components: • Transaction • Block • P2P Network • Consensus Algorithm
  • 5.
  • 6. Transaction • Transactions are the smallest building blocks of a blockchain system. • They normally consist of a recipient address, a sender address, and a value. • It is similar to a standard credit card statement. • The owner transfers the value by digitally signing the hash produced by adding the previous transaction and the public key of the receiver. • The transaction is then publicly announced to the network and all the nodes independently hold their own copy of the blockchain, and the current known “state” is calculated by processing each transaction in order as it appears in the blockchain. • Transactions are bundled and delivered to each node in the form of a block. As new transactions are distributed throughout the network, they are independently verified and “processed” by each node. • Each transaction is time-stamped and collected in a block.
  • 7. Block • Block contains the information as a block header and transactions. • Blocks are data structures whose purpose is to bundle sets of transactions and are replicated to all nodes in the network. • Blocks in the blockchain are created by miners. • Mining is the process to create a valid block that will be accepted by the rest of the network. • Nodes take pending transactions, verify that they are cryptographically accurate, and package them into blocks to be stored on the blockchain. • The Block header is the metadata that helps in verifying the validity of a block. • The rest of a block contains transactions. • It can be any number of transactions bundled in a block depending on the choice of a miner.
  • 8. Types of Blocks: 1. Most blocks simply extend the current main blockchain which is also the longest chain in the network. These blocks are called “main branch blocks”. 2. Some blocks reference a parent block that is not at the longest blockchain. These blocks are called “side branch blocks”. 3. Some blocks reference a parent block that is not known to the node processing the block. These are called “orphan blocks”.
  • 9. P2P Network • The blockchain is a peer-to-peer (P2P) network working on the IP protocol. • A P2P network is a flat topology with no centralized node. • All nodes equally provide and can consume services while collaborating via a consensus algorithm. • The Peers contribute to the computing power and storage that is required for the upkeep of the network. • P2P networks are generally more secure because they do not have a single point of attack or failure as in the case of a centralized network.
  • 10. • A blockchain network can be a permission-based network as well as a permissionless network. • A permissionless network is also known as a public blockchain because anyone can join the network, while a permission-based blockchain is called a consortium blockchain. • Permission-based blockchain or private blockchain requires pre-verification of the participants within the network and these parties are usually known to each other. • The decentralization of blockchain architecture is the sole credit of the P2P network that it is built on.
  • 11. Consensus Algorithm • The way all these copies of a single ledger are synchronized is due to a consensus algorithm. • The consensus mechanism ensures that whatever local copy every individual party has, they are consistent with each other and are the most updated ones. • The copy that every individual node have are identical or similar to each other. • It could be arguably stated that the consensus algorithm forms the core of every blockchain architecture.
  • 12. Consensus Algorithms: 1. Proof-of-Work(POW): • It involves solving a computationally challenging puzzle in order to create new blocks in the blockchain network. • It basically involves guessing the string that produces a 256-bit hash, produced by the popular hashing algorithm SHA256. • The fact that hashing algorithms are irreversible stands as the fundamental pillar of such an approach to consensus achievement. • Since someone has to go through a million guesses to verify the hash, the process gets its name ‘proof-of-work’.
  • 13. 2. Proof of Stake(POS) • In this, nodes are known as validators. • They validate the transactions to earn transaction fees. • The nodes are randomly selected to validate the blocks and the probability of this random selection depends on the amount of the stake that a particular node has.
  • 14. 3. Simplified Byzantine Fault Tolerance(SBFT): • The basic idea involves a single validator who bundles the proposed transactions and forms a new block. • The validator is a known party, given the permission-based nature of the ledger. • The consensus is achieved as a result of a minimum number of other nodes in the network rectifying the new block.
  • 15. References • https://www.hyperledger.org/ • https://www.techtarget.com/searchcio/definition/Hyperledger • https://www.edureka.co/blog/blockchain-architecture/ • https://www.allerin.com/blog/breaking-down-the-blockchain- architecture
  • 16. Contact for any query: amanjot.e13604@cumail.in