bitcoin mining term paper - infosecwriters.comeconomist kevin dowd who warned of “pooled mining”...

11
Cover Photo 1 [10] BITCOIN BASICS Bitcoin Miners and their Role in Bitcoin’s Future ABSTRACT This paper covers some basics of Bitcoin and some of the issues and concerns that many raise about the role Bitcoin miners will play in the future of Bitcoin. Since the inception of Bitcoin in 2009, acceptance of the protocol has grown but there are many questions that must be answered. After doing research on this topic, I have a better understanding of the Bitcoin protocol, but, I still have doubts that it will be universally excepted in the future. Bitcoin mining could be a major factor in its success. This paper is not meant to promote or criticize Bitcoin, but challenge the reader on the concept of Bitcoin mining as a viable solution for validating bitcoin transactions into the ledger system. These questions must be addressed if Bitcoin is to survive in the 21st century. Steve Ingram ICTN4040 Enterprise Info Security

Upload: others

Post on 20-Jul-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Bitcoin Mining Term paper - InfoSecWriters.comeconomist Kevin Dowd who warned of “pooled mining” being destructive to Bitcoin [11]. Mike Hearn, a former Bitcoin developer, talks

CoverPhoto1[10]

BITCOINBASICSBitcoinMinersandtheirRoleinBitcoin’sFuture

ABSTRACTThis paper covers some basics of Bitcoin and some of the issues

and concerns that many raise about the role Bitcoin miners will

play in the future of Bitcoin. Since the inception of Bitcoin in

2009, acceptance of the protocol has grown but there are many

questions that must be answered. After doing research on this

topic, I have a better understanding of the Bitcoin protocol, but, I

still have doubts that it will be universally excepted in the future.

Bitcoin mining could be a major factor in its success. This paper is

not meant to promote or criticize Bitcoin, but challenge the reader

on the concept of Bitcoin mining as a viable solution for validating

bitcoin transactions into the ledger system. These questions must

be addressed if Bitcoin is to survive in the 21st century.SteveIngramICTN4040EnterpriseInfoSecurity

Page 2: Bitcoin Mining Term paper - InfoSecWriters.comeconomist Kevin Dowd who warned of “pooled mining” being destructive to Bitcoin [11]. Mike Hearn, a former Bitcoin developer, talks

1

TableofContents

Ø History of the Bitcoin 2

Ø The Transaction 3

Ø Timestamps 4

Ø Bitcoin Mining and Centralization 5

Ø Conclusion 8

Ø Works Cited 9

Page 3: Bitcoin Mining Term paper - InfoSecWriters.comeconomist Kevin Dowd who warned of “pooled mining” being destructive to Bitcoin [11]. Mike Hearn, a former Bitcoin developer, talks

2

HistoryoftheBitcoinBefore discussing Bitcoin miners, we need some background history of Bitcoin and terms associated with

this cryptocurrency. Cryptocurrency is the structure used for the exchange of digital information

representing digital currency similar to the US dollar by using the principles of cryptography [17]. The first

cryptocurrency, the Bitcoin created in 2009, is believed to be the brainchild of Satoshi Nakamoto. In a

journal titled “Bitcoin will Bite the Dust” written by Kevin Dowd and Martin Hutchinson, they make the

claim the protocol was invented by an anonymous programmer using Nakamoto’s name as an alias [14]. In

the paper the author explains how the peer-to-peer electronic cash

system would work. Bitcoin is a payment system based on a

consensus network that uses a de-centralized peer-to-peer payment

network to exchange digital currency over the Internet [18]. For the

purpose of terminology, Bitcoin (B) refers to the protocol and bitcoin (b) refers to the currency [14]. Peer-to-

peer network in its most basic form is when two or more computers are directly connected to each other

without going through a central server. Centralization versus decentralization is often used when discussing

Bitcoin. Peer-to-peer is decentralized because anyone can participate. Bitcoin mining is centralized because

only a few can participate. A distributed consensus means that at any moment

within a block of Bitcoin transactions, all peer- to-peer nodes agree or have agreed

that a transaction is legitimate. Block chains are a set of Bitcoin transactions that are

related and point back to a genesis block [21]. These chains act as a public ledger of

past transactions and confirm transactions to the rest of the network. Hash pointers are data structures that

contain a cryptographic hash. The pointer tells us where something is, what is its value and has the value

changed. Proof-of-works is based on a concept of computing power that allows nodes to compete by

Photo2-Peer-to-Peer[2]

Photo1-SatoshiNakamoto[3]

Page 4: Bitcoin Mining Term paper - InfoSecWriters.comeconomist Kevin Dowd who warned of “pooled mining” being destructive to Bitcoin [11]. Mike Hearn, a former Bitcoin developer, talks

3

solving hash puzzles. The ultimate goal is for the competing nodes to create the next block in the block

chain. The incentives for creating the next block are payments in bitcoins. Bitcoin mining is the process of

adding the next block to the block chain [21]. This paper discusses the Bitcoin basics and explores Bitcoin

mining and its viability as a sustainable system for validating transactions in the block chain.

TheTransactionThe bitcoin is transferred during the transaction by the owner of the bitcoin. The owner digitally

signs the bitcoin using a hash of the previous transaction in the block chain along with the public

key of the next recipient. The signatures provide verification of the sender.

Figure1-Bitcoin:APeer-to-PeerElectronicCashSystem[1]

One of the issues a bitcoin transaction must solve is double-spending. This occurs when the

payee cannot verify a previous owner spent the same coin twice. Since there is no central

authority, there needs to be a process where a transaction can be agreed among participants as

Page 5: Bitcoin Mining Term paper - InfoSecWriters.comeconomist Kevin Dowd who warned of “pooled mining” being destructive to Bitcoin [11]. Mike Hearn, a former Bitcoin developer, talks

4

being legitimate. Nakamoto proposed using a timestamp server where blocks of transactions are

hashed, time-stamped and publicly disseminated to all nodes in the network. Since each time-

stamped hash uses the last time-stamp, a chain is created that verifies those before it [12].

TimestampsOne of the sources used by Nakamoto was a journal by Stuart Haber and W. Scott Stornetta

discussing the advantages of using a timestamp [12]. Figure 2 illustrates timestamping data

within an organization [13]. This same concept can be applied to block chain timestamping. In

this example, data is hashed, sent to a TSA where a Timestamp is added and a hash created from

the combination. A private key is added creating a digital signature.

Figure2-TrustedTimestamping[4]

Page 6: Bitcoin Mining Term paper - InfoSecWriters.comeconomist Kevin Dowd who warned of “pooled mining” being destructive to Bitcoin [11]. Mike Hearn, a former Bitcoin developer, talks

5

The signed timestamp and hash are sent to the requester for storage. Haber and Stornetta state the

application is not limited to data in the form of documents. Digital audio recordings, videos,

photographs or any bit pattern can benefit from timestamping [13]. This is the theory behind

Nakamoto’s concept for verifying the validity of transactions in the block chain ledger system

used with Bitcoin. In order for the timestamp server to work in the peer-to peer network,

Nakamoto proposes a proof-of work concept closely resembling Adam Back’s Hashcash [12].

For Nakamoto’s distributed timestamp server to work in the peer-to-peer network, a nonce is

introduced into the block transaction [15].

A nonce is a random number that is large in

size, used only once and is extremely

difficult to duplicate, making it a secure

method for verifying a transaction when used in proof-of-work functions [5]. The nonce is

incremented until a previously determined hash containing a set number of zero bits is calculated

[15]. Once the CPU or miner has solved the puzzle, it is added to the block chain. As more and

more CPUs solve the puzzle, the longest chain becomes the majority vote. This validates the

honest nodes and will outpace any competing nodes in the peer-to-peer network. As the block

chain grows, the chances of a dishonest node becoming part of the chain is reduced exponentially

[15]. Back’s Hashcash CPU function calculates a token that can be verified reliably but costly to

compute due to the computing power required to solve the puzzle [15]. Nakamoto states the

benefit of using this proof-of-works is simplification in verifying valid transactions [12]. A node

or user simply needs a copy of the block header or genesis block of the longest chain [12]. This

is simple enough by making queries on the peer-to-peer network until the longest chain can be

Figure3-Transactionverification[12]

Page 7: Bitcoin Mining Term paper - InfoSecWriters.comeconomist Kevin Dowd who warned of “pooled mining” being destructive to Bitcoin [11]. Mike Hearn, a former Bitcoin developer, talks

6

verified from the Merkle branch [12]. In Bitcoin, a Merkle

Tree consist of paired block transactions that are hashed to

create a single hash referred to as the Merkle Root [6]. One

only needs to know the Merkle Root hash to verify the

validity of all transactions in the block chain [6]. The proof-

of-works helps solve the trust issue present in a traditional currency system. In the United States,

we trust the value of the dollar will be worth something, giving us purchasing power. This is a

centralized system and controlled by monetary policy set by the Federal Reserve. Bitcoin is

decentralized because no central authority controls how it operates. Trust in Bitcoin is built upon

consensus among competing nodes on the network and the ledger is made public to all nodes.

BitcoinMiningandCentralization

Up to this point, we said Bitcoin was a decentralized system

where there is no central authority. One can give pros and

cons of this kind of digital currency system. Bitcoin Mining

could change all that as technology continues to evolve and the cost of computing power

increases to a point where only a few can afford to participate. In an article written by Kyle

Torpey called “Problems Associated With Bitcoin Mining Centralization May Be Overstated”, he

discusses some pitfalls that could undermine decentralization to Bitcoin. In the article, he quotes

economist Kevin Dowd who warned of “pooled mining” being destructive to Bitcoin [11]. Mike

Hearn, a former Bitcoin developer, talks about how China has devoted enormous resources into

mining to the point where he was quoted as saying “Bitcoin is controlled by the Chinese

Government” [11]. ASIC hardware and an array of mining strategies are main drivers for the

concerns of others. Torpey quotes Paul Sctorc, a Bloq Economist, who thinks the problem may

Photo3-BitcoinMiningEcosystem[7]

Figure4–MerkleTree[16]

Page 8: Bitcoin Mining Term paper - InfoSecWriters.comeconomist Kevin Dowd who warned of “pooled mining” being destructive to Bitcoin [11]. Mike Hearn, a former Bitcoin developer, talks

7

be overblown. He actually believes that mining is what makes bitcoin unique and efficient. He

said the beauty of mining is miners will always try to find the most efficient method to mine

coins. He believes China makes it harder for Bitcoin to be attacked because if mining didn’t take

place in China, it would be much cheaper for Bitcoin to be attacked [11]. He says it is more

efficient to mine in China, creating more competition and increasing the hash rate on the

network. As miners become more specialized and hardware more sophisticated, attacks to the

network become less likely [11]. Incentive to find the most

efficient strategy is driving force for Bitcoin mining. As of

April 2, 2017, one bitcoin equals $1,084.40 U.S. dollars [8].

Today a miner receives about 12.5 bitcoins when they create

a block. The number was 50, In 2012 the number was cut in

half to 25. In 2016, the number was cut in half again to 12.5.

By 2020, the number is expected to be cut in half again [9].

In the article written by Kevin Dowd and Martin Hutchinson

“Bitcoin Will Bite The Dust”, they make the argument that a

flaw prevents Bitcoin from becoming a viable option for the future. They point to competition

among miners as the reason they believe monopolies will be created because of “economies of

scale in the mining industry” [14]. According to the article, they are seeing signs that

competition is on the decline. As a result, they site the key components of decentralization,

facelessness and advantages the peer-to-peer system offer with no single point of failure will

evaporate causing users to abandon the network [14]. The reward for miners under the current

system by design will continue to half every four years. At this rate, the production of new coins

theoretically will be 0 by 2141 [14]. Also, the fact that validation of a block takes approximately

Figure5-USdollarvalueofonebitcoin[8]

Figure6-Minerblockreward[9]

Page 9: Bitcoin Mining Term paper - InfoSecWriters.comeconomist Kevin Dowd who warned of “pooled mining” being destructive to Bitcoin [11]. Mike Hearn, a former Bitcoin developer, talks

8

10 minutes, this may present point of sale issue for transactions that require instantaneous

verification [14]. This may allow other faster methods to overtake the Bitcoin protocol.

ConclusionIn closing, Bitcoin will in my opinion, be an alternative digital currency that has proven to be an

acceptable form of payment by mainstream institutions. Bitcoin has received some bad press

over the past few years as a payment method to ransomware hackers. The anonymity of bitcoin

transactions makes tracking down ransomware hackers difficult. Arguments for having a

decentralized currency that cannot be manipulated by monetary policy make Bitcoin attractive to

many. Up until 1971, the US dollar was tied to the Gold standard meaning our dollar was equal

to a fixed quantity of gold [19]. Without getting into the weeds, our dollar today is simply a legal

tender note that is based on a promise by our Government or Federal Reserve to honor as

payment for goods and services. I’m not an economist, but we are 20 trillion dollars in debt.

What happens when we are no longer able to pay the interest on this debt? Is Bitcoin the

precursor for a new currency? Interesting to ponder, but

given the fact that most of our transactions are already

digital, is it too far-fetched to believe? Bitcoin seems to

solve some of the concerns of having a central authority that

controls our monetary policy. Bitcoin mining is the unknown

variable and could force the Bitcoin protocol developers to solve the monopoly concerns of the

critics before Bitcoin can be excepted as a viable universal digital currency.

Figure7–bitcoins[20]

Page 10: Bitcoin Mining Term paper - InfoSecWriters.comeconomist Kevin Dowd who warned of “pooled mining” being destructive to Bitcoin [11]. Mike Hearn, a former Bitcoin developer, talks

9

WorksCited:

[1]"File:Bitcoin Transaction Visual.svg." Wikipedia. Wikimedia Foundation, n.d. Web. 03 Apr. 2017. <https://en.wikipedia.org/wiki/File:Bitcoin_Transaction_Visual.svg>. [2]"Peer-to-peer." Wikipedia. Wikimedia Foundation, 02 Apr. 2017. Web. 03 Apr. 2017. <https://en.wikipedia.org/wiki/Peer-to-peer>. [3]"Dorian Nakamoto Releases Statement, Calls Newsweek Report False." CoinReport. N.p., 17 Mar. 2014. Web. 03 Apr. 2017. <https://coinreport.net/dorian-nakamoto-releases-statement/>. [4]"Trusted timestamping." Wikipedia. Wikimedia Foundation, 12 Mar. 2017. Web. 03 Apr. 2017. <https://en.wikipedia.org/wiki/Trusted_timestamping>. [5]"// Encyclopedia." Nonce Definition from PC Magazine Encyclopedia. N.p., n.d. Web. 03 Apr. 2017. <http://www.pcmag.com/encyclopedia/term/48060/nonce>. [6]"Merkle Tree." Merkle Tree - Bitcoin Glossary. N.p., n.d. Web. 03 Apr. 2017. <https://bitcoin.org/en/glossary/merkle-tree>. [7]Torpey, Kyle. "Problems Associated With Bitcoin Mining Centralization May Be Overstated." Bitcoin Magazine. N.p., 26 Sept. 2016. Web. 03 Apr. 2017. <https://bitcoinmagazine.com/articles/problems-associated-with-bitcoin-mining-centralization-may-be-overstated-1474917259/>. [8]Blockchain. "Blockchain Markets." Bitcoin News: Live Bitcoin Exchange Rate - Blockchain. N.p., n.d. Web. 03 Apr. 2017. <https://blockchain.info/markets>. [9]Tuwiner, Jordan, and Nick. "7 Reasons Bitcoin Mining is NOT Profitable or Worth It in 2017." Bitcoin Worldwide. N.p., n.d. Web. 03 Apr. 2017. <https://bitcoinworldwide.com/mining/profitability/>. [10]"Bitcoin mining the hard way: the algorithms, protocols, and bytes." Bitcoin mining the hard way: the algorithms, protocols, and bytes. N.p., n.d. Web. 03 Apr. 2017. <http://www.righto.com/2014/02/bitcoin-mining-hard-way-algorithms.html>. [11]Torpey, Kyle. "Problems Associated With Bitcoin Mining Centralization May Be Overstated." Bitcoin Magazine. N.p., 26 Sept. 2016. Web. 03 Apr. 2017. <https://bitcoinmagazine.com/articles/problems-associated-with-bitcoin-mining-centralization-may-be-overstated-1474917259/>. [12] Nakomoto, Satoshi. "Bitcoin: A Peer-to-Peer Electronic Cash System." N.p., n.d. Web. 3 Apr. 2017*. <https://bitcoin.org/bitcoin.pdf>.

Page 11: Bitcoin Mining Term paper - InfoSecWriters.comeconomist Kevin Dowd who warned of “pooled mining” being destructive to Bitcoin [11]. Mike Hearn, a former Bitcoin developer, talks

10

[13] Haber, Stuart, and W.scott Stornetta. "How to time-stamp a digital document." Journal of Cryptology 3.2 (1991): n. pag. Web*. [14] Dowd, Kevin , and Martin Hutchinson. "Bitcoin Will Bite The Dust." Cato Journal, Vol. 35 No. 2, n.d. Web. 3 Apr. 2017*. <https://object.cato.org/sites/cato.org/files/serials/files/cato-journal/2015/5/cj-v35n2-12.pdf>. [15] Back, Adam. "Hashcash - A Denial of Service Counter-Measure." Hashcash.pdf. N.p., n.d. Web. 3 Apr. 2017*. <http://www.hashcash.org/papers/hashcash.pdf>. [16]Lorenzo Alberton, CTO at DataSift, Inc. Follow. "Modern Algorithms and Data Structures - 1. Bloom Filters, Merkle Trees." LinkedIn SlideShare. N.p., 17 Apr. 2011. Web. 03 Apr. 2017. <https://www.slideshare.net/quipo/modern-algorithms-and-data-structures-1-bloom-filters-merkle-trees>.[17]"What is Cryptocurrency?" CryptoCoinsNews. N.p., 29 Sept. 2016. Web. 03 Apr. 2017. <https://www.cryptocoinsnews.com/cryptocurrency/>.[18]"Frequently Asked Questions." FAQ - Bitcoin. N.p., n.d. Web. 03 Apr. 2017. <https://bitcoin.org/en/faq#what-is-bitcoin>.[19]"What Really Backs the U.S. Dollar?" Buy Gold and Silver Safely at 1% Over Wholesale Cost. N.p., n.d. Web. 03 Apr. 2017. <http://buygoldandsilversafely.com/gold/what-really-backs-the-us-dollar/>.[20]Tuwiner, Jordan. "What is Bitcoin Mining and How Does it Work?" Bitcoin Worldwide. N.p., n.d. Web. 03 Apr. 2017. <https://bitcoinworldwide.com/mining/>. [21] "Some Bitcoin words you might hear." Vocabulary - Bitcoin. N.p., n.d. Web. 04 Apr. 2017. <https://bitcoin.org/en/vocabulary>.