SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Blockchain Data Structure and Fundamentals
Satoshi nakamoto (Anonymous) was the person who invented the
blockchain in 2008 to serve as the public transaction ledger
of the cryptocurrency bitcoin.
What is blockchain?
Blockchain is a growing list of records called blocks which are linked using cryptography.
Where cryptography is the practice and study of technique for secure communication in the
presence of third parties called adversaries (black hat hacker ).In blockchain each block
contain cryptographic hash of the previous block. Where cryptographic hash is special class
of hash function that has certain properties use in cryptography.
In its most simple sense, the blockchain is a series of computers that each keep the same
record of an event or transaction in a ledger that is open to the public.
Why Blockchain?
Blockchain is decentralized computation and information sharing platform that enable
multiple authoritative domain. Blockchain technology is useful when multiple party want to
● Cooperate
● Coordinate
● Collaborate with each other.
It made for implemented bitcoin to
solve the problem of “double spending”.
Double-spending is a potential problem in which the same digital currency can be spent
more than once. ... It is not ideal for the same digital currency to be spendable more than
once,so in blockchain each record is encrypted, and the ledger is virtually hack-proof.
Properties of blockchain
● Replication : Data copied every computer that part of decentralized network, no lies
any central authority.
● Irreversible transactions : After completion of transaction no way to retrieve fund
sent.
● Accessibility : Open ( every person in blockchain get a copy of transaction and they
should read and view of recorded data)
● Pseudo anonymous nature : Identity of user is not traceable by third party.
● Elliptic curve cryptography : With revealing identity network confirm transaction by
private key of admin.
Characteristics of blockchain
● Decentralized ledger : This make blockchain multi-organizational business network.
● Distributed ledger : It allows transactions in blockchain to have public "witnesses,"
thereby making a cyberattack more difficult.
● Safer and secure : immutability of the data. Once you have agreed on a transaction and
recorded it, it can never be changed.
● Smart contracts : The types of transactions one can carry out are agreed between
participants in advance and stored in the blockchain as “smart contracts” which helps
give confidence that everyone is playing by the rules.
Types of blockchain
● Public Blockchain : No access restriction every participant would able to read and
write.
● Private Blockchain : It is permissioned based in which network administrators (owner)
invite to selected member, It is read by all but only owner has the right to making any
changes in rules or other terms.
● Consortium Blockchain : It is semi-decentralized system in which number of
organization controlling to it. Control of write, read and verify provided to group of
organization.
Data structure of Blockchain
The blockchain data structure is a back-linked list of blocks of
transactions, which is ordered.
It can be stored as a flat file or in a simple database. Each block is
identifiable by a hash, generated using the SHA 256 cryptographic
hash algorithm on the header of the block.
Each block references a previous block, also known as the parent
block, in the “previous block hash” field, in the block header.
Class diagram of
Blockchain
BLOCK HEADER The block header consists of three sets of block metadata. Metadata is
data that provides information about other data. Firstly, there is a reference to a previous
block hash, which connects this block to the previous block, lying in the blockchain.
Blockchain use cases area
● Banking - Avoid bank interest rate and financial crises .
● Payment and transfer - Blockchain wallet.
● Healthcare - Detail of passion access by all doctor in network .
● Law enforcement - Make Law Enforcement records immutable .
Blockchain use cases area
● Voting - Currently most valuable and important use case of blockchain .
● Internet of things - The blockchain can keep an immutable record of the history of
smart devices.
● Online Music - Cut Out the Middlemen fans could choose to pay for the song.
● Online gaming - Reduce Fraud and Lost Revenue more exciting and parallel gaming
universess
Ethereum and Solidity
Ethereum is open source online platform for
blockchain system which help to manage
cryptocurrency. It provide smart contract
functionality which facilitates online
contractional agreements. We implement or
setup our own digital bank using blockchain
ethereum
Solidity preferred default language for writing
program in blockchain. t is designed to compile to
code - for the ethereum virtual machine, it is contract
- oriented programming language for writing smart
contract which is influenced by javascript, c++, python
and powershell. Solidity basically designed to target
ethereum virtual machine.
Conclusion
Blockchain use mathematics to create a secure distributed ledger which enable
transaction without the need for third party.
Blockchain technology could be quite complementary in a possibility space for
the future world that includes both centralized and decentralized models. Like
any new technology, the blockchain is an idea that initially disrupts, and over time
it could promote the development of a larger ecosystem that includes both the
old way and the new innovation.
Github repository
Implementation of bitcoin on blockchain using c++ language Fork and clone repo
and make new change, link is provided below
https://github.com/dheerajbishnoi123/Blockchain-Implementation-c-plus-
plus.git
About Author
Dheeraj Poonia
I am a passionate python programmer, web developer, blockchain
lover, badminton player, graphic designer.
Currently living in Jaipur, India. My interests range from technology,
sports to music. I am also interested in competitive programming and
innovation.
https://about.me/dheerajbishnoi123
Blockchain data structures and fundamental

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Blockchain and Cryptocurrency for Dummies
Blockchain and Cryptocurrency for DummiesBlockchain and Cryptocurrency for Dummies
Blockchain and Cryptocurrency for Dummies
 
Blockchain 101 presentation by fstream.io
Blockchain 101 presentation by fstream.ioBlockchain 101 presentation by fstream.io
Blockchain 101 presentation by fstream.io
 
Consensus Algorithms.pptx
Consensus Algorithms.pptxConsensus Algorithms.pptx
Consensus Algorithms.pptx
 
Blockchain Presentation
Blockchain PresentationBlockchain Presentation
Blockchain Presentation
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
 
Blockchain technology
Blockchain technologyBlockchain technology
Blockchain technology
 
Basic introduction in blockchain, smart contracts, permissioned ledgers
Basic introduction in blockchain, smart contracts, permissioned ledgersBasic introduction in blockchain, smart contracts, permissioned ledgers
Basic introduction in blockchain, smart contracts, permissioned ledgers
 
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...
 
Smart contract
Smart contractSmart contract
Smart contract
 
Blockchain Security
Blockchain SecurityBlockchain Security
Blockchain Security
 
Blockchain basics
Blockchain basicsBlockchain basics
Blockchain basics
 
ERC20 Token Contract
ERC20 Token ContractERC20 Token Contract
ERC20 Token Contract
 
Blockchain Technology | Blockchain Technology Explained | Edureka
Blockchain Technology | Blockchain Technology Explained | EdurekaBlockchain Technology | Blockchain Technology Explained | Edureka
Blockchain Technology | Blockchain Technology Explained | Edureka
 
Blockchain
BlockchainBlockchain
Blockchain
 
Mining pools and attacks
Mining pools and attacksMining pools and attacks
Mining pools and attacks
 
An Introduction to Blockchain
An Introduction to BlockchainAn Introduction to Blockchain
An Introduction to Blockchain
 
Blockchain 101 by imran bashir
Blockchain 101  by imran bashirBlockchain 101  by imran bashir
Blockchain 101 by imran bashir
 
Blockchain: The New Technology of Trust
Blockchain: The New Technology of TrustBlockchain: The New Technology of Trust
Blockchain: The New Technology of Trust
 
All about Bitcoins!
All about Bitcoins!All about Bitcoins!
All about Bitcoins!
 
Introduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart ContractsIntroduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart Contracts
 

Ähnlich wie Blockchain data structures and fundamental

chapter 4 Selected Topics in computer.pptx
chapter 4 Selected Topics in computer.pptxchapter 4 Selected Topics in computer.pptx
chapter 4 Selected Topics in computer.pptx
AschalewAyele2
 
chapter 4 Selected Topics in computer.pptx
chapter 4 Selected Topics in computer.pptxchapter 4 Selected Topics in computer.pptx
chapter 4 Selected Topics in computer.pptx
AschalewAyele2
 
BLOCKCHAIN TECHNOLOGY.ppt
BLOCKCHAIN TECHNOLOGY.pptBLOCKCHAIN TECHNOLOGY.ppt
BLOCKCHAIN TECHNOLOGY.ppt
jishnub8
 
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
 

Ähnlich wie Blockchain data structures and fundamental (20)

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 Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
 
chapter 4 Selected Topics in computer.pptx
chapter 4 Selected Topics in computer.pptxchapter 4 Selected Topics in computer.pptx
chapter 4 Selected Topics in computer.pptx
 
chapter 4 Selected Topics in computer.pptx
chapter 4 Selected Topics in computer.pptxchapter 4 Selected Topics in computer.pptx
chapter 4 Selected Topics in computer.pptx
 
Blockchain Technology.pptx
Blockchain Technology.pptxBlockchain Technology.pptx
Blockchain Technology.pptx
 
blockchain.pdf
blockchain.pdfblockchain.pdf
blockchain.pdf
 
Blockchain ppt
Blockchain pptBlockchain ppt
Blockchain ppt
 
Blockchain tutorial
Blockchain tutorial Blockchain tutorial
Blockchain tutorial
 
Blockchain Technology Explained
Blockchain Technology ExplainedBlockchain Technology Explained
Blockchain Technology Explained
 
BLOCKCHAIN TECHNOLOGY.ppt
BLOCKCHAIN TECHNOLOGY.pptBLOCKCHAIN TECHNOLOGY.ppt
BLOCKCHAIN TECHNOLOGY.ppt
 
BLOCKCHAIN.pptx
BLOCKCHAIN.pptxBLOCKCHAIN.pptx
BLOCKCHAIN.pptx
 
Application of Blockchain Technologies in Digital Forensics
Application of Blockchain Technologies in Digital ForensicsApplication of Blockchain Technologies in Digital Forensics
Application of Blockchain Technologies in Digital Forensics
 
The Future Is Blockchain Era
The Future Is Blockchain EraThe Future Is Blockchain Era
The Future Is Blockchain Era
 
Understanding blockchaintechnology
Understanding blockchaintechnologyUnderstanding blockchaintechnology
Understanding blockchaintechnology
 
Understanding blockchaintechnology
Understanding blockchaintechnology Understanding blockchaintechnology
Understanding blockchaintechnology
 
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 Technology | Bitcoin | Ethereum Coin | Cryptocurrency
Blockchain Technology | Bitcoin | Ethereum Coin | CryptocurrencyBlockchain Technology | Bitcoin | Ethereum Coin | Cryptocurrency
Blockchain Technology | Bitcoin | Ethereum Coin | Cryptocurrency
 
Introduction to blockchain
Introduction to blockchainIntroduction to blockchain
Introduction to blockchain
 
Blockchain, Blockchain Platform, Private and a Public Blockchain?
Blockchain, Blockchain Platform, Private and a Public Blockchain?Blockchain, Blockchain Platform, Private and a Public Blockchain?
Blockchain, Blockchain Platform, Private and a Public Blockchain?
 

Kürzlich hochgeladen

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

[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
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
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
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

Blockchain data structures and fundamental

  • 1. Blockchain Data Structure and Fundamentals Satoshi nakamoto (Anonymous) was the person who invented the blockchain in 2008 to serve as the public transaction ledger of the cryptocurrency bitcoin.
  • 2. What is blockchain? Blockchain is a growing list of records called blocks which are linked using cryptography. Where cryptography is the practice and study of technique for secure communication in the presence of third parties called adversaries (black hat hacker ).In blockchain each block contain cryptographic hash of the previous block. Where cryptographic hash is special class of hash function that has certain properties use in cryptography. In its most simple sense, the blockchain is a series of computers that each keep the same record of an event or transaction in a ledger that is open to the public.
  • 3.
  • 4. Why Blockchain? Blockchain is decentralized computation and information sharing platform that enable multiple authoritative domain. Blockchain technology is useful when multiple party want to ● Cooperate ● Coordinate ● Collaborate with each other. It made for implemented bitcoin to solve the problem of “double spending”.
  • 5. Double-spending is a potential problem in which the same digital currency can be spent more than once. ... It is not ideal for the same digital currency to be spendable more than once,so in blockchain each record is encrypted, and the ledger is virtually hack-proof.
  • 6.
  • 7. Properties of blockchain ● Replication : Data copied every computer that part of decentralized network, no lies any central authority. ● Irreversible transactions : After completion of transaction no way to retrieve fund sent. ● Accessibility : Open ( every person in blockchain get a copy of transaction and they should read and view of recorded data)
  • 8. ● Pseudo anonymous nature : Identity of user is not traceable by third party. ● Elliptic curve cryptography : With revealing identity network confirm transaction by private key of admin.
  • 9.
  • 10. Characteristics of blockchain ● Decentralized ledger : This make blockchain multi-organizational business network. ● Distributed ledger : It allows transactions in blockchain to have public "witnesses," thereby making a cyberattack more difficult. ● Safer and secure : immutability of the data. Once you have agreed on a transaction and recorded it, it can never be changed. ● Smart contracts : The types of transactions one can carry out are agreed between participants in advance and stored in the blockchain as “smart contracts” which helps give confidence that everyone is playing by the rules.
  • 12. ● Public Blockchain : No access restriction every participant would able to read and write. ● Private Blockchain : It is permissioned based in which network administrators (owner) invite to selected member, It is read by all but only owner has the right to making any changes in rules or other terms. ● Consortium Blockchain : It is semi-decentralized system in which number of organization controlling to it. Control of write, read and verify provided to group of organization.
  • 13. Data structure of Blockchain The blockchain data structure is a back-linked list of blocks of transactions, which is ordered. It can be stored as a flat file or in a simple database. Each block is identifiable by a hash, generated using the SHA 256 cryptographic hash algorithm on the header of the block. Each block references a previous block, also known as the parent block, in the “previous block hash” field, in the block header.
  • 15. BLOCK HEADER The block header consists of three sets of block metadata. Metadata is data that provides information about other data. Firstly, there is a reference to a previous block hash, which connects this block to the previous block, lying in the blockchain.
  • 16. Blockchain use cases area ● Banking - Avoid bank interest rate and financial crises . ● Payment and transfer - Blockchain wallet. ● Healthcare - Detail of passion access by all doctor in network . ● Law enforcement - Make Law Enforcement records immutable .
  • 17. Blockchain use cases area ● Voting - Currently most valuable and important use case of blockchain . ● Internet of things - The blockchain can keep an immutable record of the history of smart devices. ● Online Music - Cut Out the Middlemen fans could choose to pay for the song. ● Online gaming - Reduce Fraud and Lost Revenue more exciting and parallel gaming universess
  • 19. Ethereum is open source online platform for blockchain system which help to manage cryptocurrency. It provide smart contract functionality which facilitates online contractional agreements. We implement or setup our own digital bank using blockchain ethereum
  • 20. Solidity preferred default language for writing program in blockchain. t is designed to compile to code - for the ethereum virtual machine, it is contract - oriented programming language for writing smart contract which is influenced by javascript, c++, python and powershell. Solidity basically designed to target ethereum virtual machine.
  • 21. Conclusion Blockchain use mathematics to create a secure distributed ledger which enable transaction without the need for third party. Blockchain technology could be quite complementary in a possibility space for the future world that includes both centralized and decentralized models. Like any new technology, the blockchain is an idea that initially disrupts, and over time it could promote the development of a larger ecosystem that includes both the old way and the new innovation.
  • 22. Github repository Implementation of bitcoin on blockchain using c++ language Fork and clone repo and make new change, link is provided below https://github.com/dheerajbishnoi123/Blockchain-Implementation-c-plus- plus.git
  • 23. About Author Dheeraj Poonia I am a passionate python programmer, web developer, blockchain lover, badminton player, graphic designer. Currently living in Jaipur, India. My interests range from technology, sports to music. I am also interested in competitive programming and innovation. https://about.me/dheerajbishnoi123