SlideShare a Scribd company logo
1 of 10
Download to read offline
SANJAY BASU SANJBASU@CLOUDFLOATERS.COM
SANJAY BASU SANJBASU@CLOUDFLOATERS.COM
Agenda
• What is Blockchain
• Concepts
• Types
• Structures
• Block Content
• Logic
• References
“The blockchain is an incorruptible digital ledger of
economic transactions that can be programmed to
record not just financial transactions but virtually
everything of value.”
Don&Alex Tapscott, authors Blockchain Revolution (2016)
SANJAY BASU SANJBASU@CLOUDFLOATERS.COM
What is a blockchain?
In other words, blockchain is a distributed digital implementation
of a centralized transaction ledger hardcopy or otherwise.
SANJAY BASU SANJBASU@CLOUDFLOATERS.COM
What is a blockchain? – contd.
A secure distributed ledger is a set of cryptographically signed, irrevocable
records of transactions that is shared by a distributed network of computers.
Every participant in the network has the same copy of the ledger. There will
be some lag due to compute and transmission latencies.
When a consensus around a transaction validity is reached, it is added to the
register.
SANJAY BASU SANJBASU@CLOUDFLOATERS.COM
Blockchain Concepts
The ledger consists of a linear time-sequenced chain
of blocks, with each block containing one or more
transactions. Each block is connected to the previous
block via a hash (tamper-proof digital fingerprint).
On the blockchain, users can observe transactions
that have occurred, so they know which outputs are
available for spending and which ones have been
consumed.
Blockchain provides a distributed public or private ledger containing transactions that are governed
and maintained by specific protocols through consensus of the nodes participating in its network.
SANJAY BASU SANJBASU@CLOUDFLOATERS.COM
3 Types of Blockchain
Public Blockchain
• Can be accessed and mined by any
one with Internet access. Access
includes not only reading but also
posting transactions, and they will be
included if they are valid.
• Nodes participating in a public
blockchain network do not have to
obtain permission to access the ledger
or add transactions. These
blockchains are generally considered
to be fully decentralized.
• Public blockchains have the benefit
of information transparency and
auditability, but they sacrifice
information privacy.
Consortium Blockchain
• Used across multiple organizations.
The Consensus process is controlled by
authorized nodes. Eg. -One might
imagine a consortium of 15 financial
institutions, each of which operates a
node and of which 10 must sign every
block in order for the block to be
valid.
• The right to read the blockchain may
be public or restricted to the
participants, and there are also
hybrid variations such as the root
hashes of the blocks being public
together with an API that allows
members of the public to make a
limited number of queries and get
back Cryptographic proofs of some
parts of the blockchain state.
Fully Private Blockchain
• Also known as Permissioned
Blockchain, limits write
permissions to within a single
organization that owns the
blockchain.
• Read permissions may be public
or restricted to an arbitrary
extent.
• Likely applications include
database management and
auditing internal to a single
company, so public readability
may not be necessary in many
cases at all, though in other cases
public auditability is desired.
SANJAY BASU SANJBASU@CLOUDFLOATERS.COM
Blockchain Structures
Each block in the blockchain represents, in effect, the claim by someone on the network that the
transactions contained inside the block are the first ones to spend the inputs involved, and therefore
any transaction in the future that attempts to spend the same inputs should be rejected as invalid.
The exact structure of a block may vary from one application to another. Table on the
following slide shows the typical block format.
Each block begins with a “magic number” that uniquely identifies this chain.
For Bitcoin, the magic number is 0xD9B4BEF9. This number is followed by a block size field
that specifies the total number of bytes in the remainder of the block. Next comes the header,
consisting of multiple fields. Finally, the block contains a transaction counter (≥ 1) followed by
one or more transactions. The internal format of each transaction is application-dependent.
SANJAY BASU SANJBASU@CLOUDFLOATERS.COM
Blockchain Structures – typical block content
SANJAY BASU SANJBASU@CLOUDFLOATERS.COM
Blockchain Logic
Each block in the blockchain represents, in effect, the claim by some one on the
network that the transactions contained inside the block are the first ones to spend the
inputs involved, and therefore any transaction in the future that attempts to spend the
same inputs should be rejected as invalid.
The term “blockchain” is used interchangeably to describe both the blockchain
network (network of nodes) and the distributed ledger (chain of blocks). It offers a
way for users who may not know or trusteach other to create a record of who
transacts what that will compel the assent of everyone concerned.
The blockchain ledger is not housed on a single privileged server. Rather, it is a
shared data structure in which every node (user) on the network has the same copy
of all other nodes (subject to propagation time delays) and can read any transaction
in the ledger.
SANJAY BASU SANJBASU@CLOUDFLOATERS.COM
• “Blockchain: The next big thing,” The Economist,May 9, 2015.
• “What CIOs Should Tell the Board of Directors About Blockchain,” Gartner Research, February 14, 2017.
• Giles, A., “Blockchains 101,” Slide presentation from the #StartingBlock2015 tour by @blockstrap, available
at:slideshare.net
• Lamport, L. “The Part-Time Parliament,” ACM Transactions on Computer Systems (TOCS), May 1998.
• Bitcoin Developer Guide, bitcoin.org/en/developer-guide
• Xu, X. et al., “The Blockchain as a Software Connector,” 2016 13th Working IEEE/IFIP Conference on Software
Architecture, April 2016.
• Kaye, M., “How to Secure a Blockchain with Zero Energy,” Bitcoin Magazine, January 16, 2014.
• Miller, A. et al., “Permacoin: Repurposing Bitcoin Work for Data Preservation,” IEEE Symposium on Security and
Privacy, May 2014.
• Giles, A., “Blockchains 102,” Slide presentation from the #StartingBlock2015 tour by @blockstrap, available at:
slideshare.net
• Stallings, W., Cryptography and Network Security, Seventh Edition, ISBN-13: 978-0134444284, Pearson, 2017.
• Judmayer, A., Stifter, N., Krombholz, K., and Weippl, E., Blocks and Chains: Introduction to Bitcoin, Cryptocurrencies,
and Their Consensus. Synthesis Lectures on Information Security, Privacy, and Trust,ISBN-13: 978-1627057165,
Morgan & Claypool, 2017.
References for part 1

More Related Content

What's hot

Blockchain seminar
Blockchain seminarBlockchain seminar
Blockchain seminarAmiyabablu
 
以比特幣為例的區塊鏈技術介紹 ( Intro to Blockchain using Bitcoin as an example)
以比特幣為例的區塊鏈技術介紹 ( Intro to Blockchain using Bitcoin as an example)以比特幣為例的區塊鏈技術介紹 ( Intro to Blockchain using Bitcoin as an example)
以比特幣為例的區塊鏈技術介紹 ( Intro to Blockchain using Bitcoin as an example)Nicholas Lin
 
Blockchain Study(1) - What is Blockchain?
Blockchain Study(1) - What is Blockchain?Blockchain Study(1) - What is Blockchain?
Blockchain Study(1) - What is Blockchain?Fermat Jade
 
Bitcoin for programmers - part 1 version 2
Bitcoin for programmers - part 1 version 2Bitcoin for programmers - part 1 version 2
Bitcoin for programmers - part 1 version 2Wojciech Langiewicz
 
Bitcoin: introduction for programmers - Pecha Kucha
Bitcoin:   introduction for programmers - Pecha KuchaBitcoin:   introduction for programmers - Pecha Kucha
Bitcoin: introduction for programmers - Pecha KuchaWojciech Langiewicz
 
Introduction to Bitcoin for programmers
Introduction to Bitcoin for programmersIntroduction to Bitcoin for programmers
Introduction to Bitcoin for programmersWojciech Langiewicz
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain TechnologyRemaisha Ali
 
Bitcoin - Beyond the basics
Bitcoin - Beyond the basicsBitcoin - Beyond the basics
Bitcoin - Beyond the basicsChris DeRose
 
Payment Protocols - Block Chain & Beyond
Payment Protocols - Block Chain & BeyondPayment Protocols - Block Chain & Beyond
Payment Protocols - Block Chain & BeyondAlexander Kiriakou
 
Vilnius blockchain club 20170413 consensus
Vilnius blockchain club 20170413 consensusVilnius blockchain club 20170413 consensus
Vilnius blockchain club 20170413 consensusAudrius Ramoska
 
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad SarangNinad Sarang
 
SAA Blockchain Presentation. 10 Startups using the Blockchain
SAA Blockchain Presentation.  10 Startups using the BlockchainSAA Blockchain Presentation.  10 Startups using the Blockchain
SAA Blockchain Presentation. 10 Startups using the BlockchainTom McGovern
 
Blockchain Deconstructed - by nexxworks
Blockchain Deconstructed - by nexxworks Blockchain Deconstructed - by nexxworks
Blockchain Deconstructed - by nexxworks nexxworks
 
Bitcoin, Banking and the Blockchain
Bitcoin, Banking and the BlockchainBitcoin, Banking and the Blockchain
Bitcoin, Banking and the Blockchainseancarmody
 
Blockchain 101
Blockchain 101Blockchain 101
Blockchain 101Suki Chana
 
Blockchain, Smart Contracts and DAOs in 10 minutes
Blockchain, Smart Contracts and DAOs in 10 minutesBlockchain, Smart Contracts and DAOs in 10 minutes
Blockchain, Smart Contracts and DAOs in 10 minutesAndreu Rodríguez i Donaire
 

What's hot (20)

Blockchain seminar
Blockchain seminarBlockchain seminar
Blockchain seminar
 
以比特幣為例的區塊鏈技術介紹 ( Intro to Blockchain using Bitcoin as an example)
以比特幣為例的區塊鏈技術介紹 ( Intro to Blockchain using Bitcoin as an example)以比特幣為例的區塊鏈技術介紹 ( Intro to Blockchain using Bitcoin as an example)
以比特幣為例的區塊鏈技術介紹 ( Intro to Blockchain using Bitcoin as an example)
 
Blockchain Study(1) - What is Blockchain?
Blockchain Study(1) - What is Blockchain?Blockchain Study(1) - What is Blockchain?
Blockchain Study(1) - What is Blockchain?
 
Blockchain
BlockchainBlockchain
Blockchain
 
Bitcoin for programmers - part 1 version 2
Bitcoin for programmers - part 1 version 2Bitcoin for programmers - part 1 version 2
Bitcoin for programmers - part 1 version 2
 
Bitcoin: introduction for programmers - Pecha Kucha
Bitcoin:   introduction for programmers - Pecha KuchaBitcoin:   introduction for programmers - Pecha Kucha
Bitcoin: introduction for programmers - Pecha Kucha
 
Introduction to Bitcoin for programmers
Introduction to Bitcoin for programmersIntroduction to Bitcoin for programmers
Introduction to Bitcoin for programmers
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
 
Bitcoin - Beyond the basics
Bitcoin - Beyond the basicsBitcoin - Beyond the basics
Bitcoin - Beyond the basics
 
Payment Protocols - Block Chain & Beyond
Payment Protocols - Block Chain & BeyondPayment Protocols - Block Chain & Beyond
Payment Protocols - Block Chain & Beyond
 
Vilnius blockchain club 20170413 consensus
Vilnius blockchain club 20170413 consensusVilnius blockchain club 20170413 consensus
Vilnius blockchain club 20170413 consensus
 
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
 
SAA Blockchain Presentation. 10 Startups using the Blockchain
SAA Blockchain Presentation.  10 Startups using the BlockchainSAA Blockchain Presentation.  10 Startups using the Blockchain
SAA Blockchain Presentation. 10 Startups using the Blockchain
 
Blockchain Deconstructed - by nexxworks
Blockchain Deconstructed - by nexxworks Blockchain Deconstructed - by nexxworks
Blockchain Deconstructed - by nexxworks
 
Blockchain bootcamp for boards
Blockchain bootcamp for boardsBlockchain bootcamp for boards
Blockchain bootcamp for boards
 
Bitcoin, Banking and the Blockchain
Bitcoin, Banking and the BlockchainBitcoin, Banking and the Blockchain
Bitcoin, Banking and the Blockchain
 
Pi network
Pi networkPi network
Pi network
 
Blockchain 101
Blockchain 101Blockchain 101
Blockchain 101
 
Block chain technology
Block chain technologyBlock chain technology
Block chain technology
 
Blockchain, Smart Contracts and DAOs in 10 minutes
Blockchain, Smart Contracts and DAOs in 10 minutesBlockchain, Smart Contracts and DAOs in 10 minutes
Blockchain, Smart Contracts and DAOs in 10 minutes
 

Similar to Blockchain Primer Part 1

1% OF EVERYTHING ABOUT BLOCKCHAIN
1% OF EVERYTHING ABOUT BLOCKCHAIN1% OF EVERYTHING ABOUT BLOCKCHAIN
1% OF EVERYTHING ABOUT BLOCKCHAINRavi Choudhary
 
Blockchain Computing: Prospects and Challenges for Digital Transformation  Pr...
Blockchain Computing: Prospects and Challenges for Digital Transformation  Pr...Blockchain Computing: Prospects and Challenges for Digital Transformation  Pr...
Blockchain Computing: Prospects and Challenges for Digital Transformation  Pr...eraser Juan José Calderón
 
Blockchain: An Innovative Technology
Blockchain: An Innovative TechnologyBlockchain: An Innovative Technology
Blockchain: An Innovative TechnologyIJSRED
 
Blockchain-SSM.pptx
Blockchain-SSM.pptxBlockchain-SSM.pptx
Blockchain-SSM.pptxAditya786867
 
Architecture and operations.pptx
Architecture and operations.pptxArchitecture and operations.pptx
Architecture and operations.pptxharshitmittal737363
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain TechnologyNimmy Solomon
 
Blockchain and its Scope in Retail
Blockchain and its Scope in RetailBlockchain and its Scope in Retail
Blockchain and its Scope in RetailIRJET Journal
 
Do a research and make a PowerPoint about Insulation for architect
Do a research and make a PowerPoint about Insulation for architectDo a research and make a PowerPoint about Insulation for architect
Do a research and make a PowerPoint about Insulation for architectDustiBuckner14
 
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
 
Learn Blockchain-Basics - 101Blockchains
Learn Blockchain-Basics - 101BlockchainsLearn Blockchain-Basics - 101Blockchains
Learn Blockchain-Basics - 101BlockchainsJackSmith435850
 
Blockchain Presentation
Blockchain PresentationBlockchain Presentation
Blockchain PresentationZied GUESMI
 
Guide to blockchain technology
Guide to blockchain technologyGuide to blockchain technology
Guide to blockchain technologyAnisha Sachit
 
Blockchain and its Use in the Public Sector - OECD
Blockchain and its Use in the Public Sector - OECDBlockchain and its Use in the Public Sector - OECD
Blockchain and its Use in the Public Sector - OECDOECD Governance
 
Blockchain&Crypto.pptx
Blockchain&Crypto.pptxBlockchain&Crypto.pptx
Blockchain&Crypto.pptxRafayNaveed4
 
IoT and Blockchain Challenges and Risks
IoT and Blockchain Challenges and RisksIoT and Blockchain Challenges and Risks
IoT and Blockchain Challenges and RisksAhmed Banafa
 

Similar to Blockchain Primer Part 1 (20)

1% OF EVERYTHING ABOUT BLOCKCHAIN
1% OF EVERYTHING ABOUT BLOCKCHAIN1% OF EVERYTHING ABOUT BLOCKCHAIN
1% OF EVERYTHING ABOUT BLOCKCHAIN
 
Emily rutland blockchain
Emily rutland blockchainEmily rutland blockchain
Emily rutland blockchain
 
Blockchain Computing: Prospects and Challenges for Digital Transformation  Pr...
Blockchain Computing: Prospects and Challenges for Digital Transformation  Pr...Blockchain Computing: Prospects and Challenges for Digital Transformation  Pr...
Blockchain Computing: Prospects and Challenges for Digital Transformation  Pr...
 
Blockchain: An Innovative Technology
Blockchain: An Innovative TechnologyBlockchain: An Innovative Technology
Blockchain: An Innovative Technology
 
BLOCKCHAIN.pptx
BLOCKCHAIN.pptxBLOCKCHAIN.pptx
BLOCKCHAIN.pptx
 
Blockchain-SSM.pptx
Blockchain-SSM.pptxBlockchain-SSM.pptx
Blockchain-SSM.pptx
 
Architecture and operations.pptx
Architecture and operations.pptxArchitecture and operations.pptx
Architecture and operations.pptx
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
 
Blockchain and its Scope in Retail
Blockchain and its Scope in RetailBlockchain and its Scope in Retail
Blockchain and its Scope in Retail
 
Do a research and make a PowerPoint about Insulation for architect
Do a research and make a PowerPoint about Insulation for architectDo a research and make a PowerPoint about Insulation for architect
Do a research and make a PowerPoint about Insulation for architect
 
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
 
Learn Blockchain-Basics - 101Blockchains
Learn Blockchain-Basics - 101BlockchainsLearn Blockchain-Basics - 101Blockchains
Learn Blockchain-Basics - 101Blockchains
 
BLOCKCHAIN
BLOCKCHAINBLOCKCHAIN
BLOCKCHAIN
 
Blockchain Presentation
Blockchain PresentationBlockchain Presentation
Blockchain Presentation
 
module-1.pptx
module-1.pptxmodule-1.pptx
module-1.pptx
 
Guide to blockchain technology
Guide to blockchain technologyGuide to blockchain technology
Guide to blockchain technology
 
Blockchain and its Use in the Public Sector - OECD
Blockchain and its Use in the Public Sector - OECDBlockchain and its Use in the Public Sector - OECD
Blockchain and its Use in the Public Sector - OECD
 
Blockchain technology | Bitcoins
Blockchain technology | BitcoinsBlockchain technology | Bitcoins
Blockchain technology | Bitcoins
 
Blockchain&Crypto.pptx
Blockchain&Crypto.pptxBlockchain&Crypto.pptx
Blockchain&Crypto.pptx
 
IoT and Blockchain Challenges and Risks
IoT and Blockchain Challenges and RisksIoT and Blockchain Challenges and Risks
IoT and Blockchain Challenges and Risks
 

Recently uploaded

SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 

Recently uploaded (20)

SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 

Blockchain Primer Part 1

  • 2. SANJAY BASU SANJBASU@CLOUDFLOATERS.COM Agenda • What is Blockchain • Concepts • Types • Structures • Block Content • Logic • References
  • 3. “The blockchain is an incorruptible digital ledger of economic transactions that can be programmed to record not just financial transactions but virtually everything of value.” Don&Alex Tapscott, authors Blockchain Revolution (2016) SANJAY BASU SANJBASU@CLOUDFLOATERS.COM What is a blockchain?
  • 4. In other words, blockchain is a distributed digital implementation of a centralized transaction ledger hardcopy or otherwise. SANJAY BASU SANJBASU@CLOUDFLOATERS.COM What is a blockchain? – contd. A secure distributed ledger is a set of cryptographically signed, irrevocable records of transactions that is shared by a distributed network of computers. Every participant in the network has the same copy of the ledger. There will be some lag due to compute and transmission latencies. When a consensus around a transaction validity is reached, it is added to the register.
  • 5. SANJAY BASU SANJBASU@CLOUDFLOATERS.COM Blockchain Concepts The ledger consists of a linear time-sequenced chain of blocks, with each block containing one or more transactions. Each block is connected to the previous block via a hash (tamper-proof digital fingerprint). On the blockchain, users can observe transactions that have occurred, so they know which outputs are available for spending and which ones have been consumed. Blockchain provides a distributed public or private ledger containing transactions that are governed and maintained by specific protocols through consensus of the nodes participating in its network.
  • 6. SANJAY BASU SANJBASU@CLOUDFLOATERS.COM 3 Types of Blockchain Public Blockchain • Can be accessed and mined by any one with Internet access. Access includes not only reading but also posting transactions, and they will be included if they are valid. • Nodes participating in a public blockchain network do not have to obtain permission to access the ledger or add transactions. These blockchains are generally considered to be fully decentralized. • Public blockchains have the benefit of information transparency and auditability, but they sacrifice information privacy. Consortium Blockchain • Used across multiple organizations. The Consensus process is controlled by authorized nodes. Eg. -One might imagine a consortium of 15 financial institutions, each of which operates a node and of which 10 must sign every block in order for the block to be valid. • The right to read the blockchain may be public or restricted to the participants, and there are also hybrid variations such as the root hashes of the blocks being public together with an API that allows members of the public to make a limited number of queries and get back Cryptographic proofs of some parts of the blockchain state. Fully Private Blockchain • Also known as Permissioned Blockchain, limits write permissions to within a single organization that owns the blockchain. • Read permissions may be public or restricted to an arbitrary extent. • Likely applications include database management and auditing internal to a single company, so public readability may not be necessary in many cases at all, though in other cases public auditability is desired.
  • 7. SANJAY BASU SANJBASU@CLOUDFLOATERS.COM Blockchain Structures Each block in the blockchain represents, in effect, the claim by someone on the network that the transactions contained inside the block are the first ones to spend the inputs involved, and therefore any transaction in the future that attempts to spend the same inputs should be rejected as invalid. The exact structure of a block may vary from one application to another. Table on the following slide shows the typical block format. Each block begins with a “magic number” that uniquely identifies this chain. For Bitcoin, the magic number is 0xD9B4BEF9. This number is followed by a block size field that specifies the total number of bytes in the remainder of the block. Next comes the header, consisting of multiple fields. Finally, the block contains a transaction counter (≥ 1) followed by one or more transactions. The internal format of each transaction is application-dependent.
  • 8. SANJAY BASU SANJBASU@CLOUDFLOATERS.COM Blockchain Structures – typical block content
  • 9. SANJAY BASU SANJBASU@CLOUDFLOATERS.COM Blockchain Logic Each block in the blockchain represents, in effect, the claim by some one on the network that the transactions contained inside the block are the first ones to spend the inputs involved, and therefore any transaction in the future that attempts to spend the same inputs should be rejected as invalid. The term “blockchain” is used interchangeably to describe both the blockchain network (network of nodes) and the distributed ledger (chain of blocks). It offers a way for users who may not know or trusteach other to create a record of who transacts what that will compel the assent of everyone concerned. The blockchain ledger is not housed on a single privileged server. Rather, it is a shared data structure in which every node (user) on the network has the same copy of all other nodes (subject to propagation time delays) and can read any transaction in the ledger.
  • 10. SANJAY BASU SANJBASU@CLOUDFLOATERS.COM • “Blockchain: The next big thing,” The Economist,May 9, 2015. • “What CIOs Should Tell the Board of Directors About Blockchain,” Gartner Research, February 14, 2017. • Giles, A., “Blockchains 101,” Slide presentation from the #StartingBlock2015 tour by @blockstrap, available at:slideshare.net • Lamport, L. “The Part-Time Parliament,” ACM Transactions on Computer Systems (TOCS), May 1998. • Bitcoin Developer Guide, bitcoin.org/en/developer-guide • Xu, X. et al., “The Blockchain as a Software Connector,” 2016 13th Working IEEE/IFIP Conference on Software Architecture, April 2016. • Kaye, M., “How to Secure a Blockchain with Zero Energy,” Bitcoin Magazine, January 16, 2014. • Miller, A. et al., “Permacoin: Repurposing Bitcoin Work for Data Preservation,” IEEE Symposium on Security and Privacy, May 2014. • Giles, A., “Blockchains 102,” Slide presentation from the #StartingBlock2015 tour by @blockstrap, available at: slideshare.net • Stallings, W., Cryptography and Network Security, Seventh Edition, ISBN-13: 978-0134444284, Pearson, 2017. • Judmayer, A., Stifter, N., Krombholz, K., and Weippl, E., Blocks and Chains: Introduction to Bitcoin, Cryptocurrencies, and Their Consensus. Synthesis Lectures on Information Security, Privacy, and Trust,ISBN-13: 978-1627057165, Morgan & Claypool, 2017. References for part 1