4. â 2007: According to legend, Satoshi Nakamoto began working on the Bitcoin concept in 2007.
â August, 2008: Bitcoin.org is born! The domain was registered at anonymousspeech.com, a
site that allows users to anonymously register domain names and currently accepts Bitcoins.
â October, 2008: Nakamoto publishes a design paper through a metzdowd.com
cryptography mailing list that describes the Bitcoin currency and solves the problem of double
spending so as to prevent the currency from being copied.
â November, 2008: The Bitcoin project is registered on SourceForge.net, a community
collaboration website focused on the development and distribution of open source software.
â January 3, 2009: Block 0, the genesis block, is established at 18:15:05 GMT.
â January 9, 2009: Version 0.1 is released!
â Now?
5. Now?
As of 1512134976 (Fri, 1 Dec 2017)
1 Bitcoin equals $10,003.56
# of Bitcoin Transactions in last 24 Hours: 3,77,051
https://blockchain.info/charts/
12. Cryptography!
It is the SCIENCE OF HIDING THINGS!
Wiki: Cryptography is the practice and study of techniques for secure
communication in the presence of third parties called adversaries.
Types:
â Symmetric Key Cryptography
â Asymmetric Key Cryptography
13. Digital Signatures!
Wiki: A digital signature is a mathematical scheme for demonstrating the
authenticity of digital messages or documents.
15. Wallets, Bitcoin Address and Digital Keys!
Wallet: The digital keys are not actually stored in the network, but are instead
created and stored by users in a file, or simple database, called a wallet.
In most cases, a bitcoin address is generated from and corresponds to a public
key.
Think of the public key as similar to a bank account number and the private key as
similar to the secret PIN.
16. Private Key
â A private key is simply a number, picked at random.
â Used to create signatures that are required to spend bitcoins.
â The private key must remain secret at all times, because revealing it to third
parties is equivalent to giving them control over the bitcoins secured by that
key.
â The private key must also be backed up and protected from accidental loss,
because if itâs lost it cannot be recovered and the funds secured by it are
forever lost, too.
â In 2013 one user claimed to have lost 7,500 bitcoins, worth $49433062.5 at the time, when he
accidentally discarded a hard drive containing his private key. A backup of his key(s) might
have prevented this.
17. Public Key
The public key is calculated from the private key using elliptic curve multiplication,
which is irreversible:
Where
â k is the private key
â K is the resulting public key
â G is a constant point called the generator point
A private key can be converted into a public key, but a public key cannot be
converted back into a private key because the math only works one way.
18. Bitcoin Addresses
â It is a string of digits and characters that can be shared with anyone.
â Addresses are produced from Public Keys through the use of one-way
cryptographic hashing.
â Addresses produced from public keys consist of a string of numbers and
letters, beginning with the digit â1â. Hereâs an example of a bitcoin address:
3AHLGJo1JWRYU77z27CeaGN4xtdZKjgYSe (Sudâs Bitcoin Address)
19. Why Bitcoins?
â It is a Peer to Peer System.
â Transactions without any Intermediaries(No Fees/Taxes/Instant Transfers).
â The transactions are verified and are recorded in a Distributed Ledger.
â Backed by a robust technology of BLOCKCHAINS!
20. Blockchain System
â The blockchain is a Public Ledger that records bitcoin transactions.
â No Trusted Central Authority required.
â Transactions are Broadcasted over the network.
â Network nodes can Validate The Transactions.
â Transactions are then added to Their Copy Of The Ledger, and then
broadcast these ledger additions to other nodes.
â Naturally takes care of Double Spending Problem.
21. Technical Aspects of Blockchain
â Ordered, Back Linked-list Data Structure.
â It contains list of Blocks.
â Each block contains the hash of the previous block.
â The first block of blockchain is known as Genesis Block.
22. Block
A Block is like a page of the ledger. Each block contains the following:
â The Proof-Of-Work
â Reference to the previous block.
â The record of some or all recent transactions.
â Coinbase transactions is always the first transaction available in every
block.
â Timestamp, Nounce and Version.
â The number of Bitcoins generated per block starts at 50 and is halved every
210,000 blocks (about four years).
24. Proof-Of-Work: Hash Darling Hash!
â The problem is to compute the hash corresponding to Block and the reward is
~12.5 BTC(53,53,486.66) is awarded to the miner.
â Why don't we mine??
25. Try Harder for Proof.txt Proof of Work!
â The bitcoin protocol deliberately makes it more difficult to prevent easy
mining.
â The BTC protocol will not accept plain hash. The hash must comply to
certain rules i.e. hash of block content along with the nonce, is
numerically smaller than the network's difficulty target.
â Miners arenât supposed to meddle with the transaction data in a block, but
they must change the data theyâre using to create a different hash. They do
this using another, random piece of data called a ânonceâ(Non-Sense).
â Hash -> Change Nonce -> Repeat!
26. How Difficult it is to Mine?
It's like trying to flip 53 coins at
once and have them all come up
heads. Each time you try, your
chances of success are the same.
https://en.bitcoin.it/wiki/Block
27. Time For Facts!
â Total Number of BTC: 21 Million
â As of 30th March 2015: 1/3rd BTC are left to be mined.
â The 21 Million BTC are planned to be mined by 2140.
â For this, The difficulty of the mathematical problem is automatically adjusted
(6 blocks per hour) by the network.
â Every 2016 blocks (solved in about two weeks), all Bitcoin clients compare
the actual number created with this goal and modify the target by the
percentage that it varied.
â The network comes to a consensus and automatically increases (or
decreases) the difficulty of generating blocks.
â The bitcoin protocol specifies that the reward for adding a block will be
halved every 210,000 blocks (approximately every four years) 50 -> 25
->12.5
29. Bitcoin Transaction
Transactions consist of one or more inputs and one or more outputs. To prevent
double spending, each input must refer to a previous unspent output in the
blockchain.
For Ex: If Priyanshu sends some bitcoins to Sudarshan, that transaction will have
three pieces of information:
â Input: This is a record of which bitcoin address was used to send the bitcoins
to Priyanshu in the first place (he received them from his friend, Vinayaka).
â Amount: This is the amount of bitcoins that Priyanshu is sending to
Sudharshan.
â Output: This is Sudarshanâs bitcoin address.
30. When Sum of inputs (coins used to pay) Exceed the
intended sum of payments?
In such a case, an additional output is used, returning the change back to the
payer.
If Priyanshu receives BTC from his friends say 1 from Navneeta, 2 from Vikas and
3 from Sijo then They donât sum up instead they simply sit there as different
transaction records.
To make transaction of 1.5 BTC his wallet automatically creates two outputs for the
transaction: 1.5 BTC to Sudharshan, and 0.5 BTC to a new address, which it
created for Priyanshu to hold her change from Sudharshan.
32. Letâs Talk About Security!!
The proof-of-work system and the chaining of blocks, makes modifications of the
blockchain extremely hard:
Since each block contains a cryptographic hash of the previous block using the
SHA-256 hashing algorithm. An attacker must modify all subsequent blocks in
order for the modifications of one block to be accepted.
33.
34. Thanks to the References
â Mastering Bitcoin by Andreas M. Antonopoulos(
https://www.safaribooksonline.com/library/view/mastering-bitcoin/9781491902
639/ch04.html)
â Bitcoin: A Peer-to-Peer Electronic Cash System (https://bitcoin.org/bitcoin.pdf)
â The Blockchain - The Technology behind
Bitcoin(https://www.slideshare.net/JrmeKehrli/the-blockchain-the-technology-
behind-bitcoin)
â BITCOIN FORENSICS : Bsides Delhi Conference(
https://www.slideshare.net/anupriti/bitcoin-forensics-bsides-delhi-conference?l
ipi=urn%3Ali%3Apage%3Ad_flagship3_messaging%3BFtHteO%2BdRZO%2
F9vnZeXHAgg%3D%3D)