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

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 

Recently uploaded (20)

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 

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