SlideShare uma empresa Scribd logo
1 de 36
Baixar para ler offline
Basics of
Bitcoin & Mining
Akhilesh Arora
@akhilesharora
linkedin.com/in/akhilesharora
facebook.com/akhilesharora
The Technology Behind BTC
• Hashing (double-SHA256, RIPEMD-160)
• Proof-of-work (hashcash proof)
• Dual key encryption (Elliptical Curve
Digital Signature Algorithm, Merkle
Trees )
• Peer-To-Peer Networking (similar to IRC
Internet Relay Chat)
Hashing
• Hashing is applying an algorithm to find a
short number (digest) of a block of data
• A checksum is an example hashing
algorithm
• Every time you apply a hash to some
data, you get the same hash number
• Hashes are one-way. If you have the data,
you can find the hash. But, if you have
the hash, you can’t figure out the data.
• Hashes are useful for verifying data
Dual-key Encryption
• Fundamental to understanding virtual
currencies
• Encrypting with a password is single-key
• Dual-key encryption uses two keys
• If one key is used to encrypt, the other
key can be used to decrypt
• And vice-versa
• The key that encrypted CANNOT decrypt
Private and Public Keys
• Although keys are symmetrical, usually
one key is kept private, while the other
one is considered public.
Key 1
Key 2
Private
Dual-key Encryption
• Encrypt with Key 2
Key 1 Key 2
Encrypted data Unencrypted data
Mining
• Byproduct of publishing the blockchain
• This is the way new Bitcoins are created
– Miners publish blocks on the blockchain
– As a reward for publishing blocks, they get to keep Bitcoins.
(50 for the first 4 years, 25 now, halving every four years)
– Miners also get transaction fees
• Race to find a conforming hash every 10 minutes
• Don’t do it (unless you have cash, time, and an
underutilized electrical engineering skill)
• Incredibly competitive
• High upfront investment
• Dificulty is increasing rapidly
• Now requires specialized hardware (ASIC chip)
How Bitcoins are Created
• Every 10 minutes (average), miners try to
solve a proof-of-work problem
• The first one to solve the problem publishes
a “block” on the “blockchain” that includes
all transactions from the last 10 minutes
• In 2009, the reward for publishing a block
was 50 Bitcoins. Now it is 25. In 2016 it will
be 12.5 Bitcoins
• With the constant halving, eventually there
will only be about 21 million Bitcoins
How Bitcoins are NOT Created
• You can’t pay to create extra coins. They
can only be mined
• There is no central bank to make them
• The developers can’t add extra Bitcoins.
Other users would rebel and not take the
new version of the software (Litecoin)
• Miners can’t mine extra or faster in
response to market forces
Blockchain
• Miners publish a block of recent transactions
every 10 minutes on average
• Each block is provably related to the
previous
• Every transaction ever is stored in the
blockchain
• If there are disagreements about valid
blocks, the blockchain can fork
• Miners add to the longest good chain
• Searching the blockchain can reveal
interesting things
Bitcoins Have Been Stolen
• Some big heists have been pulled of with
very large numbers of Bitcoins stolen
• The thieves are usually hackers, not burglars
• Generally, the stolen Bitcoins are never seen
again on the blockchain
• It is very important to protect your private
key
• Viruses can steal your Bitcoins
• Other viruses can encrypt your hard drive
and only decrypt if you provide Bitcoins
• Botnets have mined Bitcoins
Bitcoin Wallet Security
• Keep keys offline if you can
• Encrypt your wallet
• Make backup copies of your wallet
• If you are going to keep your savings at home,
put them on a computer you ONLY use for
bitcoins
• Keep multiple wallets
• Always receive money to a new address
• Online wallets: use 2-factor authentication
• Don’t spend from your “savings” address(es)
• Don’t brag about how many coins you have or
where you stash them
Doom and Gloom
• Some people say Bitcoin is not a currency
and is doomed to fail
• Almost everyone predicting the downfall
of Bitcoin doesn’t really understand
bitcoin
• The arguments generally fall into the
following categories
Are Bitcoins a Ponzi Scheme?
• Charles Ponzi in 1920s defrauded investors
• Bernie Madoff did the same thing in 2008
• Very common
• Ponzi Scheme:
– Unreasonable returns are promised in
a “confidence trick”
– Early withdrawals are paid with other
investor’s money
• Depends on opaqueness of finances
• Everyone can see your Bitcoins
• There have been Bitcoin-denominated
Ponzi-schemes
Are Bitcoins a Tulip Mania?
• Tulip Mania happened in Netherlands in the 1630s and is
a classic asset price bubble story
• If the definition of tulip mania is rapidly increasing
prices, then maybe Bitcoins are a tulip mania, because
the price is going up
• There is no control on the supply of tulips
• Tulips aren’t great as a medium of exchange.
– They die
– They are not easily divisible
– They are not easy to value
– They are not uniform
– You can’t prove the value of any particular bulb
• They do have intrinsic value
• So do Beanie Babies
Bitcoin Asset Bubble?
• Maybe
• Will the price shoot up and then fall back down
rapidly?
• Offshore US Dollars
– Americans keep $1.5 Trillion outside the US
– If they stored 5% of that in Bitcoin, BTC=$3,740
• Foreigners with US Dollars
– Foreigners hold $3.4 trillion
– 5% would be BTC=$8,095
• US-based prepaid debit cards $77 billion/year
• Western Union makes $5B/year on money transfers
• Currently, millions of dollars worth of Bitcoin are being
created each day
There Aren’t Enough Bitcoins To Go
Around
• 7,000 million people can’t each have one
of 21 million Bitcoins
• If/when they become common, few
individuals will have a “full” bitcoin.
Bitcoin Mining is Wasteful
• The Hashcash algorithm is almost useless
except for within Bitcoin
– Must show that work was done
– Must be based on the previous block
– Must be easily checkable
• If the algorithm is useful to someone, that
someone probably has an advantage
• Changing the algorithm would be very
disruptive to Bitcoin
• Some altcoins attempt to solve this problem,
but open vulnerabilities to do so
• Nobody has found an acceptable alternative
Types of Mining Hardware
1.CPU
2.FPGA
3.ASIC
4.GPU
CPU Mining
● Most easiest & commonly obtainable
hardware.
● Problem Assosiated: Not designed for
high volume of calculations.
● Can mine coins but will be
astronomical and in no way to break
even with COSTs involved.
GPU
● More focuses upon mining due to
reduced instruction set.
● AMD vs Nvidia ?
AMD NVIDIA
Low frequency High Frequency
Parallel Procesing High High Throughput
FPGA
● Field Programmable Gate Array
● Comes in BLANK state.
● Can be programmed according to the
user needs.
Software for MINING
1.BFG
2.BitMiner
3.BTCMiner
4.Cgminer
5.Diablo
6.gMiner
7.Easy Miner
8.Group Fabric
CGMINER
Cgminer : Supports Windows,linux,Mac
AMD NVIDIA
Amd accelerated-parallel-
processing-app-skd
opencl
Cgminer -o http://pool1:port -u
poolusername -p pool1password
ZTEXT FPGA
GUI MINER
RFCPOOL
Why not join a Pool?
● Slush's Pool
● BTC Guild
● Eligius
● Ghash.IO
Dustcoin.com
Bibliography
● https://en.bitcoin.it/wiki/Mining_rig
● http://www.networkworld.com/article/2226506/opensource-sub
net/massive-bitcoin-mining-rig-earns--8-million-per-month.
html
● http://www.coinminingrigs.com/
● http://bitcoinmagazine.com/
● http://bitcoinmagazine.com/1524/growing-decentralization-in
-the-bitcoin-economy/
● http://dustcoin.com/
● https://bitcointalk.org/

Mais conteúdo relacionado

Mais procurados

Blockchain
BlockchainBlockchain
BlockchainSai Nath
 
Introduction to bitcoin
Introduction to bitcoinIntroduction to bitcoin
Introduction to bitcoinWolf McNally
 
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 ledgersKoen Vingerhoets
 
Crypto currencies presentation by Dr. Andre Gholam
Crypto currencies presentation by Dr. Andre GholamCrypto currencies presentation by Dr. Andre Gholam
Crypto currencies presentation by Dr. Andre GholamPMILebanonChapter
 
Bitcoin, Ethereum, Smart Contract & Blockchain
Bitcoin, Ethereum, Smart Contract & BlockchainBitcoin, Ethereum, Smart Contract & Blockchain
Bitcoin, Ethereum, Smart Contract & BlockchainJitendra Chittoda
 
Understanding Proof of Work (PoW) and Proof of Stake (PoS) Algorithms
Understanding Proof of Work (PoW) and Proof of Stake (PoS) AlgorithmsUnderstanding Proof of Work (PoW) and Proof of Stake (PoS) Algorithms
Understanding Proof of Work (PoW) and Proof of Stake (PoS) AlgorithmsGautam Anand
 
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
 
Introduction to Bitcoins and Cryptocurrency
Introduction to Bitcoins and CryptocurrencyIntroduction to Bitcoins and Cryptocurrency
Introduction to Bitcoins and CryptocurrencyUtkarsh Gupta
 
Understanding Bitcoin
Understanding BitcoinUnderstanding Bitcoin
Understanding BitcoinLeslie Bayona
 
Blockchain Economics
Blockchain EconomicsBlockchain Economics
Blockchain EconomicsMelanie Swan
 

Mais procurados (20)

Blockchain
BlockchainBlockchain
Blockchain
 
Bitcoin & Bitcoin Mining
Bitcoin & Bitcoin MiningBitcoin & Bitcoin Mining
Bitcoin & Bitcoin Mining
 
Introduction to bitcoin
Introduction to bitcoinIntroduction to bitcoin
Introduction to bitcoin
 
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
 
All About Ethereum
All About EthereumAll About Ethereum
All About Ethereum
 
Crypto currencies presentation by Dr. Andre Gholam
Crypto currencies presentation by Dr. Andre GholamCrypto currencies presentation by Dr. Andre Gholam
Crypto currencies presentation by Dr. Andre Gholam
 
Blockchain
BlockchainBlockchain
Blockchain
 
Bitcoin, Ethereum, Smart Contract & Blockchain
Bitcoin, Ethereum, Smart Contract & BlockchainBitcoin, Ethereum, Smart Contract & Blockchain
Bitcoin, Ethereum, Smart Contract & Blockchain
 
Cryptocurrency
Cryptocurrency Cryptocurrency
Cryptocurrency
 
Understanding Proof of Work (PoW) and Proof of Stake (PoS) Algorithms
Understanding Proof of Work (PoW) and Proof of Stake (PoS) AlgorithmsUnderstanding Proof of Work (PoW) and Proof of Stake (PoS) Algorithms
Understanding Proof of Work (PoW) and Proof of Stake (PoS) Algorithms
 
BITCOIN EXPLAINED
BITCOIN EXPLAINEDBITCOIN EXPLAINED
BITCOIN EXPLAINED
 
Cryptocurrency
Cryptocurrency  Cryptocurrency
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)
 
Introduction to Bitcoins and Cryptocurrency
Introduction to Bitcoins and CryptocurrencyIntroduction to Bitcoins and Cryptocurrency
Introduction to Bitcoins and Cryptocurrency
 
Cryptocurrency
CryptocurrencyCryptocurrency
Cryptocurrency
 
Blockchain concepts
Blockchain conceptsBlockchain concepts
Blockchain concepts
 
Bitcoin technology
Bitcoin technologyBitcoin technology
Bitcoin technology
 
Understanding Bitcoin
Understanding BitcoinUnderstanding Bitcoin
Understanding Bitcoin
 
Blockchain Economics
Blockchain EconomicsBlockchain Economics
Blockchain Economics
 
Cryptocurrency
CryptocurrencyCryptocurrency
Cryptocurrency
 

Semelhante a Basics of Bitcoin & Mining

Michael bowen | High risk specialist |Card not present transaction expert
Michael bowen | High risk specialist |Card not present transaction expert Michael bowen | High risk specialist |Card not present transaction expert
Michael bowen | High risk specialist |Card not present transaction expert JayWigdore
 
Bitcoin and the future of cryptocurrency
Bitcoin and the future of cryptocurrencyBitcoin and the future of cryptocurrency
Bitcoin and the future of cryptocurrencyBen Hall
 
Flaying the Blockchain Ledger for Fun, Profit, and Hip Hop
Flaying the Blockchain Ledger for Fun, Profit, and Hip HopFlaying the Blockchain Ledger for Fun, Profit, and Hip Hop
Flaying the Blockchain Ledger for Fun, Profit, and Hip HopAndrew Morris
 
Bitcoin and Blockchains
Bitcoin and BlockchainsBitcoin and Blockchains
Bitcoin and BlockchainsSam Bowne
 
Bitcoin and Blockchains
Bitcoin and BlockchainsBitcoin and Blockchains
Bitcoin and BlockchainsSam Bowne
 
Ashok misra presentation
Ashok misra presentationAshok misra presentation
Ashok misra presentationMecklerMedia
 
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
 
Crypto Presentation
Crypto PresentationCrypto Presentation
Crypto PresentationMaxWheelock
 
Bitcoin, Cryptocurrency, & Blockchain Presentation
Bitcoin, Cryptocurrency, & Blockchain PresentationBitcoin, Cryptocurrency, & Blockchain Presentation
Bitcoin, Cryptocurrency, & Blockchain PresentationMaxWheelock
 
What is a blockchain?
What is a blockchain? What is a blockchain?
What is a blockchain? Wayne Lippman
 
Demysitifying Bitcoin and Blockchain
Demysitifying Bitcoin and Blockchain Demysitifying Bitcoin and Blockchain
Demysitifying Bitcoin and Blockchain Ganesh Kondal
 
Bitcoin and Blockchains
Bitcoin and BlockchainsBitcoin and Blockchains
Bitcoin and BlockchainsSam Bowne
 
Bitcoin and Blockchains
Bitcoin and BlockchainsBitcoin and Blockchains
Bitcoin and BlockchainsSam Bowne
 
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
 
Bitcoin and Blockchains
Bitcoin and BlockchainsBitcoin and Blockchains
Bitcoin and BlockchainsSam Bowne
 
An Investigator’s Guide to Blockchain, Bitcoin and Wallet Transactions
An Investigator’s Guide to Blockchain, Bitcoin and Wallet TransactionsAn Investigator’s Guide to Blockchain, Bitcoin and Wallet Transactions
An Investigator’s Guide to Blockchain, Bitcoin and Wallet TransactionsCase IQ
 
Cryptocurrency, a deep dive
Cryptocurrency, a deep diveCryptocurrency, a deep dive
Cryptocurrency, a deep diveOWASP Khartoum
 

Semelhante a Basics of Bitcoin & Mining (20)

Michael bowen | High risk specialist |Card not present transaction expert
Michael bowen | High risk specialist |Card not present transaction expert Michael bowen | High risk specialist |Card not present transaction expert
Michael bowen | High risk specialist |Card not present transaction expert
 
Bitcoin and the future of cryptocurrency
Bitcoin and the future of cryptocurrencyBitcoin and the future of cryptocurrency
Bitcoin and the future of cryptocurrency
 
Flaying the Blockchain Ledger for Fun, Profit, and Hip Hop
Flaying the Blockchain Ledger for Fun, Profit, and Hip HopFlaying the Blockchain Ledger for Fun, Profit, and Hip Hop
Flaying the Blockchain Ledger for Fun, Profit, and Hip Hop
 
Bitcoin and Blockchains
Bitcoin and BlockchainsBitcoin and Blockchains
Bitcoin and Blockchains
 
Bitcoin and Blockchains
Bitcoin and BlockchainsBitcoin and Blockchains
Bitcoin and Blockchains
 
Blockchain
BlockchainBlockchain
Blockchain
 
Ashok misra presentation
Ashok misra presentationAshok misra presentation
Ashok misra presentation
 
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
 
Crypto Presentation
Crypto PresentationCrypto Presentation
Crypto Presentation
 
Bitcoin, Cryptocurrency, & Blockchain Presentation
Bitcoin, Cryptocurrency, & Blockchain PresentationBitcoin, Cryptocurrency, & Blockchain Presentation
Bitcoin, Cryptocurrency, & Blockchain Presentation
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
What is a blockchain?
What is a blockchain? What is a blockchain?
What is a blockchain?
 
Demysitifying Bitcoin and Blockchain
Demysitifying Bitcoin and Blockchain Demysitifying Bitcoin and Blockchain
Demysitifying Bitcoin and Blockchain
 
Bitcoin and Blockchains
Bitcoin and BlockchainsBitcoin and Blockchains
Bitcoin and Blockchains
 
Bitcoin and Blockchains
Bitcoin and BlockchainsBitcoin and Blockchains
Bitcoin and Blockchains
 
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
 
Bitcoin and Blockchains
Bitcoin and BlockchainsBitcoin and Blockchains
Bitcoin and Blockchains
 
An Investigator’s Guide to Blockchain, Bitcoin and Wallet Transactions
An Investigator’s Guide to Blockchain, Bitcoin and Wallet TransactionsAn Investigator’s Guide to Blockchain, Bitcoin and Wallet Transactions
An Investigator’s Guide to Blockchain, Bitcoin and Wallet Transactions
 
Cryptocurrency, a deep dive
Cryptocurrency, a deep diveCryptocurrency, a deep dive
Cryptocurrency, a deep dive
 

Último

Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
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 Processorsdebabhi2
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
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
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 

Último (20)

Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
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
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
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
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 

Basics of Bitcoin & Mining

  • 1. Basics of Bitcoin & Mining Akhilesh Arora @akhilesharora linkedin.com/in/akhilesharora facebook.com/akhilesharora
  • 2. The Technology Behind BTC • Hashing (double-SHA256, RIPEMD-160) • Proof-of-work (hashcash proof) • Dual key encryption (Elliptical Curve Digital Signature Algorithm, Merkle Trees ) • Peer-To-Peer Networking (similar to IRC Internet Relay Chat)
  • 3. Hashing • Hashing is applying an algorithm to find a short number (digest) of a block of data • A checksum is an example hashing algorithm • Every time you apply a hash to some data, you get the same hash number • Hashes are one-way. If you have the data, you can find the hash. But, if you have the hash, you can’t figure out the data. • Hashes are useful for verifying data
  • 4. Dual-key Encryption • Fundamental to understanding virtual currencies • Encrypting with a password is single-key • Dual-key encryption uses two keys • If one key is used to encrypt, the other key can be used to decrypt • And vice-versa • The key that encrypted CANNOT decrypt
  • 5. Private and Public Keys • Although keys are symmetrical, usually one key is kept private, while the other one is considered public. Key 1 Key 2 Private
  • 6. Dual-key Encryption • Encrypt with Key 2 Key 1 Key 2 Encrypted data Unencrypted data
  • 7. Mining • Byproduct of publishing the blockchain • This is the way new Bitcoins are created – Miners publish blocks on the blockchain – As a reward for publishing blocks, they get to keep Bitcoins. (50 for the first 4 years, 25 now, halving every four years) – Miners also get transaction fees • Race to find a conforming hash every 10 minutes • Don’t do it (unless you have cash, time, and an underutilized electrical engineering skill) • Incredibly competitive • High upfront investment • Dificulty is increasing rapidly • Now requires specialized hardware (ASIC chip)
  • 8. How Bitcoins are Created • Every 10 minutes (average), miners try to solve a proof-of-work problem • The first one to solve the problem publishes a “block” on the “blockchain” that includes all transactions from the last 10 minutes • In 2009, the reward for publishing a block was 50 Bitcoins. Now it is 25. In 2016 it will be 12.5 Bitcoins • With the constant halving, eventually there will only be about 21 million Bitcoins
  • 9. How Bitcoins are NOT Created • You can’t pay to create extra coins. They can only be mined • There is no central bank to make them • The developers can’t add extra Bitcoins. Other users would rebel and not take the new version of the software (Litecoin) • Miners can’t mine extra or faster in response to market forces
  • 10. Blockchain • Miners publish a block of recent transactions every 10 minutes on average • Each block is provably related to the previous • Every transaction ever is stored in the blockchain • If there are disagreements about valid blocks, the blockchain can fork • Miners add to the longest good chain • Searching the blockchain can reveal interesting things
  • 11. Bitcoins Have Been Stolen • Some big heists have been pulled of with very large numbers of Bitcoins stolen • The thieves are usually hackers, not burglars • Generally, the stolen Bitcoins are never seen again on the blockchain • It is very important to protect your private key • Viruses can steal your Bitcoins • Other viruses can encrypt your hard drive and only decrypt if you provide Bitcoins • Botnets have mined Bitcoins
  • 12. Bitcoin Wallet Security • Keep keys offline if you can • Encrypt your wallet • Make backup copies of your wallet • If you are going to keep your savings at home, put them on a computer you ONLY use for bitcoins • Keep multiple wallets • Always receive money to a new address • Online wallets: use 2-factor authentication • Don’t spend from your “savings” address(es) • Don’t brag about how many coins you have or where you stash them
  • 13. Doom and Gloom • Some people say Bitcoin is not a currency and is doomed to fail • Almost everyone predicting the downfall of Bitcoin doesn’t really understand bitcoin • The arguments generally fall into the following categories
  • 14. Are Bitcoins a Ponzi Scheme? • Charles Ponzi in 1920s defrauded investors • Bernie Madoff did the same thing in 2008 • Very common • Ponzi Scheme: – Unreasonable returns are promised in a “confidence trick” – Early withdrawals are paid with other investor’s money • Depends on opaqueness of finances • Everyone can see your Bitcoins • There have been Bitcoin-denominated Ponzi-schemes
  • 15. Are Bitcoins a Tulip Mania? • Tulip Mania happened in Netherlands in the 1630s and is a classic asset price bubble story • If the definition of tulip mania is rapidly increasing prices, then maybe Bitcoins are a tulip mania, because the price is going up • There is no control on the supply of tulips • Tulips aren’t great as a medium of exchange. – They die – They are not easily divisible – They are not easy to value – They are not uniform – You can’t prove the value of any particular bulb • They do have intrinsic value • So do Beanie Babies
  • 16. Bitcoin Asset Bubble? • Maybe • Will the price shoot up and then fall back down rapidly? • Offshore US Dollars – Americans keep $1.5 Trillion outside the US – If they stored 5% of that in Bitcoin, BTC=$3,740 • Foreigners with US Dollars – Foreigners hold $3.4 trillion – 5% would be BTC=$8,095 • US-based prepaid debit cards $77 billion/year • Western Union makes $5B/year on money transfers • Currently, millions of dollars worth of Bitcoin are being created each day
  • 17. There Aren’t Enough Bitcoins To Go Around • 7,000 million people can’t each have one of 21 million Bitcoins • If/when they become common, few individuals will have a “full” bitcoin.
  • 18. Bitcoin Mining is Wasteful • The Hashcash algorithm is almost useless except for within Bitcoin – Must show that work was done – Must be based on the previous block – Must be easily checkable • If the algorithm is useful to someone, that someone probably has an advantage • Changing the algorithm would be very disruptive to Bitcoin • Some altcoins attempt to solve this problem, but open vulnerabilities to do so • Nobody has found an acceptable alternative
  • 19. Types of Mining Hardware 1.CPU 2.FPGA 3.ASIC 4.GPU
  • 20. CPU Mining ● Most easiest & commonly obtainable hardware. ● Problem Assosiated: Not designed for high volume of calculations. ● Can mine coins but will be astronomical and in no way to break even with COSTs involved.
  • 21.
  • 22. GPU ● More focuses upon mining due to reduced instruction set. ● AMD vs Nvidia ? AMD NVIDIA Low frequency High Frequency Parallel Procesing High High Throughput
  • 23.
  • 24. FPGA ● Field Programmable Gate Array ● Comes in BLANK state. ● Can be programmed according to the user needs.
  • 25.
  • 28. Cgminer : Supports Windows,linux,Mac AMD NVIDIA Amd accelerated-parallel- processing-app-skd opencl Cgminer -o http://pool1:port -u poolusername -p pool1password
  • 32. Why not join a Pool? ● Slush's Pool ● BTC Guild ● Eligius ● Ghash.IO
  • 33.
  • 35.
  • 36. Bibliography ● https://en.bitcoin.it/wiki/Mining_rig ● http://www.networkworld.com/article/2226506/opensource-sub net/massive-bitcoin-mining-rig-earns--8-million-per-month. html ● http://www.coinminingrigs.com/ ● http://bitcoinmagazine.com/ ● http://bitcoinmagazine.com/1524/growing-decentralization-in -the-bitcoin-economy/ ● http://dustcoin.com/ ● https://bitcointalk.org/