SlideShare a Scribd company logo
1 of 32
Consensus
Forks: Hard, Soft and ChainSplit
‫وانشقاق‬ ‫ها‬ ‫فورک‬ ،‫اجماع‬
If someone has 8 Bitcoins do they have 1
Bytecoin?
Bitcoin Constituents
• Network Protocol (TCP/IP)
• Core Cryptographic Functions
• Game Theoretical Equilibrium Systems (Dynamic)
Random but deterministic
input
sha256
output
00000000009f766c17c736169f79cb0c65dd6e07244e9468bc60cde9538b551e
Let’s play a Game
Hello World ! nonce Vitalik Random Unicorn
Ethereum IbC miNing Satoshi Gwei
Monero x11 CKryptoAlgorithm Full node
Consensus Signature zKsnarks BIP66 SegWit
SmartContracts P/KEY BTCcore Cypher&unks
Julian@$$ange SegwitNOxs AdamBack Byzantium Oracles
Neo&Agent$mith HalFinney Decentralization
http://www.xorbin.com/tools/sha256-hash-calculator
Which word?
04f57e090dc3579ce7d9a5739152696ac014fcfeeeb40ff46581e4344aa4e8ec
• Check syntactic correctness
• Make sure neither in or out lists are empty
• Size in bytes <= MAX_BLOCK_SIZE
• Each output value, as well as the total, must be in legal money range
• Make sure none of the inputs have hash=0, n=-1
• Check that nLockTime <= INT_MAX, size in bytes >= 100, and sig opcount <= 2
• Reject "nonstandard" transactions: scriptSig doing anything other than pushing numbers on the stack, or scriptPubkey not matching the two usual forms
• …..
• https://en.bitcoin.it/wiki/Protocol_rules
consensus
Core devS
(reference client)
Wallet
devS/Users
Exchanges
Merchants
Miners
Full Node
To Fork or Not to Fork:
That is the Question !
‫غیرمتمرکز‬ ‫افزار‬ ‫نرم‬ ‫یک‬ ‫در‬
•‫اجتناب‬ ‫شبکه‬ ‫مشکالت‬ ‫حل‬ ‫برای‬ ‫کد‬ ‫تغییر‬ ‫به‬ ‫نیاز‬
‫است‬ ‫ناپذیر‬.
•‫الزامیست‬ ‫کد‬ ‫تغییر‬ ‫برای‬ ‫اجماع‬ ‫به‬ ‫رسیدن‬
•‫میگذرد‬ ‫پذیری‬ ‫مقیاس‬ ‫مشکل‬ ‫حل‬ ‫از‬ ‫فراگیری‬ ‫مسیر‬
•‫دارید‬ ‫انرا‬ ‫نکردن‬ ‫قبول‬ ‫حق‬ ‫شما‬ ‫اما‬ ‫است‬ ‫قانون‬ ‫کد‬
•‫دارد‬ ‫را‬ ‫خود‬ ‫کوین‬ ‫بیت‬ ‫ساخت‬ ‫حق‬ ‫هرکس‬.
‫پیدایش‬ ‫بلوک‬ Genesis Block
• Block size: 1 MB
• Algorithm type: Proof of Work (based on Sha256)
• Speed of a block mine: 10 minutes
• Difficulty time: every 2,096 blocks (~2 weeks)
• Number of transactions per second: 7 max (4.4 on average)
• *First Mined by Satushi
‫تغییر‬ ‫روند‬
•‫ثبت‬BIP
•‫رسانی‬ ‫اطالع‬‫توسط‬ ‫همه‬ ‫به‬Bitcoin Core
•‫اجماع‬ ‫به‬ ‫رسیدن‬(‫نود‬ ‫فول‬–‫ماینر‬–‫مرچنت‬–‫یوزرها‬)
•‫کد‬ ‫سازی‬ ‫پیاده‬
•‫کد‬ ‫از‬ ‫استفاده‬ ‫و‬ ‫افزار‬ ‫نرم‬ ‫کردن‬ ‫اپدیت‬ ‫برای‬ ‫ها‬ ‫یوزر‬ ‫و‬ ‫ها‬ ‫ماینر‬ ‫تصمیم‬(‫قانون‬)‫جدید‬
‫فورک‬ ‫هارد‬–‫فورک‬ ‫سافت‬
‫هاردفورک‬
•‫نیس‬ ‫معتبر‬ ‫دیگر‬ ‫قبلی‬ ‫نسخه‬ ‫های‬ ‫تراکنش‬‫ت‬
•‫ناپذیر‬ ‫برگشت‬
‫فورک‬ ‫سافت‬
•‫معتبرند‬ ‫همچنان‬ ‫قبلی‬ ‫های‬ ‫تراکنش‬
•‫پذیر‬ ‫برگشت‬ ‫گاهی‬
Altcoins Based On Bitcoin Code
• Litecoin
• Dash
• Zcash
Bitcoin XT
• Dec 2014 , BIP 64
• 24 transactions per second
• 2MB block, then market driven block size up to 8 MB
• Bitcoin Classic
• very successful at first but Miners Dumped their Nodes.
• Still Alive
Bitcoin Classic
• February 2016.
• Hard fork of Bitcoin core
• 2MB block (later: set by users)
• Currently Active
Bitcoin Unlimited
• January 2016
• Miners decide on the size of their block.
• Blocks Up to 16 MB
• Did not set a Particular Fork Mechanism
• Not Active
Segregated Witness
• December 2015 . BIP141
• moves signatures From Blocks
• Soft fork
• Basic Layer for Lighting Network and Atomic Swaps
Bitcoin Cash
• NO to Segwit/2x
• Block size to 8MB
• Sudden Hardfork
• Creates opportunistic mining
Bitcoin Gold
• Hard fork
• New Mining Algorithm (Equihash)
• Mining difficulty estimated every block
Segwit2x
• Hardfork
• Implementation of Segregated Witness
• Raise the block size to 2MB
• No replay protection
Replay Protection
• Two Chains must be Double Spend Protected
• newly mined coins to be mixed into a transaction.
• Time-locks
• at least one side of the split could add a protocol rule
Other Famous Hard Forks
Forks as a means of Governance
• Ethereum and The Ethereum Foundation
• Bitcoin, Decentralization and Consensus
End
@Ziya_Sadr @HadiNem

More Related Content

What's hot

20190606 blockchain101
20190606 blockchain10120190606 blockchain101
20190606 blockchain101Hu Kenneth
 
How Does Blockchain Work?
How Does Blockchain Work?How Does Blockchain Work?
How Does Blockchain Work?Blogs Crypto
 
Bitcoin Noob
Bitcoin NoobBitcoin Noob
Bitcoin Noobsuhastech
 
Bitcoin 101 - Certified Bitcoin Professional Training Session
Bitcoin 101 - Certified Bitcoin Professional Training SessionBitcoin 101 - Certified Bitcoin Professional Training Session
Bitcoin 101 - Certified Bitcoin Professional Training SessionLisa Cheng
 
2019 03 18_kenneth_simplebitcoinwebsite
2019 03 18_kenneth_simplebitcoinwebsite 2019 03 18_kenneth_simplebitcoinwebsite
2019 03 18_kenneth_simplebitcoinwebsite Hu Kenneth
 
Multiplayer Roguelike for the Commodore 64
Multiplayer Roguelike for the Commodore 64Multiplayer Roguelike for the Commodore 64
Multiplayer Roguelike for the Commodore 64Leif Bloomquist
 
Multiplayer RogueLike Game for the Commodore 64
Multiplayer RogueLike Game for the Commodore 64Multiplayer RogueLike Game for the Commodore 64
Multiplayer RogueLike Game for the Commodore 64Leif Bloomquist
 
Crypto Fundamentals - Bitcoin, Altcoins, Forks, Blockchain
Crypto Fundamentals - Bitcoin, Altcoins, Forks, BlockchainCrypto Fundamentals - Bitcoin, Altcoins, Forks, Blockchain
Crypto Fundamentals - Bitcoin, Altcoins, Forks, BlockchainThatCrypto
 
20180711 Metamask
20180711 Metamask 20180711 Metamask
20180711 Metamask Hu Kenneth
 

What's hot (11)

20190606 blockchain101
20190606 blockchain10120190606 blockchain101
20190606 blockchain101
 
R1x g16 blockchain
R1x g16 blockchainR1x g16 blockchain
R1x g16 blockchain
 
How Does Blockchain Work?
How Does Blockchain Work?How Does Blockchain Work?
How Does Blockchain Work?
 
Bitcoin Noob
Bitcoin NoobBitcoin Noob
Bitcoin Noob
 
Bitcoin 101 - Certified Bitcoin Professional Training Session
Bitcoin 101 - Certified Bitcoin Professional Training SessionBitcoin 101 - Certified Bitcoin Professional Training Session
Bitcoin 101 - Certified Bitcoin Professional Training Session
 
2019 03 18_kenneth_simplebitcoinwebsite
2019 03 18_kenneth_simplebitcoinwebsite 2019 03 18_kenneth_simplebitcoinwebsite
2019 03 18_kenneth_simplebitcoinwebsite
 
Ethereum overview
Ethereum overviewEthereum overview
Ethereum overview
 
Multiplayer Roguelike for the Commodore 64
Multiplayer Roguelike for the Commodore 64Multiplayer Roguelike for the Commodore 64
Multiplayer Roguelike for the Commodore 64
 
Multiplayer RogueLike Game for the Commodore 64
Multiplayer RogueLike Game for the Commodore 64Multiplayer RogueLike Game for the Commodore 64
Multiplayer RogueLike Game for the Commodore 64
 
Crypto Fundamentals - Bitcoin, Altcoins, Forks, Blockchain
Crypto Fundamentals - Bitcoin, Altcoins, Forks, BlockchainCrypto Fundamentals - Bitcoin, Altcoins, Forks, Blockchain
Crypto Fundamentals - Bitcoin, Altcoins, Forks, Blockchain
 
20180711 Metamask
20180711 Metamask 20180711 Metamask
20180711 Metamask
 

Similar to اجماع، فورک ها و انشقاق

Bitcoin and the future of cryptocurrency
Bitcoin and the future of cryptocurrencyBitcoin and the future of cryptocurrency
Bitcoin and the future of cryptocurrencyBen Hall
 
Bitcoin and Ransomware Analysis
Bitcoin and Ransomware AnalysisBitcoin and Ransomware Analysis
Bitcoin and Ransomware AnalysisInderjeet Singh
 
Bitcoin and Ransomware Analysis
Bitcoin and Ransomware AnalysisBitcoin and Ransomware Analysis
Bitcoin and Ransomware Analysisinder_barara
 
Introduction to Blockchain with an Ethereuem Hands-on
Introduction to Blockchain with an Ethereuem Hands-onIntroduction to Blockchain with an Ethereuem Hands-on
Introduction to Blockchain with an Ethereuem Hands-onJohann Romefort
 
Bitcoin and the Rise of the Block Chains
Bitcoin and the Rise of the Block ChainsBitcoin and the Rise of the Block Chains
Bitcoin and the Rise of the Block ChainsDallas Kennedy
 
Introduction to Cryptocurrency(Bitcoin).
Introduction to Cryptocurrency(Bitcoin).Introduction to Cryptocurrency(Bitcoin).
Introduction to Cryptocurrency(Bitcoin).Karan Gaba
 
A Quick Start To Blockchain by Seval Capraz
A Quick Start To Blockchain by Seval CaprazA Quick Start To Blockchain by Seval Capraz
A Quick Start To Blockchain by Seval CaprazSeval Çapraz
 
Bitcoin: money of the future
Bitcoin: money of the futureBitcoin: money of the future
Bitcoin: money of the futureSergei Tikhomirov
 
Blockchain and bitcoin fundamentals (usages and applications)
Blockchain and bitcoin fundamentals (usages and applications)Blockchain and bitcoin fundamentals (usages and applications)
Blockchain and bitcoin fundamentals (usages and applications)Amir Rafati
 
Segregated witness and bitcoin scaling debate
Segregated witness and bitcoin scaling debateSegregated witness and bitcoin scaling debate
Segregated witness and bitcoin scaling debatedalcanto
 
RSK (Rootstock) - Smarter Bitcoin
RSK (Rootstock) - Smarter BitcoinRSK (Rootstock) - Smarter Bitcoin
RSK (Rootstock) - Smarter BitcoinBlockchainHub Graz
 
Bitcoin: A Peer-to-Peer Electronic Cash System
Bitcoin: A Peer-to-Peer Electronic Cash SystemBitcoin: A Peer-to-Peer Electronic Cash System
Bitcoin: A Peer-to-Peer Electronic Cash SystemParas Jain
 
Blockchain & Cryptocurrencies Intro - July 2017
Blockchain & Cryptocurrencies Intro - July 2017Blockchain & Cryptocurrencies Intro - July 2017
Blockchain & Cryptocurrencies Intro - July 2017🔗Audrey Chaing
 
Crypto Presentation
Crypto PresentationCrypto Presentation
Crypto PresentationMaxWheelock
 
Bitcoin and Blockchains
Bitcoin and BlockchainsBitcoin and Blockchains
Bitcoin and BlockchainsSam Bowne
 

Similar to اجماع، فورک ها و انشقاق (20)

Bitcoin and the future of cryptocurrency
Bitcoin and the future of cryptocurrencyBitcoin and the future of cryptocurrency
Bitcoin and the future of cryptocurrency
 
Bitcoin and Ransomware Analysis
Bitcoin and Ransomware AnalysisBitcoin and Ransomware Analysis
Bitcoin and Ransomware Analysis
 
Bitcoin and Ransomware Analysis
Bitcoin and Ransomware AnalysisBitcoin and Ransomware Analysis
Bitcoin and Ransomware Analysis
 
BITCOIN EXPLAINED
BITCOIN EXPLAINEDBITCOIN EXPLAINED
BITCOIN EXPLAINED
 
Introduction to Blockchain with an Ethereuem Hands-on
Introduction to Blockchain with an Ethereuem Hands-onIntroduction to Blockchain with an Ethereuem Hands-on
Introduction to Blockchain with an Ethereuem Hands-on
 
Bitcoin and the Rise of the Block Chains
Bitcoin and the Rise of the Block ChainsBitcoin and the Rise of the Block Chains
Bitcoin and the Rise of the Block Chains
 
Introduction to Cryptocurrency(Bitcoin).
Introduction to Cryptocurrency(Bitcoin).Introduction to Cryptocurrency(Bitcoin).
Introduction to Cryptocurrency(Bitcoin).
 
A Quick Start To Blockchain by Seval Capraz
A Quick Start To Blockchain by Seval CaprazA Quick Start To Blockchain by Seval Capraz
A Quick Start To Blockchain by Seval Capraz
 
Bitcoin: money of the future
Bitcoin: money of the futureBitcoin: money of the future
Bitcoin: money of the future
 
Blockchain and bitcoin fundamentals (usages and applications)
Blockchain and bitcoin fundamentals (usages and applications)Blockchain and bitcoin fundamentals (usages and applications)
Blockchain and bitcoin fundamentals (usages and applications)
 
Segregated witness and bitcoin scaling debate
Segregated witness and bitcoin scaling debateSegregated witness and bitcoin scaling debate
Segregated witness and bitcoin scaling debate
 
RSK (Rootstock) - Smarter Bitcoin
RSK (Rootstock) - Smarter BitcoinRSK (Rootstock) - Smarter Bitcoin
RSK (Rootstock) - Smarter Bitcoin
 
Blockchain
BlockchainBlockchain
Blockchain
 
Bitcoin: A Peer-to-Peer Electronic Cash System
Bitcoin: A Peer-to-Peer Electronic Cash SystemBitcoin: A Peer-to-Peer Electronic Cash System
Bitcoin: A Peer-to-Peer Electronic Cash System
 
Block chain
Block chainBlock chain
Block chain
 
Blockchain & Cryptocurrencies Intro - July 2017
Blockchain & Cryptocurrencies Intro - July 2017Blockchain & Cryptocurrencies Intro - July 2017
Blockchain & Cryptocurrencies Intro - July 2017
 
Crypto Presentation
Crypto PresentationCrypto Presentation
Crypto Presentation
 
Bitcoin and Blockchains
Bitcoin and BlockchainsBitcoin and Blockchains
Bitcoin and Blockchains
 
Bitcoin School Project
Bitcoin School ProjectBitcoin School Project
Bitcoin School Project
 
Blockchain mechanics
Blockchain mechanicsBlockchain mechanics
Blockchain mechanics
 

Recently uploaded

Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
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.pptxHampshireHUG
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
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
 
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
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
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 WorkerThousandEyes
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
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
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 

Recently uploaded (20)

Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
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
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
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...
 
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
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
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
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
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
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 

اجماع، فورک ها و انشقاق

  • 1. Consensus Forks: Hard, Soft and ChainSplit ‫وانشقاق‬ ‫ها‬ ‫فورک‬ ،‫اجماع‬
  • 2. If someone has 8 Bitcoins do they have 1 Bytecoin?
  • 3. Bitcoin Constituents • Network Protocol (TCP/IP) • Core Cryptographic Functions • Game Theoretical Equilibrium Systems (Dynamic)
  • 4.
  • 6.
  • 8. Let’s play a Game Hello World ! nonce Vitalik Random Unicorn Ethereum IbC miNing Satoshi Gwei Monero x11 CKryptoAlgorithm Full node Consensus Signature zKsnarks BIP66 SegWit SmartContracts P/KEY BTCcore Cypher&unks Julian@$$ange SegwitNOxs AdamBack Byzantium Oracles Neo&Agent$mith HalFinney Decentralization http://www.xorbin.com/tools/sha256-hash-calculator Which word? 04f57e090dc3579ce7d9a5739152696ac014fcfeeeb40ff46581e4344aa4e8ec
  • 9.
  • 10.
  • 11. • Check syntactic correctness • Make sure neither in or out lists are empty • Size in bytes <= MAX_BLOCK_SIZE • Each output value, as well as the total, must be in legal money range • Make sure none of the inputs have hash=0, n=-1 • Check that nLockTime <= INT_MAX, size in bytes >= 100, and sig opcount <= 2 • Reject "nonstandard" transactions: scriptSig doing anything other than pushing numbers on the stack, or scriptPubkey not matching the two usual forms • ….. • https://en.bitcoin.it/wiki/Protocol_rules
  • 13. To Fork or Not to Fork: That is the Question !
  • 14. ‫غیرمتمرکز‬ ‫افزار‬ ‫نرم‬ ‫یک‬ ‫در‬ •‫اجتناب‬ ‫شبکه‬ ‫مشکالت‬ ‫حل‬ ‫برای‬ ‫کد‬ ‫تغییر‬ ‫به‬ ‫نیاز‬ ‫است‬ ‫ناپذیر‬. •‫الزامیست‬ ‫کد‬ ‫تغییر‬ ‫برای‬ ‫اجماع‬ ‫به‬ ‫رسیدن‬ •‫میگذرد‬ ‫پذیری‬ ‫مقیاس‬ ‫مشکل‬ ‫حل‬ ‫از‬ ‫فراگیری‬ ‫مسیر‬ •‫دارید‬ ‫انرا‬ ‫نکردن‬ ‫قبول‬ ‫حق‬ ‫شما‬ ‫اما‬ ‫است‬ ‫قانون‬ ‫کد‬ •‫دارد‬ ‫را‬ ‫خود‬ ‫کوین‬ ‫بیت‬ ‫ساخت‬ ‫حق‬ ‫هرکس‬.
  • 15. ‫پیدایش‬ ‫بلوک‬ Genesis Block • Block size: 1 MB • Algorithm type: Proof of Work (based on Sha256) • Speed of a block mine: 10 minutes • Difficulty time: every 2,096 blocks (~2 weeks) • Number of transactions per second: 7 max (4.4 on average) • *First Mined by Satushi
  • 16. ‫تغییر‬ ‫روند‬ •‫ثبت‬BIP •‫رسانی‬ ‫اطالع‬‫توسط‬ ‫همه‬ ‫به‬Bitcoin Core •‫اجماع‬ ‫به‬ ‫رسیدن‬(‫نود‬ ‫فول‬–‫ماینر‬–‫مرچنت‬–‫یوزرها‬) •‫کد‬ ‫سازی‬ ‫پیاده‬ •‫کد‬ ‫از‬ ‫استفاده‬ ‫و‬ ‫افزار‬ ‫نرم‬ ‫کردن‬ ‫اپدیت‬ ‫برای‬ ‫ها‬ ‫یوزر‬ ‫و‬ ‫ها‬ ‫ماینر‬ ‫تصمیم‬(‫قانون‬)‫جدید‬
  • 18. ‫هاردفورک‬ •‫نیس‬ ‫معتبر‬ ‫دیگر‬ ‫قبلی‬ ‫نسخه‬ ‫های‬ ‫تراکنش‬‫ت‬ •‫ناپذیر‬ ‫برگشت‬ ‫فورک‬ ‫سافت‬ •‫معتبرند‬ ‫همچنان‬ ‫قبلی‬ ‫های‬ ‫تراکنش‬ •‫پذیر‬ ‫برگشت‬ ‫گاهی‬
  • 19.
  • 20. Altcoins Based On Bitcoin Code • Litecoin • Dash • Zcash
  • 21.
  • 22. Bitcoin XT • Dec 2014 , BIP 64 • 24 transactions per second • 2MB block, then market driven block size up to 8 MB • Bitcoin Classic • very successful at first but Miners Dumped their Nodes. • Still Alive
  • 23. Bitcoin Classic • February 2016. • Hard fork of Bitcoin core • 2MB block (later: set by users) • Currently Active
  • 24. Bitcoin Unlimited • January 2016 • Miners decide on the size of their block. • Blocks Up to 16 MB • Did not set a Particular Fork Mechanism • Not Active
  • 25. Segregated Witness • December 2015 . BIP141 • moves signatures From Blocks • Soft fork • Basic Layer for Lighting Network and Atomic Swaps
  • 26. Bitcoin Cash • NO to Segwit/2x • Block size to 8MB • Sudden Hardfork • Creates opportunistic mining
  • 27. Bitcoin Gold • Hard fork • New Mining Algorithm (Equihash) • Mining difficulty estimated every block
  • 28. Segwit2x • Hardfork • Implementation of Segregated Witness • Raise the block size to 2MB • No replay protection
  • 29. Replay Protection • Two Chains must be Double Spend Protected • newly mined coins to be mixed into a transaction. • Time-locks • at least one side of the split could add a protocol rule
  • 31. Forks as a means of Governance • Ethereum and The Ethereum Foundation • Bitcoin, Decentralization and Consensus