SlideShare a Scribd company logo
Bitcoin and Blockchain:
Technologies, Scaling and Forks
Roman Oliynykov
Ph.D., Dr.Habil.
roman.oliynykov@iohk.io
Input Output HK
V. N. Karazin Kharkiv National University
November 25th, 2017
Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 1 / 29
Outline
Distinguishing characteristics of Bitcoin and
other blockchain-based altcoins
Transactions, Merkle trees, blocks and
blockchain
Consensus and mining, its complexity
Bitcoin advantages & open problems
Scaling Bitcoin
Bitcoin forks
Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 2 / 29
Distinguishing characteristics of Bitcoin and other
blockchain-based altcoins
a virtual decentralized currency with no trusted
parties and with no pre-assumed identities
among the participants;
network operation support by moderately hard
(solvable by participants) proof-of-work puzzles
with rewards;
a public distributed ledger (to detect and
prevent money double-spending).
Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 3 / 29
Three main technical components
transactions (including scripts) united
into blocks;
the consensus protocol;
the communication network.
Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 4 / 29
Bitcoin transactions
One bitcoin is divided into 108 satoshi
Conservation of value principle: the sum of the values of all transaction is less than
or equal to the sum of the values of all inputs (with an exception: coinbase
transactions used to create new units of currency).
There is no identities or accounts that ”own” bitcoins. Ownership is a knowledge of a
private key which is able to make a signature that redeems certain outputs.
Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 5 / 29
Merkle tree: uniting transactions into blocks
Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 6 / 29
Transaction sequence
Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 7 / 29
Blockchain: a hash-linked list of data blocks
NB: tree data structure for blockchains: GHOST
Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 8 / 29
Double-spending attack
Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 9 / 29
Double-spending prevention
Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 10 / 29
Bitcoin addresses
Hashes of public keys in "pay-to-pub-key-hash"
transactions function represented at base58 encoding as
pseudonymous identities within the system and referred as
addresses. No real-world names or identifying information are
required.
1G9dguLRGKd16YBmM53iCuFVTTAUVog7s9
Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 11 / 29
Bitcoin consensus and mining
Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 12 / 29
Bitcoins core innovation: Nakamoto consensus
The process for choosing a new block (to be added to the
public distributed ledger, or the Bitcoin blockchain):
the first announced valid block containing a solution to
the computational puzzle is considered correct;
on hearing of the new announced valid block, other
participants are meant to begin working to find a followup
block;
if an announced block contains invalid transactions or is
otherwise malformed, all other participants are meant to
reject it and continue working until they have found a
solution for a valid block;
at any given time, the consensus blockchain is the
”longest” version (with the biggest cumulative difficulty)
of already known variants.
Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 13 / 29
The consensus on the different branches
(fork handling)
The consensus blockchain is the longest version (with
the greatest expected difficulty to produce).
It is also possible for two valid solutions to be found at
approximately the same time (depending on network latency):
there are two equal-length chains (a temporary fork);
miners can choose any fork in this scenario;
one blockchain will eventually be extended further
than the other at which point all miners should
adopt it due to the random nature of the computational
puzzle; the other fork will be discarded being
”shorter” comparing to another.
Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 14 / 29
Confidence that payment has been made
(will not be discarded in the future): theory
Sequential nature of this consensus mechanism implies that
users must wait for blocks to be found in order to gain
high confidence that a transaction is permanently included
in the blockchain.
In theory, users can never be completely sure that a transaction
wont eventually be removed by a very deep fork (there is
always negligible probability that the currently available
blockchain is a fork and will be discarded in the future).
Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 15 / 29
Confidence that payment has been made
(will not be discarded in the future): practice
In practice, most Bitcoin clients require six confirmation
blocks before accepting that a transaction is published (the
probability of discarding such a block becomes smaller
than 10−3
).
Deep forks are also prevented in an ad-hoc manner by
including hard-coded blockchain prefixes (checkpoints) with
the default Bitcoin client which clients require in any valid
blockchain
(it is considered by some researches that Bitcoin does not use
a true decentralized consensus protocol, as checkpoints are
chosen in a centralized manner).
Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 16 / 29
Bitcoin miners
Miners are participants who are working (racing in practice)
to solve the computational puzzle in exchange for monetary
rewards.
A participant who finds a block can insert a coinbase
transaction minting a specified amount of currency (a
block reward) and transferring it to an address of their
choosing.
Miners receive all new currency initially and there is no
other allowed mechanism for money creation.
Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 17 / 29
The computational puzzle
Requires finding a pre-image for SHA-256 hash function
(to find a block whose hash is less than a target value starts
with d consecutive zero bits; for November, 2017 this value is
approximately 72 zero bits; cf.: the DES cipher has a 56-bit
key).
The randomized nature of this puzzle is important, each
miner has a probability of finding the next block proportional
to his share of the competing computational power (otherwise,
in non-randomized case, the most powerful individual miner
could be expected to find every block first).
Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 18 / 29
The puzzle complexity
The difficulty of the puzzle is calibrated so that a new
block is found, on average, once every 10 minutes.
To maintain this, the difficulty is adjusted once every
2016 blocks, or approximately every two weeks, by
analysis of timestamps included in the previous blocks (with
sanity checks to prevent manipulations by network rejection of
the implausible timestamps).
The block reward is determined by a fixed schedule. Initially,
each block created B50. This has been halved to B25 and
then to B12.5, and is scheduled to halve roughly every four
years until approximately 2140 at which point no new bitcoins
will be created.
Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 19 / 29
A transaction fee
Additional income: miners are also allowed to claim the
net difference in value between all input and all output
transactions in this block (a transaction fee).
Fee values have primarily been determined by defaults in the
reference client, with an option to pay higher fees to have their
transactions published more quickly.
Transaction fees have primarily been used to discourage
overuse of the network with many small transactions (called
penny flooding) and have never provided more than 12% of
mining revenue.
After 2140 transaction fees are planned to be main incentive
for miners.
Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 20 / 29
Mining pools: the majority of mining power since 2013
Miners often collaborate in mining pools to lower the
variance of their revenue by sharing rewards with a group of
other miners.
Mining pools are typically administered by a manager, who, for
a small fee, collects mining rewards found by all participating
miners and allocates the funds to members in proportion to
the amount of work they have performed on behalf of the pool
(there is also small amount of ad hoc p2p mining pools).
Participation is proved (probabilistically) by sending
”near-blocks” whose hash starts with a large number of zeros
(d = 40 or more) but are not valid Bitcoin blocks yet.
There is no reason to miner to hide the valid block, because block
reward address is always pool manager’s address (and no other
”near-blocks” are accepted for the pool reward).
Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 21 / 29
Bitcoin advantages
the first wide spread virtual decentralized
currency with no trusted parties and with no
pre-assumed identities among the participants;
easy-to-join both for users and miners;
list-of-transactions only: no users, no balances
or identities;
a public distributed ledger with detection and
prevention money double-spending;
robust to cheaters: the network works normally
when it just has an honest majority among all
participants.
Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 22 / 29
Open problems for Bitcoin
a scalability problem: much smaller throughput
comparing to VISA, MasterCard due to network
propagation delay for consensus and complexity of heavy
block processing (attempts to solve via SegWit, etc.);
network latency: long time for transaction approval (not
suitable for high frequency trading, etc.);
centralization: if someone (a big mining pool or
governmental agency) can control significant part of the
network, it can effectively to work against default mining
rules;
mining pools unfair competition: one big pool can
potentially infiltrate another big pool and decrease its
mining efficiency;
huge electricity consumption.
Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 23 / 29
Scaling Bitcoin
Segregated Witness (BIP141)
Increasing block size
SegWit2x
Lightning Network
· · ·
Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 24 / 29
Bitcoin forks
Bitcoin Cash
Bitcoin Gold
Bitcoin Diamond
· · ·
Bitcoin XT
Bitcoin Classic
Bitcoin Unlimited
· · ·
Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 25 / 29
Bitcoin Cash
Increased block size (up to 8 MB)
No Segwit
Emergency Difficulty Adjustment (EDA) for keeping
stability of block issuance
Replay protection and difficulty adjustment each block
Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 26 / 29
Bitcoin Gold
Changing proof-of-work: Equihash instead of SHA-256
(moving from ASICs to GPUs to eliminate centralization)
A premined coins for developers (up to 1%)
Segwit for scaling
Replay protection and difficulty adjustment each block
Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 27 / 29
Bitcoin Diamond
Changing proof-of-work: X13 instead of SHA-256
(moving from ASICs to GPUs to eliminate centralization)
Changed coin supply (210 millions)
Segwit & Increased block size
Replay protection
Claims for more confidentiality (encrypted amount)
Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 28 / 29
Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 29 / 29

More Related Content

What's hot

Blockchain technology in (life) sciences
Blockchain technology in (life) sciencesBlockchain technology in (life) sciences
Blockchain technology in (life) sciences
Barbera van Schaik
 
Bits, Blocks, and Chains: A Concise Examination of Bitcoin and Cryptocurrency...
Bits, Blocks, and Chains: A Concise Examination of Bitcoin and Cryptocurrency...Bits, Blocks, and Chains: A Concise Examination of Bitcoin and Cryptocurrency...
Bits, Blocks, and Chains: A Concise Examination of Bitcoin and Cryptocurrency...
Richard Givens
 
Consensus Algorithms - Nakov at CryptoBlockCon - Las Vegas (2018)
Consensus Algorithms - Nakov at CryptoBlockCon - Las Vegas (2018)Consensus Algorithms - Nakov at CryptoBlockCon - Las Vegas (2018)
Consensus Algorithms - Nakov at CryptoBlockCon - Las Vegas (2018)
Svetlin Nakov
 
Javantura v6 - Case Study: Marketplace App with Java and Hyperledger Fabric -...
Javantura v6 - Case Study: Marketplace App with Java and Hyperledger Fabric -...Javantura v6 - Case Study: Marketplace App with Java and Hyperledger Fabric -...
Javantura v6 - Case Study: Marketplace App with Java and Hyperledger Fabric -...
HUJAK - Hrvatska udruga Java korisnika / Croatian Java User Association
 
Symposium on Legal Regulation of Bitcoin, Blockchain & Cryptocurrencies
Symposium on Legal Regulation of Bitcoin, Blockchain & Cryptocurrencies Symposium on Legal Regulation of Bitcoin, Blockchain & Cryptocurrencies
Symposium on Legal Regulation of Bitcoin, Blockchain & Cryptocurrencies
anupriti
 
03 blockchain transactions
03 blockchain transactions03 blockchain transactions
03 blockchain transactions
BastianBlankenburg
 
Vilnius blockchain club 20170413 consensus
Vilnius blockchain club 20170413 consensusVilnius blockchain club 20170413 consensus
Vilnius blockchain club 20170413 consensus
Audrius Ramoska
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
Sanjeev Mishra
 
Blockchain Essentials for Enterprise Architects
Blockchain Essentials for Enterprise ArchitectsBlockchain Essentials for Enterprise Architects
Blockchain Essentials for Enterprise Architects
Gokul Alex
 
Abhishek jaiswal blockchain
Abhishek jaiswal blockchainAbhishek jaiswal blockchain
Abhishek jaiswal blockchain
Abhishek Jaiswal
 
Blockchain Fundamentals
Blockchain FundamentalsBlockchain Fundamentals
Blockchain Fundamentals
Bruno Lowagie
 
Bitcoin Blockchain - Under the Hood
Bitcoin Blockchain - Under the HoodBitcoin Blockchain - Under the Hood
Bitcoin Blockchain - Under the Hood
Galin Dinkov
 
Breaking open the Bazaar identifying and exploiting key weaknesses in the Ope...
Breaking open the Bazaar identifying and exploiting key weaknesses in the Ope...Breaking open the Bazaar identifying and exploiting key weaknesses in the Ope...
Breaking open the Bazaar identifying and exploiting key weaknesses in the Ope...Richard Dennis
 
Blockchain. A Guide For Beginners
Blockchain. A Guide For BeginnersBlockchain. A Guide For Beginners
Blockchain. A Guide For Beginners
ElifTech
 
Blockchain Corporate Style
Blockchain Corporate StyleBlockchain Corporate Style
Blockchain Corporate Style
Narendranath Reddy
 
Blockchain
BlockchainBlockchain
Blockchain
vrkhandelwal
 
Fair and trustworthy: Lock-free enhanced tendermint blockchain algorithm
Fair and trustworthy: Lock-free enhanced tendermint blockchain algorithmFair and trustworthy: Lock-free enhanced tendermint blockchain algorithm
Fair and trustworthy: Lock-free enhanced tendermint blockchain algorithm
TELKOMNIKA JOURNAL
 
Ethereum Intro
Ethereum IntroEthereum Intro
Ethereum Intro
Dejan Radic
 
Blockchain and bitcoin
Blockchain and bitcoinBlockchain and bitcoin
Blockchain and bitcoin
Tejhaskar Ashok Kumar
 
Blockchian introduction
Blockchian introductionBlockchian introduction
Blockchian introduction
kesavan N B
 

What's hot (20)

Blockchain technology in (life) sciences
Blockchain technology in (life) sciencesBlockchain technology in (life) sciences
Blockchain technology in (life) sciences
 
Bits, Blocks, and Chains: A Concise Examination of Bitcoin and Cryptocurrency...
Bits, Blocks, and Chains: A Concise Examination of Bitcoin and Cryptocurrency...Bits, Blocks, and Chains: A Concise Examination of Bitcoin and Cryptocurrency...
Bits, Blocks, and Chains: A Concise Examination of Bitcoin and Cryptocurrency...
 
Consensus Algorithms - Nakov at CryptoBlockCon - Las Vegas (2018)
Consensus Algorithms - Nakov at CryptoBlockCon - Las Vegas (2018)Consensus Algorithms - Nakov at CryptoBlockCon - Las Vegas (2018)
Consensus Algorithms - Nakov at CryptoBlockCon - Las Vegas (2018)
 
Javantura v6 - Case Study: Marketplace App with Java and Hyperledger Fabric -...
Javantura v6 - Case Study: Marketplace App with Java and Hyperledger Fabric -...Javantura v6 - Case Study: Marketplace App with Java and Hyperledger Fabric -...
Javantura v6 - Case Study: Marketplace App with Java and Hyperledger Fabric -...
 
Symposium on Legal Regulation of Bitcoin, Blockchain & Cryptocurrencies
Symposium on Legal Regulation of Bitcoin, Blockchain & Cryptocurrencies Symposium on Legal Regulation of Bitcoin, Blockchain & Cryptocurrencies
Symposium on Legal Regulation of Bitcoin, Blockchain & Cryptocurrencies
 
03 blockchain transactions
03 blockchain transactions03 blockchain transactions
03 blockchain transactions
 
Vilnius blockchain club 20170413 consensus
Vilnius blockchain club 20170413 consensusVilnius blockchain club 20170413 consensus
Vilnius blockchain club 20170413 consensus
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
 
Blockchain Essentials for Enterprise Architects
Blockchain Essentials for Enterprise ArchitectsBlockchain Essentials for Enterprise Architects
Blockchain Essentials for Enterprise Architects
 
Abhishek jaiswal blockchain
Abhishek jaiswal blockchainAbhishek jaiswal blockchain
Abhishek jaiswal blockchain
 
Blockchain Fundamentals
Blockchain FundamentalsBlockchain Fundamentals
Blockchain Fundamentals
 
Bitcoin Blockchain - Under the Hood
Bitcoin Blockchain - Under the HoodBitcoin Blockchain - Under the Hood
Bitcoin Blockchain - Under the Hood
 
Breaking open the Bazaar identifying and exploiting key weaknesses in the Ope...
Breaking open the Bazaar identifying and exploiting key weaknesses in the Ope...Breaking open the Bazaar identifying and exploiting key weaknesses in the Ope...
Breaking open the Bazaar identifying and exploiting key weaknesses in the Ope...
 
Blockchain. A Guide For Beginners
Blockchain. A Guide For BeginnersBlockchain. A Guide For Beginners
Blockchain. A Guide For Beginners
 
Blockchain Corporate Style
Blockchain Corporate StyleBlockchain Corporate Style
Blockchain Corporate Style
 
Blockchain
BlockchainBlockchain
Blockchain
 
Fair and trustworthy: Lock-free enhanced tendermint blockchain algorithm
Fair and trustworthy: Lock-free enhanced tendermint blockchain algorithmFair and trustworthy: Lock-free enhanced tendermint blockchain algorithm
Fair and trustworthy: Lock-free enhanced tendermint blockchain algorithm
 
Ethereum Intro
Ethereum IntroEthereum Intro
Ethereum Intro
 
Blockchain and bitcoin
Blockchain and bitcoinBlockchain and bitcoin
Blockchain and bitcoin
 
Blockchian introduction
Blockchian introductionBlockchian introduction
Blockchian introduction
 

Similar to Roman Oliynykov - Bitcoin and Blockchain: Technologies, Scaling and Forks

The Basic Theories of Blockchain
The Basic Theories of BlockchainThe Basic Theories of Blockchain
The Basic Theories of Blockchain
Sota Watanabe
 
A research-oriented introduction to the cryptographic currencies (starting wi...
A research-oriented introduction to the cryptographic currencies (starting wi...A research-oriented introduction to the cryptographic currencies (starting wi...
A research-oriented introduction to the cryptographic currencies (starting wi...
vpnmentor
 
Blockchain: The New Technology of Trust
Blockchain: The New Technology of TrustBlockchain: The New Technology of Trust
Blockchain: The New Technology of Trust
Marco Segato
 
Monero Whitepaper.pdf
Monero Whitepaper.pdfMonero Whitepaper.pdf
Monero Whitepaper.pdf
Artie Yamamoto
 
Bitcoin- Technology beyond Politics
Bitcoin- Technology beyond PoliticsBitcoin- Technology beyond Politics
Bitcoin- Technology beyond Politics
Dr. Juan Trujillo
 
With a transaction fee market and without a block size limit in Bitcoin netwo...
With a transaction fee market and without a block size limit in Bitcoin netwo...With a transaction fee market and without a block size limit in Bitcoin netwo...
With a transaction fee market and without a block size limit in Bitcoin netwo...
ijgttjournal
 
The Blockchain - The Technology behind Bitcoin
The Blockchain - The Technology behind Bitcoin The Blockchain - The Technology behind Bitcoin
The Blockchain - The Technology behind Bitcoin
Jérôme Kehrli
 
Bitcoin
BitcoinBitcoin
Bitcoin
Joel John
 
W24717 economic limit of bitcoin dan blockhain
W24717 economic limit of bitcoin dan blockhainW24717 economic limit of bitcoin dan blockhain
W24717 economic limit of bitcoin dan blockhain
Rein Mahatma
 
Bitcoin-full-report-STVM
Bitcoin-full-report-STVMBitcoin-full-report-STVM
Bitcoin-full-report-STVMKai Bennink
 
Bitcoin
BitcoinBitcoin
Bitcoin
Suman Nayak
 
Tutorial blockchain technical overview-ss
Tutorial blockchain technical overview-ssTutorial blockchain technical overview-ss
Tutorial blockchain technical overview-ss
Howard Anglin
 
Blockchain mechanism for IET Mauritius Network
Blockchain mechanism for IET Mauritius NetworkBlockchain mechanism for IET Mauritius Network
Blockchain mechanism for IET Mauritius Network
charles okaformbah
 
Bitcoin, Banking and the Blockchain
Bitcoin, Banking and the BlockchainBitcoin, Banking and the Blockchain
Bitcoin, Banking and the Blockchain
seancarmody
 
Unchain Blockchain by Eva Rez
Unchain Blockchain by Eva RezUnchain Blockchain by Eva Rez
Unchain Blockchain by Eva Rez
rezeva
 
Bitcoin - Introduction, Technical Aspects and Ongoing Developments
Bitcoin - Introduction, Technical Aspects and Ongoing DevelopmentsBitcoin - Introduction, Technical Aspects and Ongoing Developments
Bitcoin - Introduction, Technical Aspects and Ongoing Developments
Bernhard Haslhofer
 
Blockchain an introduction_n_li
Blockchain an introduction_n_liBlockchain an introduction_n_li
Blockchain an introduction_n_li
nikinew1
 
An Introduction to Blockchains
An Introduction to BlockchainsAn Introduction to Blockchains
An Introduction to Blockchains
Dr. Nikolaus Lipusch
 
Post-Bitcoin Cryptocurrencies, Off-Chain Transaction Channels, and Cryptocur...
 Post-Bitcoin Cryptocurrencies, Off-Chain Transaction Channels, and Cryptocur... Post-Bitcoin Cryptocurrencies, Off-Chain Transaction Channels, and Cryptocur...
Post-Bitcoin Cryptocurrencies, Off-Chain Transaction Channels, and Cryptocur...
Bernhard Haslhofer
 
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
Wojciech Langiewicz
 

Similar to Roman Oliynykov - Bitcoin and Blockchain: Technologies, Scaling and Forks (20)

The Basic Theories of Blockchain
The Basic Theories of BlockchainThe Basic Theories of Blockchain
The Basic Theories of Blockchain
 
A research-oriented introduction to the cryptographic currencies (starting wi...
A research-oriented introduction to the cryptographic currencies (starting wi...A research-oriented introduction to the cryptographic currencies (starting wi...
A research-oriented introduction to the cryptographic currencies (starting wi...
 
Blockchain: The New Technology of Trust
Blockchain: The New Technology of TrustBlockchain: The New Technology of Trust
Blockchain: The New Technology of Trust
 
Monero Whitepaper.pdf
Monero Whitepaper.pdfMonero Whitepaper.pdf
Monero Whitepaper.pdf
 
Bitcoin- Technology beyond Politics
Bitcoin- Technology beyond PoliticsBitcoin- Technology beyond Politics
Bitcoin- Technology beyond Politics
 
With a transaction fee market and without a block size limit in Bitcoin netwo...
With a transaction fee market and without a block size limit in Bitcoin netwo...With a transaction fee market and without a block size limit in Bitcoin netwo...
With a transaction fee market and without a block size limit in Bitcoin netwo...
 
The Blockchain - The Technology behind Bitcoin
The Blockchain - The Technology behind Bitcoin The Blockchain - The Technology behind Bitcoin
The Blockchain - The Technology behind Bitcoin
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
W24717 economic limit of bitcoin dan blockhain
W24717 economic limit of bitcoin dan blockhainW24717 economic limit of bitcoin dan blockhain
W24717 economic limit of bitcoin dan blockhain
 
Bitcoin-full-report-STVM
Bitcoin-full-report-STVMBitcoin-full-report-STVM
Bitcoin-full-report-STVM
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
Tutorial blockchain technical overview-ss
Tutorial blockchain technical overview-ssTutorial blockchain technical overview-ss
Tutorial blockchain technical overview-ss
 
Blockchain mechanism for IET Mauritius Network
Blockchain mechanism for IET Mauritius NetworkBlockchain mechanism for IET Mauritius Network
Blockchain mechanism for IET Mauritius Network
 
Bitcoin, Banking and the Blockchain
Bitcoin, Banking and the BlockchainBitcoin, Banking and the Blockchain
Bitcoin, Banking and the Blockchain
 
Unchain Blockchain by Eva Rez
Unchain Blockchain by Eva RezUnchain Blockchain by Eva Rez
Unchain Blockchain by Eva Rez
 
Bitcoin - Introduction, Technical Aspects and Ongoing Developments
Bitcoin - Introduction, Technical Aspects and Ongoing DevelopmentsBitcoin - Introduction, Technical Aspects and Ongoing Developments
Bitcoin - Introduction, Technical Aspects and Ongoing Developments
 
Blockchain an introduction_n_li
Blockchain an introduction_n_liBlockchain an introduction_n_li
Blockchain an introduction_n_li
 
An Introduction to Blockchains
An Introduction to BlockchainsAn Introduction to Blockchains
An Introduction to Blockchains
 
Post-Bitcoin Cryptocurrencies, Off-Chain Transaction Channels, and Cryptocur...
 Post-Bitcoin Cryptocurrencies, Off-Chain Transaction Channels, and Cryptocur... Post-Bitcoin Cryptocurrencies, Off-Chain Transaction Channels, and Cryptocur...
Post-Bitcoin Cryptocurrencies, Off-Chain Transaction Channels, and Cryptocur...
 
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
 

More from Timetogrowup

Розробка стратегії з нуля
Розробка стратегії з нуляРозробка стратегії з нуля
Розробка стратегії з нуля
Timetogrowup
 
Володимир Коваль
Володимир КовальВолодимир Коваль
Володимир Коваль
Timetogrowup
 
Олена Григорчук
Олена ГригорчукОлена Григорчук
Олена Григорчук
Timetogrowup
 
Уляна Країнська
Уляна КраїнськаУляна Країнська
Уляна Країнська
Timetogrowup
 
Роман Дерега
Роман ДерегаРоман Дерега
Роман Дерега
Timetogrowup
 
Андрій Чорний
Андрій ЧорнийАндрій Чорний
Андрій Чорний
Timetogrowup
 
Kind geek ultimate-sales-guide-2018
Kind geek ultimate-sales-guide-2018Kind geek ultimate-sales-guide-2018
Kind geek ultimate-sales-guide-2018
Timetogrowup
 
Oleksiy Davydenko
Oleksiy DavydenkoOleksiy Davydenko
Oleksiy Davydenko
Timetogrowup
 
Ваче Давтян - Убийцы продаж
Ваче Давтян - Убийцы продажВаче Давтян - Убийцы продаж
Ваче Давтян - Убийцы продаж
Timetogrowup
 
Андрей Чекмарёв - Сприяння та перешкоди у професії продажів
Андрей Чекмарёв - Сприяння та перешкоди у професії продажівАндрей Чекмарёв - Сприяння та перешкоди у професії продажів
Андрей Чекмарёв - Сприяння та перешкоди у професії продажів
Timetogrowup
 
Артем Биковець - Agile at scale: Сhallenges & Fails
Артем Биковець - Agile at scale: Сhallenges & FailsАртем Биковець - Agile at scale: Сhallenges & Fails
Артем Биковець - Agile at scale: Сhallenges & Fails
Timetogrowup
 
Константин Коптелов - Objective and Key Results Framework
Константин Коптелов - Objective and Key Results FrameworkКонстантин Коптелов - Objective and Key Results Framework
Константин Коптелов - Objective and Key Results Framework
Timetogrowup
 
Максим Вишневський - Team scale
Максим Вишневський - Team scaleМаксим Вишневський - Team scale
Максим Вишневський - Team scale
Timetogrowup
 
Максим Ткаченко - Ефективні техніки продажів
Максим Ткаченко - Ефективні техніки продажівМаксим Ткаченко - Ефективні техніки продажів
Максим Ткаченко - Ефективні техніки продажів
Timetogrowup
 
Uliana Krainska - Lead Generation Channels and Pre-Sales Activities in IT Co...
Uliana Krainska - Lead Generation Channels  and Pre-Sales Activities in IT Co...Uliana Krainska - Lead Generation Channels  and Pre-Sales Activities in IT Co...
Uliana Krainska - Lead Generation Channels and Pre-Sales Activities in IT Co...
Timetogrowup
 
Olena Grygorchuk - Refactor your understandings about Agile development
Olena Grygorchuk - Refactor your understandings about Agile developmentOlena Grygorchuk - Refactor your understandings about Agile development
Olena Grygorchuk - Refactor your understandings about Agile development
Timetogrowup
 
Andriy Mudryy - Agile it All!
Andriy Mudryy - Agile it All!Andriy Mudryy - Agile it All!
Andriy Mudryy - Agile it All!
Timetogrowup
 
IT Sales Kyiv - Дмитрий Моцьо
IT Sales Kyiv - Дмитрий МоцьоIT Sales Kyiv - Дмитрий Моцьо
IT Sales Kyiv - Дмитрий Моцьо
Timetogrowup
 
IT Sales Kyiv - Антон Федулов
IT Sales Kyiv - Антон ФедуловIT Sales Kyiv - Антон Федулов
IT Sales Kyiv - Антон Федулов
Timetogrowup
 
Orysya Sklyar - Calls
Orysya Sklyar - CallsOrysya Sklyar - Calls
Orysya Sklyar - Calls
Timetogrowup
 

More from Timetogrowup (20)

Розробка стратегії з нуля
Розробка стратегії з нуляРозробка стратегії з нуля
Розробка стратегії з нуля
 
Володимир Коваль
Володимир КовальВолодимир Коваль
Володимир Коваль
 
Олена Григорчук
Олена ГригорчукОлена Григорчук
Олена Григорчук
 
Уляна Країнська
Уляна КраїнськаУляна Країнська
Уляна Країнська
 
Роман Дерега
Роман ДерегаРоман Дерега
Роман Дерега
 
Андрій Чорний
Андрій ЧорнийАндрій Чорний
Андрій Чорний
 
Kind geek ultimate-sales-guide-2018
Kind geek ultimate-sales-guide-2018Kind geek ultimate-sales-guide-2018
Kind geek ultimate-sales-guide-2018
 
Oleksiy Davydenko
Oleksiy DavydenkoOleksiy Davydenko
Oleksiy Davydenko
 
Ваче Давтян - Убийцы продаж
Ваче Давтян - Убийцы продажВаче Давтян - Убийцы продаж
Ваче Давтян - Убийцы продаж
 
Андрей Чекмарёв - Сприяння та перешкоди у професії продажів
Андрей Чекмарёв - Сприяння та перешкоди у професії продажівАндрей Чекмарёв - Сприяння та перешкоди у професії продажів
Андрей Чекмарёв - Сприяння та перешкоди у професії продажів
 
Артем Биковець - Agile at scale: Сhallenges & Fails
Артем Биковець - Agile at scale: Сhallenges & FailsАртем Биковець - Agile at scale: Сhallenges & Fails
Артем Биковець - Agile at scale: Сhallenges & Fails
 
Константин Коптелов - Objective and Key Results Framework
Константин Коптелов - Objective and Key Results FrameworkКонстантин Коптелов - Objective and Key Results Framework
Константин Коптелов - Objective and Key Results Framework
 
Максим Вишневський - Team scale
Максим Вишневський - Team scaleМаксим Вишневський - Team scale
Максим Вишневський - Team scale
 
Максим Ткаченко - Ефективні техніки продажів
Максим Ткаченко - Ефективні техніки продажівМаксим Ткаченко - Ефективні техніки продажів
Максим Ткаченко - Ефективні техніки продажів
 
Uliana Krainska - Lead Generation Channels and Pre-Sales Activities in IT Co...
Uliana Krainska - Lead Generation Channels  and Pre-Sales Activities in IT Co...Uliana Krainska - Lead Generation Channels  and Pre-Sales Activities in IT Co...
Uliana Krainska - Lead Generation Channels and Pre-Sales Activities in IT Co...
 
Olena Grygorchuk - Refactor your understandings about Agile development
Olena Grygorchuk - Refactor your understandings about Agile developmentOlena Grygorchuk - Refactor your understandings about Agile development
Olena Grygorchuk - Refactor your understandings about Agile development
 
Andriy Mudryy - Agile it All!
Andriy Mudryy - Agile it All!Andriy Mudryy - Agile it All!
Andriy Mudryy - Agile it All!
 
IT Sales Kyiv - Дмитрий Моцьо
IT Sales Kyiv - Дмитрий МоцьоIT Sales Kyiv - Дмитрий Моцьо
IT Sales Kyiv - Дмитрий Моцьо
 
IT Sales Kyiv - Антон Федулов
IT Sales Kyiv - Антон ФедуловIT Sales Kyiv - Антон Федулов
IT Sales Kyiv - Антон Федулов
 
Orysya Sklyar - Calls
Orysya Sklyar - CallsOrysya Sklyar - Calls
Orysya Sklyar - Calls
 

Recently uploaded

Turin Startup Ecosystem 2024 - Ricerca sulle Startup e il Sistema dell'Innov...
Turin Startup Ecosystem 2024  - Ricerca sulle Startup e il Sistema dell'Innov...Turin Startup Ecosystem 2024  - Ricerca sulle Startup e il Sistema dell'Innov...
Turin Startup Ecosystem 2024 - Ricerca sulle Startup e il Sistema dell'Innov...
Quotidiano Piemontese
 
Abhay Bhutada Leads Poonawalla Fincorp To Record Low NPA And Unprecedented Gr...
Abhay Bhutada Leads Poonawalla Fincorp To Record Low NPA And Unprecedented Gr...Abhay Bhutada Leads Poonawalla Fincorp To Record Low NPA And Unprecedented Gr...
Abhay Bhutada Leads Poonawalla Fincorp To Record Low NPA And Unprecedented Gr...
Vighnesh Shashtri
 
Webinar Exploring DORA for Fintechs - Simont Braun
Webinar Exploring DORA for Fintechs - Simont BraunWebinar Exploring DORA for Fintechs - Simont Braun
Webinar Exploring DORA for Fintechs - Simont Braun
FinTech Belgium
 
how to sell pi coins in all Africa Countries.
how to sell pi coins in all Africa Countries.how to sell pi coins in all Africa Countries.
how to sell pi coins in all Africa Countries.
DOT TECH
 
This assessment plan proposal is to outline a structured approach to evaluati...
This assessment plan proposal is to outline a structured approach to evaluati...This assessment plan proposal is to outline a structured approach to evaluati...
This assessment plan proposal is to outline a structured approach to evaluati...
lamluanvan.net Viết thuê luận văn
 
can I really make money with pi network.
can I really make money with pi network.can I really make money with pi network.
can I really make money with pi network.
DOT TECH
 
Intro_Economics_ GPresentation Week 4.pptx
Intro_Economics_ GPresentation Week 4.pptxIntro_Economics_ GPresentation Week 4.pptx
Intro_Economics_ GPresentation Week 4.pptx
shetivia
 
what is the future of Pi Network currency.
what is the future of Pi Network currency.what is the future of Pi Network currency.
what is the future of Pi Network currency.
DOT TECH
 
What price will pi network be listed on exchanges
What price will pi network be listed on exchangesWhat price will pi network be listed on exchanges
What price will pi network be listed on exchanges
DOT TECH
 
Pensions and housing - Pensions PlayPen - 4 June 2024 v3 (1).pdf
Pensions and housing - Pensions PlayPen - 4 June 2024 v3 (1).pdfPensions and housing - Pensions PlayPen - 4 June 2024 v3 (1).pdf
Pensions and housing - Pensions PlayPen - 4 June 2024 v3 (1).pdf
Henry Tapper
 
how to sell pi coins effectively (from 50 - 100k pi)
how to sell pi coins effectively (from 50 - 100k  pi)how to sell pi coins effectively (from 50 - 100k  pi)
how to sell pi coins effectively (from 50 - 100k pi)
DOT TECH
 
Instant Issue Debit Cards - School Designs
Instant Issue Debit Cards - School DesignsInstant Issue Debit Cards - School Designs
Instant Issue Debit Cards - School Designs
egoetzinger
 
BYD SWOT Analysis and In-Depth Insights 2024.pptx
BYD SWOT Analysis and In-Depth Insights 2024.pptxBYD SWOT Analysis and In-Depth Insights 2024.pptx
BYD SWOT Analysis and In-Depth Insights 2024.pptx
mikemetalprod
 
Which Crypto to Buy Today for Short-Term in May-June 2024.pdf
Which Crypto to Buy Today for Short-Term in May-June 2024.pdfWhich Crypto to Buy Today for Short-Term in May-June 2024.pdf
Which Crypto to Buy Today for Short-Term in May-June 2024.pdf
Kezex (KZX)
 
how can i use my minded pi coins I need some funds.
how can i use my minded pi coins I need some funds.how can i use my minded pi coins I need some funds.
how can i use my minded pi coins I need some funds.
DOT TECH
 
where can I find a legit pi merchant online
where can I find a legit pi merchant onlinewhere can I find a legit pi merchant online
where can I find a legit pi merchant online
DOT TECH
 
how to sell pi coins in South Korea profitably.
how to sell pi coins in South Korea profitably.how to sell pi coins in South Korea profitably.
how to sell pi coins in South Korea profitably.
DOT TECH
 
how to sell pi coins on Bitmart crypto exchange
how to sell pi coins on Bitmart crypto exchangehow to sell pi coins on Bitmart crypto exchange
how to sell pi coins on Bitmart crypto exchange
DOT TECH
 
The secret way to sell pi coins effortlessly.
The secret way to sell pi coins effortlessly.The secret way to sell pi coins effortlessly.
The secret way to sell pi coins effortlessly.
DOT TECH
 
What website can I sell pi coins securely.
What website can I sell pi coins securely.What website can I sell pi coins securely.
What website can I sell pi coins securely.
DOT TECH
 

Recently uploaded (20)

Turin Startup Ecosystem 2024 - Ricerca sulle Startup e il Sistema dell'Innov...
Turin Startup Ecosystem 2024  - Ricerca sulle Startup e il Sistema dell'Innov...Turin Startup Ecosystem 2024  - Ricerca sulle Startup e il Sistema dell'Innov...
Turin Startup Ecosystem 2024 - Ricerca sulle Startup e il Sistema dell'Innov...
 
Abhay Bhutada Leads Poonawalla Fincorp To Record Low NPA And Unprecedented Gr...
Abhay Bhutada Leads Poonawalla Fincorp To Record Low NPA And Unprecedented Gr...Abhay Bhutada Leads Poonawalla Fincorp To Record Low NPA And Unprecedented Gr...
Abhay Bhutada Leads Poonawalla Fincorp To Record Low NPA And Unprecedented Gr...
 
Webinar Exploring DORA for Fintechs - Simont Braun
Webinar Exploring DORA for Fintechs - Simont BraunWebinar Exploring DORA for Fintechs - Simont Braun
Webinar Exploring DORA for Fintechs - Simont Braun
 
how to sell pi coins in all Africa Countries.
how to sell pi coins in all Africa Countries.how to sell pi coins in all Africa Countries.
how to sell pi coins in all Africa Countries.
 
This assessment plan proposal is to outline a structured approach to evaluati...
This assessment plan proposal is to outline a structured approach to evaluati...This assessment plan proposal is to outline a structured approach to evaluati...
This assessment plan proposal is to outline a structured approach to evaluati...
 
can I really make money with pi network.
can I really make money with pi network.can I really make money with pi network.
can I really make money with pi network.
 
Intro_Economics_ GPresentation Week 4.pptx
Intro_Economics_ GPresentation Week 4.pptxIntro_Economics_ GPresentation Week 4.pptx
Intro_Economics_ GPresentation Week 4.pptx
 
what is the future of Pi Network currency.
what is the future of Pi Network currency.what is the future of Pi Network currency.
what is the future of Pi Network currency.
 
What price will pi network be listed on exchanges
What price will pi network be listed on exchangesWhat price will pi network be listed on exchanges
What price will pi network be listed on exchanges
 
Pensions and housing - Pensions PlayPen - 4 June 2024 v3 (1).pdf
Pensions and housing - Pensions PlayPen - 4 June 2024 v3 (1).pdfPensions and housing - Pensions PlayPen - 4 June 2024 v3 (1).pdf
Pensions and housing - Pensions PlayPen - 4 June 2024 v3 (1).pdf
 
how to sell pi coins effectively (from 50 - 100k pi)
how to sell pi coins effectively (from 50 - 100k  pi)how to sell pi coins effectively (from 50 - 100k  pi)
how to sell pi coins effectively (from 50 - 100k pi)
 
Instant Issue Debit Cards - School Designs
Instant Issue Debit Cards - School DesignsInstant Issue Debit Cards - School Designs
Instant Issue Debit Cards - School Designs
 
BYD SWOT Analysis and In-Depth Insights 2024.pptx
BYD SWOT Analysis and In-Depth Insights 2024.pptxBYD SWOT Analysis and In-Depth Insights 2024.pptx
BYD SWOT Analysis and In-Depth Insights 2024.pptx
 
Which Crypto to Buy Today for Short-Term in May-June 2024.pdf
Which Crypto to Buy Today for Short-Term in May-June 2024.pdfWhich Crypto to Buy Today for Short-Term in May-June 2024.pdf
Which Crypto to Buy Today for Short-Term in May-June 2024.pdf
 
how can i use my minded pi coins I need some funds.
how can i use my minded pi coins I need some funds.how can i use my minded pi coins I need some funds.
how can i use my minded pi coins I need some funds.
 
where can I find a legit pi merchant online
where can I find a legit pi merchant onlinewhere can I find a legit pi merchant online
where can I find a legit pi merchant online
 
how to sell pi coins in South Korea profitably.
how to sell pi coins in South Korea profitably.how to sell pi coins in South Korea profitably.
how to sell pi coins in South Korea profitably.
 
how to sell pi coins on Bitmart crypto exchange
how to sell pi coins on Bitmart crypto exchangehow to sell pi coins on Bitmart crypto exchange
how to sell pi coins on Bitmart crypto exchange
 
The secret way to sell pi coins effortlessly.
The secret way to sell pi coins effortlessly.The secret way to sell pi coins effortlessly.
The secret way to sell pi coins effortlessly.
 
What website can I sell pi coins securely.
What website can I sell pi coins securely.What website can I sell pi coins securely.
What website can I sell pi coins securely.
 

Roman Oliynykov - Bitcoin and Blockchain: Technologies, Scaling and Forks

  • 1. Bitcoin and Blockchain: Technologies, Scaling and Forks Roman Oliynykov Ph.D., Dr.Habil. roman.oliynykov@iohk.io Input Output HK V. N. Karazin Kharkiv National University November 25th, 2017 Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 1 / 29
  • 2. Outline Distinguishing characteristics of Bitcoin and other blockchain-based altcoins Transactions, Merkle trees, blocks and blockchain Consensus and mining, its complexity Bitcoin advantages & open problems Scaling Bitcoin Bitcoin forks Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 2 / 29
  • 3. Distinguishing characteristics of Bitcoin and other blockchain-based altcoins a virtual decentralized currency with no trusted parties and with no pre-assumed identities among the participants; network operation support by moderately hard (solvable by participants) proof-of-work puzzles with rewards; a public distributed ledger (to detect and prevent money double-spending). Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 3 / 29
  • 4. Three main technical components transactions (including scripts) united into blocks; the consensus protocol; the communication network. Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 4 / 29
  • 5. Bitcoin transactions One bitcoin is divided into 108 satoshi Conservation of value principle: the sum of the values of all transaction is less than or equal to the sum of the values of all inputs (with an exception: coinbase transactions used to create new units of currency). There is no identities or accounts that ”own” bitcoins. Ownership is a knowledge of a private key which is able to make a signature that redeems certain outputs. Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 5 / 29
  • 6. Merkle tree: uniting transactions into blocks Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 6 / 29
  • 7. Transaction sequence Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 7 / 29
  • 8. Blockchain: a hash-linked list of data blocks NB: tree data structure for blockchains: GHOST Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 8 / 29
  • 9. Double-spending attack Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 9 / 29
  • 10. Double-spending prevention Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 10 / 29
  • 11. Bitcoin addresses Hashes of public keys in "pay-to-pub-key-hash" transactions function represented at base58 encoding as pseudonymous identities within the system and referred as addresses. No real-world names or identifying information are required. 1G9dguLRGKd16YBmM53iCuFVTTAUVog7s9 Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 11 / 29
  • 12. Bitcoin consensus and mining Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 12 / 29
  • 13. Bitcoins core innovation: Nakamoto consensus The process for choosing a new block (to be added to the public distributed ledger, or the Bitcoin blockchain): the first announced valid block containing a solution to the computational puzzle is considered correct; on hearing of the new announced valid block, other participants are meant to begin working to find a followup block; if an announced block contains invalid transactions or is otherwise malformed, all other participants are meant to reject it and continue working until they have found a solution for a valid block; at any given time, the consensus blockchain is the ”longest” version (with the biggest cumulative difficulty) of already known variants. Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 13 / 29
  • 14. The consensus on the different branches (fork handling) The consensus blockchain is the longest version (with the greatest expected difficulty to produce). It is also possible for two valid solutions to be found at approximately the same time (depending on network latency): there are two equal-length chains (a temporary fork); miners can choose any fork in this scenario; one blockchain will eventually be extended further than the other at which point all miners should adopt it due to the random nature of the computational puzzle; the other fork will be discarded being ”shorter” comparing to another. Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 14 / 29
  • 15. Confidence that payment has been made (will not be discarded in the future): theory Sequential nature of this consensus mechanism implies that users must wait for blocks to be found in order to gain high confidence that a transaction is permanently included in the blockchain. In theory, users can never be completely sure that a transaction wont eventually be removed by a very deep fork (there is always negligible probability that the currently available blockchain is a fork and will be discarded in the future). Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 15 / 29
  • 16. Confidence that payment has been made (will not be discarded in the future): practice In practice, most Bitcoin clients require six confirmation blocks before accepting that a transaction is published (the probability of discarding such a block becomes smaller than 10−3 ). Deep forks are also prevented in an ad-hoc manner by including hard-coded blockchain prefixes (checkpoints) with the default Bitcoin client which clients require in any valid blockchain (it is considered by some researches that Bitcoin does not use a true decentralized consensus protocol, as checkpoints are chosen in a centralized manner). Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 16 / 29
  • 17. Bitcoin miners Miners are participants who are working (racing in practice) to solve the computational puzzle in exchange for monetary rewards. A participant who finds a block can insert a coinbase transaction minting a specified amount of currency (a block reward) and transferring it to an address of their choosing. Miners receive all new currency initially and there is no other allowed mechanism for money creation. Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 17 / 29
  • 18. The computational puzzle Requires finding a pre-image for SHA-256 hash function (to find a block whose hash is less than a target value starts with d consecutive zero bits; for November, 2017 this value is approximately 72 zero bits; cf.: the DES cipher has a 56-bit key). The randomized nature of this puzzle is important, each miner has a probability of finding the next block proportional to his share of the competing computational power (otherwise, in non-randomized case, the most powerful individual miner could be expected to find every block first). Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 18 / 29
  • 19. The puzzle complexity The difficulty of the puzzle is calibrated so that a new block is found, on average, once every 10 minutes. To maintain this, the difficulty is adjusted once every 2016 blocks, or approximately every two weeks, by analysis of timestamps included in the previous blocks (with sanity checks to prevent manipulations by network rejection of the implausible timestamps). The block reward is determined by a fixed schedule. Initially, each block created B50. This has been halved to B25 and then to B12.5, and is scheduled to halve roughly every four years until approximately 2140 at which point no new bitcoins will be created. Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 19 / 29
  • 20. A transaction fee Additional income: miners are also allowed to claim the net difference in value between all input and all output transactions in this block (a transaction fee). Fee values have primarily been determined by defaults in the reference client, with an option to pay higher fees to have their transactions published more quickly. Transaction fees have primarily been used to discourage overuse of the network with many small transactions (called penny flooding) and have never provided more than 12% of mining revenue. After 2140 transaction fees are planned to be main incentive for miners. Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 20 / 29
  • 21. Mining pools: the majority of mining power since 2013 Miners often collaborate in mining pools to lower the variance of their revenue by sharing rewards with a group of other miners. Mining pools are typically administered by a manager, who, for a small fee, collects mining rewards found by all participating miners and allocates the funds to members in proportion to the amount of work they have performed on behalf of the pool (there is also small amount of ad hoc p2p mining pools). Participation is proved (probabilistically) by sending ”near-blocks” whose hash starts with a large number of zeros (d = 40 or more) but are not valid Bitcoin blocks yet. There is no reason to miner to hide the valid block, because block reward address is always pool manager’s address (and no other ”near-blocks” are accepted for the pool reward). Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 21 / 29
  • 22. Bitcoin advantages the first wide spread virtual decentralized currency with no trusted parties and with no pre-assumed identities among the participants; easy-to-join both for users and miners; list-of-transactions only: no users, no balances or identities; a public distributed ledger with detection and prevention money double-spending; robust to cheaters: the network works normally when it just has an honest majority among all participants. Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 22 / 29
  • 23. Open problems for Bitcoin a scalability problem: much smaller throughput comparing to VISA, MasterCard due to network propagation delay for consensus and complexity of heavy block processing (attempts to solve via SegWit, etc.); network latency: long time for transaction approval (not suitable for high frequency trading, etc.); centralization: if someone (a big mining pool or governmental agency) can control significant part of the network, it can effectively to work against default mining rules; mining pools unfair competition: one big pool can potentially infiltrate another big pool and decrease its mining efficiency; huge electricity consumption. Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 23 / 29
  • 24. Scaling Bitcoin Segregated Witness (BIP141) Increasing block size SegWit2x Lightning Network · · · Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 24 / 29
  • 25. Bitcoin forks Bitcoin Cash Bitcoin Gold Bitcoin Diamond · · · Bitcoin XT Bitcoin Classic Bitcoin Unlimited · · · Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 25 / 29
  • 26. Bitcoin Cash Increased block size (up to 8 MB) No Segwit Emergency Difficulty Adjustment (EDA) for keeping stability of block issuance Replay protection and difficulty adjustment each block Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 26 / 29
  • 27. Bitcoin Gold Changing proof-of-work: Equihash instead of SHA-256 (moving from ASICs to GPUs to eliminate centralization) A premined coins for developers (up to 1%) Segwit for scaling Replay protection and difficulty adjustment each block Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 27 / 29
  • 28. Bitcoin Diamond Changing proof-of-work: X13 instead of SHA-256 (moving from ASICs to GPUs to eliminate centralization) Changed coin supply (210 millions) Segwit & Increased block size Replay protection Claims for more confidentiality (encrypted amount) Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 28 / 29
  • 29. Roman Oliynykov, Ph.D., Dr.Habil. — Input Output HK 29 / 29