Bitcoin network

Bitcoin network

The bitcoin network is a peer-to-peer payment network that operates on a cryptographic protocol. Users send and receive bitcoins, the units of currency, by broadcasting digitally signed messages to the network using bitcoin cryptocurrency wallet software. Transactions are recorded into a distributed, replicated public database known as the blockchain, with consensus achieved by a proof-of-work system called “mining”. The protocol was designed in two thousand eight and released in two thousand nine as open source software by Satoshi Nakamoto, the name or pseudonym of the original developer/developer group.

The network requires minimal structure to share transactions. An ad hoc decentralized network of volunteers is sufficient. Messages are broadcast on a best effort basis, and knots can leave and rejoin the network at will. Upon reconnection, a knot downloads and verifies fresh blocks from other knots to accomplish its local copy of the blockchain. [1] [Two]

Contents

A bitcoin is defined by a sequence of digitally signed transactions that began with the bitcoin’s creation, as a block prize. The holder of a bitcoin transfers it by digitally signing it over to the next possessor using a bitcoin transaction, much like endorsing a traditional bank check. A payee can examine each previous transaction to verify the chain of ownership. Unlike traditional check endorsements, bitcoin transactions are irreversible, which eliminates risk of chargeback fraud. [Three]

Albeit it is possible to treat bitcoins individually, it would be unwieldy to require a separate transaction for every bitcoin in a transaction. Transactions are therefore permitted to contain numerous inputs and outputs, [Four] permitting bitcoins to be split and combined. Common transactions will have either a single input from a larger previous transaction or numerous inputs combining smaller amounts, and one or two outputs: one for the payment, and one returning the switch, if any, to the sender. Any difference inbetween the total input and output amounts of a transaction goes to miners as a transaction fee. [1]

To form a distributed timestamp server as a peer-to-peer network, bitcoin uses a proof-of-work system. [Two] The work in this system is what is often referred to as bitcoin mining. The signature is discovered rather than provided by skill. [Five] This process is energy intensive. [6] Violet wand can consume more than 90% of operating costs for miners. [7] A data center in China, planned mostly for bitcoin mining, is expected to require up to one hundred thirty five MW of power. [8]

The rule of requiring a proof-of-work to provide the signature for the blockchain was Satoshi Nakamoto’s key innovation. [Five] The mining process involves identifying a block that when hashed twice with SHA-256, yields a number smaller than the given difficulty target. While the average work required increases in inverse proportion to the difficulty target, a hash can always be verified by executing a single round of dual SHA-256.

For the bitcoin timestamp network, a valid “proof-of-work” is found by incrementing a nonce until a value is found that gives the block’s hash the required number of leading zero bits. Once the hashing has produced a valid result, the block cannot be switched without redoing the work. As later blocks are chained after it, the work to switch the block would include redoing the work for each subsequent block.

Majority consensus in bitcoin is represented by the longest chain, which required the greatest amount of effort to produce. If a majority of computing power is managed by fair knots, the fair chain will grow fastest and outpace any contesting chains. To modify a past block, an attacker would have to redo the proof-of-work of that block and all blocks after it and then surpass the work of the fair knots. The probability of a slower attacker catching up diminishes exponentially as subsequent blocks are added. [Two]

To compensate for enlargening hardware speed and varying interest in running knots over time, the difficulty of finding a valid hash is adjusted toughly every two weeks. If blocks are generated too quickly, the difficulty increases and more hashes are required to make a block and to generate fresh bitcoins. [Two]

Difficulty Edit

Bitcoin mining is a competitive endeavor. An “arms race” has been observed through the various hashing technologies that have been used to mine bitcoins: basic CPUs, high-end GPUs common in many gaming computers, FPGAs and ASICs all have been used, each reducing the profitability of the less-specialized technology. Bitcoin-specific ASICs are now available. [9] As bitcoins become more difficult to mine, computer hardware manufacturing companies have seen an increase in sales of high-end products. [Ten]

Computing power is often bundled together or “pooled” to reduce variance in miner income. Individual mining equipments often have to wait for long periods to confirm a block of transactions and receive payment. In a pool, all participating miners get paid every time a participating server solves a block. This payment depends on the amount of work an individual miner contributed to help find that block. [11]

Bitcoin data centers choose to keep a low profile, are dispersed around the world and tend to cluster around the availability of cheap tens unit. [7]

Energy consumption Edit

In 2013, Mark Gimein estimated electro-therapy use to be about 40.9 megawatts (982 megawatt-hours a day). [12] In 2014, Hass McCook estimated 80.7 megawatts (80,666 kW). [13] As of 2015, The Economist estimated that even if all miners used modern facilities, the combined electro-stimulation consumption would be 166.7 megawatts (1.46 terawatt-hours per year). [14]

Journalist Matt O’Brien opined that it is not evident whether bitcoin is lowering transaction costs, since the costs are transformed into pollution costs, which he characterizes as “environmental spillovers on everyone else, or what economists call negative externalities.” [15]

To lower the costs, bitcoin miners have set up in places like Iceland where geothermal energy is cheap and cooling Arctic air is free. [15] Chinese bitcoin miners are known to use hydroelectric power in Tibet to reduce tens unit costs. [16]

Process Edit

A rough overview of the process to mine bitcoins is: [Two]

  1. Fresh transactions are broadcast to all knots.
  2. Each miner knot collects fresh transactions into a block.
  3. Each miner knot works on finding a proof-of-work code for its block.
  4. When a knot finds a proof-of-work, it broadcasts the block to all knots.
  5. Receiving knots validate the transactions it holds and accept only if all are valid.
  6. Knots express their acceptance by moving to work on the next block, incorporating the hash of the accepted block.

Mined bitcoins Edit

By convention, the very first transaction in a block is a special transaction that produces fresh bitcoins possessed by the creator of the block. This is the incentive for knots to support the network. [1] It provides the way to budge fresh bitcoins into circulation. The prize for mining halves every 210,000 blocks. It commenced at fifty bitcoin, dropped to twenty five in late two thousand twelve and to 12.Five bitcoin in 2016. [17] This halving process is programmed to proceed for sixty four times before fresh coin creation ceases. [17]

Various potential attacks on the bitcoin network and its use as a payment system, real or theoretical, have been considered. The bitcoin protocol includes several features that protect it against some of those attacks, such as unauthorized spending, dual spending, forging bitcoins, and tampering with the blockchain. Other attacks, such as theft of private keys, require due care by users. [Legal] [Nineteen] [20] [21] [22] [23] [24]

Unauthorized spending Edit

Unauthorized spending is mitigated by bitcoin’s implementation of public-private key cryptography. For example; when Alice sends a bitcoin to Bob, Bob becomes the fresh proprietor of the bitcoin. Eve observing the transaction might want to spend the bitcoin Bob just received, but she cannot sign the transaction without the skill of Bob’s private key. [Nineteen]

Dual spending Edit

A specific problem that an internet payment system must solve is double-spending, whereby a user pays the same coin to two or more different recipients. An example of such a problem would be if Eve sent a bitcoin to Alice and later sent the same bitcoin to Bob. The bitcoin network guards against double-spending by recording all bitcoin transfers in a ledger (the blockchain) that is visible to all users, and ensuring for all transferred bitcoins that they haven’t been previously spent. [Nineteen] :Four

Race attack Edit

If Eve offers to pay Alice a bitcoin in exchange for goods and signs a corresponding transaction, it is still possible that she also creates a different transaction at the same time sending the same bitcoin to Bob. By the rules, the network accepts only one of the transactions. This is called a race attack, since there is a race which transaction will be accepted very first. Alice can reduce the risk of race attack stipulating that she will not supply the goods until Eve’s payment to Alice emerges in the blockchain. [20]

A variant race attack (which has been called a Finney attack by reference to Hal Finney) requires the participation of a miner. Instead of sending both payment requests (to pay Bob and Alice with the same coins) to the network, Eve issues only Alice’s payment request to the network, while the accomplice attempts to mine a block that includes the payment to Bob instead of Alice. There is a positive probability that the rogue miner will succeed before the network, in which case the payment to Alice will be rejected. As with the plain race attack, Alice can reduce the risk of a Finney attack by waiting for the payment to be included in the blockchain. [21]

History modification Edit

Each block that is added to the blockchain, beginning with the block containing a given transaction, is called a confirmation of that transaction. Ideally, merchants and services that receive payment in bitcoin should wait for at least one confirmation to be distributed over the network, before assuming that the payment was done. The more confirmations that the merchant waits for, the more difficult it is for an attacker to successfully switch roles the transaction in a blockchain—unless the attacker controls more than half the total network power, in which case it is called a 51% attack. [22]

Deanonymisation of clients Edit

Deanonymisation is a strategy in data mining in which anonymous data is cross-referenced with other sources of data to re-identify the anonymous data source. Along with transaction graph analysis, which may expose connections inbetween bitcoin addresses (pseudonyms), [Legitimate] [23] there is a possible attack [24] which links a user’s pseudonym to its IP address. If the peer is using Tor, the attack includes a method to separate the peer from the Tor network, forcing them to use their real IP address for any further transactions. The attack makes use of bitcoin mechanisms of relaying peer addresses and anti-DoS protection. The cost of the attack on the utter bitcoin network is under €1500 per month. [24]

Each miner can choose which transactions are included in or exempted from a block. [25] A greater number of transactions in a block does not equate to greater computational power required to solve that block. [25]

Upon receiving a fresh transaction a knot must validate it: in particular, verify that none of the transaction’s inputs have been previously spent. To carry out that check the knot needs to access the blockchain. Any user who does not trust his network neighbors, should keep a utter local copy of the blockchain, so that any input can be verified.

As noted in Nakamoto’s whitepaper, it is possible to verify bitcoin payments without running a utter network knot (simplified payment verification, SPV). A user only needs a copy of the block headers of the longest chain, which are available by querying network knots until it is apparent that the longest chain has been obtained. Then, get the Merkle branch linking the transaction to its block. Linking the transaction to a place in the chain demonstrates that a network knot has accepted it, and blocks added after it further establish the confirmation. [1]

While it is possible to store any digital file in the blockchain, the larger the transaction size, the larger any associated fees become. [26] Various items have been embedded, including URLs to child pornography, an ASCII art pic of Ben Bernanke, material from the Wikileaks cables, prayers from bitcoin miners, and the original bitcoin whitepaper. [27]

The use of bitcoin by criminals has attracted the attention of financial regulators, legislative figures, law enforcement, and the media. [28] The FBI ready an intelligence assessment, [29] the SEC has issued a pointed warning about investment schemes using virtual currencies, [28] and the U.S. Senate held a hearing on virtual currencies in November 2013. [30]

Several news outlets have asserted that the popularity of bitcoins hinges on the capability to use them to purchase illegal goods. [31] [32] In 2014, researchers at the University of Kentucky found “sturdy evidence that computer programming enthusiasts and illegal activity drive interest in bitcoin, and find limited or no support for political and investment motives.” [33]

Black markets Edit

A CMU researcher estimated that in 2012, Four.5% to 9% of all transactions on all exchanges in the world were for drug trades on a single dark web drugs market, Silk Road. [34] Child pornography, [35] murder-for-hire services, [36] and weapons [37] are also allegedly available on black market sites that sell in bitcoin. Due to the anonymous nature and the lack of central control on these markets, it is hard to know whether the services are real or just attempting to take the bitcoins. [38]

Several deep web black markets have been shut by authorities. In October two thousand thirteen Silk Road was shut down by U.S. law enforcement [39] [40] [41] leading to a short-term decrease in the value of bitcoin. [42] In 2015, the founder of the site was sentenced to life in prison. [43] Alternative sites were soon available, and in early two thousand fourteen the Australian Broadcasting Corporation reported that the closure of Silk Road had little influence on the number of Australians selling drugs online, which had actually enhanced. [44] In early 2014, Dutch authorities closed Utopia, an online illegal goods market, and seized nine hundred bitcoins. [45] In late 2014, a joint police operation eyed European and American authorities seize bitcoins and close four hundred deep web sites including the illicit goods market Silk Road Two.0. [46] Law enforcement activity has resulted in several convictions. In December 2014, Charlie Shrem was sentenced to two years in prison for indirectly helping to send $1 million to the Silk Road drugs site, [47] and in February 2015, its founder, Ross Ulbricht, was convicted on drugs charges and faces a life sentence. [48]

Some black market sites may seek to steal bitcoins from customers. The bitcoin community branded one site, Sheep Marketplace, as a scam when it prevented withdrawals and shut down after an alleged bitcoins theft. [49] In a separate case, escrow accounts with bitcoins belonging to patrons of a different black market were hacked in early 2014. [50]

According to the Internet Witness Foundation, a UK-based charity, bitcoin is used to purchase child pornography, and almost two hundred such websites accept it as payment. Bitcoin isn’t the foot way to purchase child pornography online, as Troels Oertling, head of the cybercrime unit at Europol, states, “Ukash and Paysafecard. have [also] been used to pay for such material.” However, the Internet Observe Foundation lists around thirty sites that exclusively accept bitcoins. [35] Some of these sites have shut down, such as a deep web crowdfunding website that aimed to fund the creation of fresh child porn. [51] [ better source needed ] Furthermore, hyperlinks to child porn websites have been added to the blockchain as arbitrary data can be included when a transaction is made. [52] [53]

Malware Edit

Malware stealing Edit

Some malware can steal private keys for bitcoin wallets permitting the bitcoins themselves to be stolen. The most common type searches computers for cryptocurrency wallets to upload to a remote server where they can be cracked and their coins stolen. [54] Many of these also log keystrokes to record passwords, often avoiding the need to crack the keys. [54] A different treatment detects when a bitcoin address is copied to a clipboard and quickly substitutes it with a different address, tricking people into sending bitcoins to the wrong address. [55] This method is effective because bitcoin transactions are irreversible. [56] :57

One virus, spread through the Pony botnet, was reported in February two thousand fourteen to have stolen up to $220,000 in cryptocurrencies including bitcoins from eighty five wallets. [57] Security company Trustwave, which tracked the malware, reports that its latest version was able to steal thirty types of digital currency. [58]

A type of Mac malware active in August 2013, Bitvanity posed as a vanity wallet address generator and stole addresses and private keys from other bitcoin client software. [59] A different trojan for macOS, called CoinThief was reported in February two thousand fourteen to be responsible for numerous bitcoin thefts. [59] The software was hidden in versions of some cryptocurrency apps on Download.com and MacUpdate. [59]

Ransomware Edit

Some ransomware request payment in bitcoin. One program called CryptoLocker, typically spread through legitimate-looking email attachments, encrypts the hard drive of an infected computer, then displays a countdown timer and requests a ransom, usually two bitcoins, to decrypt it. [60] Massachusetts police said they paid a two bitcoin ransom in November 2013, worth more than $1,300 at the time, to decrypt one of their hard drives. [61] Linkup, a combination ransomware and bitcoin mining program that surfaced in February 2014, disables internet access and requests credit card information to restore it, while secretly mining bitcoins. [60] Bitcoin is presently being used as the ransom medium of choice in the WannaCry ransomware hack hitting many buildings in Asia and Europe. [62]

Unauthorized mining Edit

In June 2011, Symantec warned about the possibility that botnets could mine covertly for bitcoins. [63] Malware used the parallel processing capabilities of GPUs built into many modern movie cards. [64] Albeit the average PC with an integrated graphics processor is virtually worthless for bitcoin mining, ems of thousands of PCs laden with mining malware could produce some results. [65]

In mid-August 2011, bitcoin mining botnets were detected, [66] and less than three months later, bitcoin mining trojans had infected Mac OS X. [67]

In April 2013, electronic sports organization E-Sports Entertainment was accused of hijacking 14,000 computers to mine bitcoins; the company later lodged the case with the State of Fresh Jersey. [68]

German police arrested two people in December two thousand thirteen who customized existing botnet software to perform bitcoin mining, which police said had been used to mine at least $950,000 worth of bitcoins. [Sixty-nine]

For four days in December two thousand thirteen and January 2014, Yahoo! Europe hosted an ad containing bitcoin mining malware that infected an estimated two million computers. [70] The software, called Sefnit, was very first detected in mid-2013 and has been bundled with many software packages. Microsoft has been removing the malware through its Microsoft Security Essentials and other security software. [71]

Several reports of employees or students using university or research computers to mine bitcoins have been published. [72]

Money laundering Edit

Bitcoins may not be ideal for money laundering, because all transactions are public. [73] Authorities, including the European Banking Authority [74] the FBI, [29] and the Financial Act Task Force of the G7 [75] have voiced concerns that bitcoin may be used for money laundering. In early 2014, an operator of a U.S. bitcoin exchange, Charlie Shrem, was arrested for money laundering. [76] Subsequently, he was sentenced to two years in prison for “aiding and abetting an unlicensed money transmitting business”. [47] A report by UK’s Treasury and Home Office named “UK national risk assessment of money laundering and terrorist financing” (2015 October) found that, of the twelve methods examined in the report, bitcoin carries the lowest risk of being used for money laundering, with the most common money laundering method being the banks. [77]

Ponzi scheme Edit

In a Ponzi scheme that utilized bitcoins, The Bitcoin Savings and Trust promised investors up to seven percent weekly interest, and raised at least 700,000 bitcoins from two thousand eleven to 2012. [78] In July two thousand thirteen the U.S. Securities and Exchange Commission charged the company and its founder in two thousand thirteen “with defrauding investors in a Ponzi scheme involving bitcoin”. [78] In September two thousand fourteen the judge fined Bitcoin Savings & Trust and its possessor $40 million for operating a bitcoin Ponzi scheme. [79]

Theft Edit

There have been many cases of bitcoin theft. [80] One way this is accomplished involves a third party accessing the private key to a victim’s bitcoin address, [81] or of an online wallet. [82] If the private key is stolen, all the bitcoins from the compromised address can be transferred. In that case, the network does not have any provisions to identify the thief, block further transactions of those stolen bitcoins, or comeback them to the legitimate holder. [83]

Theft also occurs at sites where bitcoins are used to purchase illicit goods. In late November 2013, an estimated $100 million in bitcoins were allegedly stolen from the online illicit goods marketplace Sheep Marketplace, which instantly closed. [84] Users tracked the coins as they were processed and converted to cash, but no funds were recovered and no culprits identified. [84] A different black market, Silk Road Two, stated that during a February two thousand fourteen hack, bitcoins valued at $Two.7 million were taken from escrow accounts. [50]

Sites where users exchange bitcoins for cash or store them in “wallets” are also targets for theft. Inputs.io, an Australian wallet service, was hacked twice in October two thousand thirteen and lost more than $1 million in bitcoins. [85] In late February two thousand fourteen Mt. Gox, one of the largest virtual currency exchanges, filed for bankruptcy in Tokyo amid reports that bitcoins worth $350 million had been stolen. [86] Flexcoin, a bitcoin storage specialist based in Alberta, Canada, shut down on March two thousand fourteen after telling it discovered a theft of about $650,000 in bitcoins. [87] Poloniex, a digital currency exchange, reported on March two thousand fourteen that it lost bitcoins valued at around $50,000. [88] In January two thousand fifteen UK-based bitstamp, the third busiest bitcoin exchange globally, was hacked and $Five million in bitcoins were stolen. [89] February two thousand fifteen witnessed a Chinese exchange named BTER lose bitcoins worth almost $Two million to hackers. [90]

A major bitcoin exchange, Bitfinex, was hacked and almost 120,000 bitcoins (around $60m) was stolen in 2016. Bitfinex was compelled to suspend its trading. The theft is the 2nd largest bitcoin heist ever, dwarfed only by Mt. Gox theft in 2014. According to Forbes, “All of Bitfinex’s customers. will stand to lose money. The company has announced a haircut of 36.067% across the board.” [91]

Bitcoin network

Bitcoin network

The bitcoin network is a peer-to-peer payment network that operates on a cryptographic protocol. Users send and receive bitcoins, the units of currency, by broadcasting digitally signed messages to the network using bitcoin cryptocurrency wallet software. Transactions are recorded into a distributed, replicated public database known as the blockchain, with consensus achieved by a proof-of-work system called “mining”. The protocol was designed in two thousand eight and released in two thousand nine as open source software by Satoshi Nakamoto, the name or pseudonym of the original developer/developer group.

The network requires minimal structure to share transactions. An ad hoc decentralized network of volunteers is sufficient. Messages are broadcast on a best effort basis, and knots can leave and rejoin the network at will. Upon reconnection, a knot downloads and verifies fresh blocks from other knots to finish its local copy of the blockchain. [1] [Two]

Contents

A bitcoin is defined by a sequence of digitally signed transactions that began with the bitcoin’s creation, as a block prize. The possessor of a bitcoin transfers it by digitally signing it over to the next holder using a bitcoin transaction, much like endorsing a traditional bank check. A payee can examine each previous transaction to verify the chain of ownership. Unlike traditional check endorsements, bitcoin transactions are irreversible, which eliminates risk of chargeback fraud. [Three]

Albeit it is possible to treat bitcoins individually, it would be unwieldy to require a separate transaction for every bitcoin in a transaction. Transactions are therefore permitted to contain numerous inputs and outputs, [Four] permitting bitcoins to be split and combined. Common transactions will have either a single input from a larger previous transaction or numerous inputs combining smaller amounts, and one or two outputs: one for the payment, and one returning the switch, if any, to the sender. Any difference inbetween the total input and output amounts of a transaction goes to miners as a transaction fee. [1]

To form a distributed timestamp server as a peer-to-peer network, bitcoin uses a proof-of-work system. [Two] The work in this system is what is often referred to as bitcoin mining. The signature is discovered rather than provided by skill. [Five] This process is energy intensive. [6] Electric current can consume more than 90% of operating costs for miners. [7] A data center in China, planned mostly for bitcoin mining, is expected to require up to one hundred thirty five MW of power. [8]

The rule of requiring a proof-of-work to provide the signature for the blockchain was Satoshi Nakamoto’s key innovation. [Five] The mining process involves identifying a block that when hashed twice with SHA-256, yields a number smaller than the given difficulty target. While the average work required increases in inverse proportion to the difficulty target, a hash can always be verified by executing a single round of dual SHA-256.

For the bitcoin timestamp network, a valid “proof-of-work” is found by incrementing a nonce until a value is found that gives the block’s hash the required number of leading zero bits. Once the hashing has produced a valid result, the block cannot be switched without redoing the work. As later blocks are chained after it, the work to switch the block would include redoing the work for each subsequent block.

Majority consensus in bitcoin is represented by the longest chain, which required the greatest amount of effort to produce. If a majority of computing power is managed by fair knots, the fair chain will grow fastest and outpace any challenging chains. To modify a past block, an attacker would have to redo the proof-of-work of that block and all blocks after it and then surpass the work of the fair knots. The probability of a slower attacker catching up diminishes exponentially as subsequent blocks are added. [Two]

To compensate for enhancing hardware speed and varying interest in running knots over time, the difficulty of finding a valid hash is adjusted toughly every two weeks. If blocks are generated too quickly, the difficulty increases and more hashes are required to make a block and to generate fresh bitcoins. [Two]

Difficulty Edit

Bitcoin mining is a competitive endeavor. An “arms race” has been observed through the various hashing technologies that have been used to mine bitcoins: basic CPUs, high-end GPUs common in many gaming computers, FPGAs and ASICs all have been used, each reducing the profitability of the less-specialized technology. Bitcoin-specific ASICs are now available. [9] As bitcoins become more difficult to mine, computer hardware manufacturing companies have seen an increase in sales of high-end products. [Ten]

Computing power is often bundled together or “pooled” to reduce variance in miner income. Individual mining equipments often have to wait for long periods to confirm a block of transactions and receive payment. In a pool, all participating miners get paid every time a participating server solves a block. This payment depends on the amount of work an individual miner contributed to help find that block. [11]

Bitcoin data centers choose to keep a low profile, are dispersed around the world and tend to cluster around the availability of cheap electric current. [7]

Energy consumption Edit

In 2013, Mark Gimein estimated electric current use to be about 40.9 megawatts (982 megawatt-hours a day). [12] In 2014, Hass McCook estimated 80.7 megawatts (80,666 kW). [13] As of 2015, The Economist estimated that even if all miners used modern facilities, the combined electro-therapy consumption would be 166.7 megawatts (1.46 terawatt-hours per year). [14]

Journalist Matt O’Brien opined that it is not evident whether bitcoin is lowering transaction costs, since the costs are transformed into pollution costs, which he characterizes as “environmental spillovers on everyone else, or what economists call negative externalities.” [15]

To lower the costs, bitcoin miners have set up in places like Iceland where geothermal energy is cheap and cooling Arctic air is free. [15] Chinese bitcoin miners are known to use hydroelectric power in Tibet to reduce electrical play costs. [16]

Process Edit

A rough overview of the process to mine bitcoins is: [Two]

  1. Fresh transactions are broadcast to all knots.
  2. Each miner knot collects fresh transactions into a block.
  3. Each miner knot works on finding a proof-of-work code for its block.
  4. When a knot finds a proof-of-work, it broadcasts the block to all knots.
  5. Receiving knots validate the transactions it holds and accept only if all are valid.
  6. Knots express their acceptance by moving to work on the next block, incorporating the hash of the accepted block.

Mined bitcoins Edit

By convention, the very first transaction in a block is a special transaction that produces fresh bitcoins possessed by the creator of the block. This is the incentive for knots to support the network. [1] It provides the way to budge fresh bitcoins into circulation. The prize for mining halves every 210,000 blocks. It embarked at fifty bitcoin, dropped to twenty five in late two thousand twelve and to 12.Five bitcoin in 2016. [17] This halving process is programmed to proceed for sixty four times before fresh coin creation ceases. [17]

Various potential attacks on the bitcoin network and its use as a payment system, real or theoretical, have been considered. The bitcoin protocol includes several features that protect it against some of those attacks, such as unauthorized spending, dual spending, forging bitcoins, and tampering with the blockchain. Other attacks, such as theft of private keys, require due care by users. [Legitimate] [Nineteen] [20] [21] [22] [23] [24]

Unauthorized spending Edit

Unauthorized spending is mitigated by bitcoin’s implementation of public-private key cryptography. For example; when Alice sends a bitcoin to Bob, Bob becomes the fresh possessor of the bitcoin. Eve observing the transaction might want to spend the bitcoin Bob just received, but she cannot sign the transaction without the skill of Bob’s private key. [Nineteen]

Dual spending Edit

A specific problem that an internet payment system must solve is double-spending, whereby a user pays the same coin to two or more different recipients. An example of such a problem would be if Eve sent a bitcoin to Alice and later sent the same bitcoin to Bob. The bitcoin network guards against double-spending by recording all bitcoin transfers in a ledger (the blockchain) that is visible to all users, and ensuring for all transferred bitcoins that they haven’t been previously spent. [Nineteen] :Four

Race attack Edit

If Eve offers to pay Alice a bitcoin in exchange for goods and signs a corresponding transaction, it is still possible that she also creates a different transaction at the same time sending the same bitcoin to Bob. By the rules, the network accepts only one of the transactions. This is called a race attack, since there is a race which transaction will be accepted very first. Alice can reduce the risk of race attack stipulating that she will not produce the goods until Eve’s payment to Alice emerges in the blockchain. [20]

A variant race attack (which has been called a Finney attack by reference to Hal Finney) requires the participation of a miner. Instead of sending both payment requests (to pay Bob and Alice with the same coins) to the network, Eve issues only Alice’s payment request to the network, while the accomplice attempts to mine a block that includes the payment to Bob instead of Alice. There is a positive probability that the rogue miner will succeed before the network, in which case the payment to Alice will be rejected. As with the plain race attack, Alice can reduce the risk of a Finney attack by waiting for the payment to be included in the blockchain. [21]

History modification Edit

Each block that is added to the blockchain, commencing with the block containing a given transaction, is called a confirmation of that transaction. Ideally, merchants and services that receive payment in bitcoin should wait for at least one confirmation to be distributed over the network, before assuming that the payment was done. The more confirmations that the merchant waits for, the more difficult it is for an attacker to successfully switch sides the transaction in a blockchain—unless the attacker controls more than half the total network power, in which case it is called a 51% attack. [22]

Deanonymisation of clients Edit

Deanonymisation is a strategy in data mining in which anonymous data is cross-referenced with other sources of data to re-identify the anonymous data source. Along with transaction graph analysis, which may expose connections inbetween bitcoin addresses (pseudonyms), [Legal] [23] there is a possible attack [24] which links a user’s pseudonym to its IP address. If the peer is using Tor, the attack includes a method to separate the peer from the Tor network, forcing them to use their real IP address for any further transactions. The attack makes use of bitcoin mechanisms of relaying peer addresses and anti-DoS protection. The cost of the attack on the utter bitcoin network is under €1500 per month. [24]

Each miner can choose which transactions are included in or exempted from a block. [25] A greater number of transactions in a block does not equate to greater computational power required to solve that block. [25]

Upon receiving a fresh transaction a knot must validate it: in particular, verify that none of the transaction’s inputs have been previously spent. To carry out that check the knot needs to access the blockchain. Any user who does not trust his network neighbors, should keep a total local copy of the blockchain, so that any input can be verified.

As noted in Nakamoto’s whitepaper, it is possible to verify bitcoin payments without running a total network knot (simplified payment verification, SPV). A user only needs a copy of the block headers of the longest chain, which are available by querying network knots until it is apparent that the longest chain has been obtained. Then, get the Merkle branch linking the transaction to its block. Linking the transaction to a place in the chain demonstrates that a network knot has accepted it, and blocks added after it further establish the confirmation. [1]

While it is possible to store any digital file in the blockchain, the larger the transaction size, the larger any associated fees become. [26] Various items have been embedded, including URLs to child pornography, an ASCII art picture of Ben Bernanke, material from the Wikileaks cables, prayers from bitcoin miners, and the original bitcoin whitepaper. [27]

The use of bitcoin by criminals has attracted the attention of financial regulators, legislative figures, law enforcement, and the media. [28] The FBI ready an intelligence assessment, [29] the SEC has issued a pointed warning about investment schemes using virtual currencies, [28] and the U.S. Senate held a hearing on virtual currencies in November 2013. [30]

Several news outlets have asserted that the popularity of bitcoins hinges on the capability to use them to purchase illegal goods. [31] [32] In 2014, researchers at the University of Kentucky found “sturdy evidence that computer programming enthusiasts and illegal activity drive interest in bitcoin, and find limited or no support for political and investment motives.” [33]

Black markets Edit

A CMU researcher estimated that in 2012, Four.5% to 9% of all transactions on all exchanges in the world were for drug trades on a single dark web drugs market, Silk Road. [34] Child pornography, [35] murder-for-hire services, [36] and weapons [37] are also allegedly available on black market sites that sell in bitcoin. Due to the anonymous nature and the lack of central control on these markets, it is hard to know whether the services are real or just attempting to take the bitcoins. [38]

Several deep web black markets have been shut by authorities. In October two thousand thirteen Silk Road was shut down by U.S. law enforcement [39] [40] [41] leading to a short-term decrease in the value of bitcoin. [42] In 2015, the founder of the site was sentenced to life in prison. [43] Alternative sites were soon available, and in early two thousand fourteen the Australian Broadcasting Corporation reported that the closure of Silk Road had little influence on the number of Australians selling drugs online, which had actually enhanced. [44] In early 2014, Dutch authorities closed Utopia, an online illegal goods market, and seized nine hundred bitcoins. [45] In late 2014, a joint police operation eyed European and American authorities seize bitcoins and close four hundred deep web sites including the illicit goods market Silk Road Two.0. [46] Law enforcement activity has resulted in several convictions. In December 2014, Charlie Shrem was sentenced to two years in prison for indirectly helping to send $1 million to the Silk Road drugs site, [47] and in February 2015, its founder, Ross Ulbricht, was convicted on drugs charges and faces a life sentence. [48]

Some black market sites may seek to steal bitcoins from customers. The bitcoin community branded one site, Sheep Marketplace, as a scam when it prevented withdrawals and shut down after an alleged bitcoins theft. [49] In a separate case, escrow accounts with bitcoins belonging to patrons of a different black market were hacked in early 2014. [50]

According to the Internet Witness Foundation, a UK-based charity, bitcoin is used to purchase child pornography, and almost two hundred such websites accept it as payment. Bitcoin isn’t the foot way to purchase child pornography online, as Troels Oertling, head of the cybercrime unit at Europol, states, “Ukash and Paysafecard. have [also] been used to pay for such material.” However, the Internet See Foundation lists around thirty sites that exclusively accept bitcoins. [35] Some of these sites have shut down, such as a deep web crowdfunding website that aimed to fund the creation of fresh child porn. [51] [ better source needed ] Furthermore, hyperlinks to child porn websites have been added to the blockchain as arbitrary data can be included when a transaction is made. [52] [53]

Malware Edit

Malware stealing Edit

Some malware can steal private keys for bitcoin wallets permitting the bitcoins themselves to be stolen. The most common type searches computers for cryptocurrency wallets to upload to a remote server where they can be cracked and their coins stolen. [54] Many of these also log keystrokes to record passwords, often avoiding the need to crack the keys. [54] A different treatment detects when a bitcoin address is copied to a clipboard and quickly substitutes it with a different address, tricking people into sending bitcoins to the wrong address. [55] This method is effective because bitcoin transactions are irreversible. [56] :57

One virus, spread through the Pony botnet, was reported in February two thousand fourteen to have stolen up to $220,000 in cryptocurrencies including bitcoins from eighty five wallets. [57] Security company Trustwave, which tracked the malware, reports that its latest version was able to steal thirty types of digital currency. [58]

A type of Mac malware active in August 2013, Bitvanity posed as a vanity wallet address generator and stole addresses and private keys from other bitcoin client software. [59] A different trojan for macOS, called CoinThief was reported in February two thousand fourteen to be responsible for numerous bitcoin thefts. [59] The software was hidden in versions of some cryptocurrency apps on Download.com and MacUpdate. [59]

Ransomware Edit

Some ransomware request payment in bitcoin. One program called CryptoLocker, typically spread through legitimate-looking email attachments, encrypts the hard drive of an infected computer, then displays a countdown timer and requests a ransom, usually two bitcoins, to decrypt it. [60] Massachusetts police said they paid a two bitcoin ransom in November 2013, worth more than $1,300 at the time, to decrypt one of their hard drives. [61] Linkup, a combination ransomware and bitcoin mining program that surfaced in February 2014, disables internet access and requests credit card information to restore it, while secretly mining bitcoins. [60] Bitcoin is presently being used as the ransom medium of choice in the WannaCry ransomware hack hitting many buildings in Asia and Europe. [62]

Unauthorized mining Edit

In June 2011, Symantec warned about the possibility that botnets could mine covertly for bitcoins. [63] Malware used the parallel processing capabilities of GPUs built into many modern movie cards. [64] Albeit the average PC with an integrated graphics processor is virtually futile for bitcoin mining, ems of thousands of PCs laden with mining malware could produce some results. [65]

In mid-August 2011, bitcoin mining botnets were detected, [66] and less than three months later, bitcoin mining trojans had infected Mac OS X. [67]

In April 2013, electronic sports organization E-Sports Entertainment was accused of hijacking 14,000 computers to mine bitcoins; the company later lodged the case with the State of Fresh Jersey. [68]

German police arrested two people in December two thousand thirteen who customized existing botnet software to perform bitcoin mining, which police said had been used to mine at least $950,000 worth of bitcoins. [Sixty nine]

For four days in December two thousand thirteen and January 2014, Yahoo! Europe hosted an ad containing bitcoin mining malware that infected an estimated two million computers. [70] The software, called Sefnit, was very first detected in mid-2013 and has been bundled with many software packages. Microsoft has been removing the malware through its Microsoft Security Essentials and other security software. [71]

Several reports of employees or students using university or research computers to mine bitcoins have been published. [72]

Money laundering Edit

Bitcoins may not be ideal for money laundering, because all transactions are public. [73] Authorities, including the European Banking Authority [74] the FBI, [29] and the Financial Act Task Force of the G7 [75] have voiced concerns that bitcoin may be used for money laundering. In early 2014, an operator of a U.S. bitcoin exchange, Charlie Shrem, was arrested for money laundering. [76] Subsequently, he was sentenced to two years in prison for “aiding and abetting an unlicensed money transmitting business”. [47] A report by UK’s Treasury and Home Office named “UK national risk assessment of money laundering and terrorist financing” (2015 October) found that, of the twelve methods examined in the report, bitcoin carries the lowest risk of being used for money laundering, with the most common money laundering method being the banks. [77]

Ponzi scheme Edit

In a Ponzi scheme that utilized bitcoins, The Bitcoin Savings and Trust promised investors up to seven percent weekly interest, and raised at least 700,000 bitcoins from two thousand eleven to 2012. [78] In July two thousand thirteen the U.S. Securities and Exchange Commission charged the company and its founder in two thousand thirteen “with defrauding investors in a Ponzi scheme involving bitcoin”. [78] In September two thousand fourteen the judge fined Bitcoin Savings & Trust and its possessor $40 million for operating a bitcoin Ponzi scheme. [79]

Theft Edit

There have been many cases of bitcoin theft. [80] One way this is accomplished involves a third party accessing the private key to a victim’s bitcoin address, [81] or of an online wallet. [82] If the private key is stolen, all the bitcoins from the compromised address can be transferred. In that case, the network does not have any provisions to identify the thief, block further transactions of those stolen bitcoins, or come back them to the legitimate proprietor. [83]

Theft also occurs at sites where bitcoins are used to purchase illicit goods. In late November 2013, an estimated $100 million in bitcoins were allegedly stolen from the online illicit goods marketplace Sheep Marketplace, which instantaneously closed. [84] Users tracked the coins as they were processed and converted to cash, but no funds were recovered and no culprits identified. [84] A different black market, Silk Road Two, stated that during a February two thousand fourteen hack, bitcoins valued at $Two.7 million were taken from escrow accounts. [50]

Sites where users exchange bitcoins for cash or store them in “wallets” are also targets for theft. Inputs.io, an Australian wallet service, was hacked twice in October two thousand thirteen and lost more than $1 million in bitcoins. [85] In late February two thousand fourteen Mt. Gox, one of the largest virtual currency exchanges, filed for bankruptcy in Tokyo amid reports that bitcoins worth $350 million had been stolen. [86] Flexcoin, a bitcoin storage specialist based in Alberta, Canada, shut down on March two thousand fourteen after telling it discovered a theft of about $650,000 in bitcoins. [87] Poloniex, a digital currency exchange, reported on March two thousand fourteen that it lost bitcoins valued at around $50,000. [88] In January two thousand fifteen UK-based bitstamp, the third busiest bitcoin exchange globally, was hacked and $Five million in bitcoins were stolen. [89] February two thousand fifteen eyed a Chinese exchange named BTER lose bitcoins worth almost $Two million to hackers. [90]

A major bitcoin exchange, Bitfinex, was hacked and almost 120,000 bitcoins (around $60m) was stolen in 2016. Bitfinex was compelled to suspend its trading. The theft is the 2nd largest bitcoin heist ever, dwarfed only by Mt. Gox theft in 2014. According to Forbes, “All of Bitfinex’s customers. will stand to lose money. The company has announced a haircut of 36.067% across the board.” [91]

Bitcoin network

Bitcoin network

The bitcoin network is a peer-to-peer payment network that operates on a cryptographic protocol. Users send and receive bitcoins, the units of currency, by broadcasting digitally signed messages to the network using bitcoin cryptocurrency wallet software. Transactions are recorded into a distributed, replicated public database known as the blockchain, with consensus achieved by a proof-of-work system called “mining”. The protocol was designed in two thousand eight and released in two thousand nine as open source software by Satoshi Nakamoto, the name or pseudonym of the original developer/developer group.

The network requires minimal structure to share transactions. An ad hoc decentralized network of volunteers is sufficient. Messages are broadcast on a best effort basis, and knots can leave and rejoin the network at will. Upon reconnection, a knot downloads and verifies fresh blocks from other knots to accomplish its local copy of the blockchain. [1] [Two]

Contents

A bitcoin is defined by a sequence of digitally signed transactions that began with the bitcoin’s creation, as a block prize. The holder of a bitcoin transfers it by digitally signing it over to the next proprietor using a bitcoin transaction, much like endorsing a traditional bank check. A payee can examine each previous transaction to verify the chain of ownership. Unlike traditional check endorsements, bitcoin transactions are irreversible, which eliminates risk of chargeback fraud. [Three]

Albeit it is possible to treat bitcoins individually, it would be unwieldy to require a separate transaction for every bitcoin in a transaction. Transactions are therefore permitted to contain numerous inputs and outputs, [Four] permitting bitcoins to be split and combined. Common transactions will have either a single input from a larger previous transaction or numerous inputs combining smaller amounts, and one or two outputs: one for the payment, and one returning the switch, if any, to the sender. Any difference inbetween the total input and output amounts of a transaction goes to miners as a transaction fee. [1]

To form a distributed timestamp server as a peer-to-peer network, bitcoin uses a proof-of-work system. [Two] The work in this system is what is often referred to as bitcoin mining. The signature is discovered rather than provided by skill. [Five] This process is energy intensive. [6] Violet wand can consume more than 90% of operating costs for miners. [7] A data center in China, planned mostly for bitcoin mining, is expected to require up to one hundred thirty five MW of power. [8]

The rule of requiring a proof-of-work to provide the signature for the blockchain was Satoshi Nakamoto’s key innovation. [Five] The mining process involves identifying a block that when hashed twice with SHA-256, yields a number smaller than the given difficulty target. While the average work required increases in inverse proportion to the difficulty target, a hash can always be verified by executing a single round of dual SHA-256.

For the bitcoin timestamp network, a valid “proof-of-work” is found by incrementing a nonce until a value is found that gives the block’s hash the required number of leading zero bits. Once the hashing has produced a valid result, the block cannot be switched without redoing the work. As later blocks are chained after it, the work to switch the block would include redoing the work for each subsequent block.

Majority consensus in bitcoin is represented by the longest chain, which required the greatest amount of effort to produce. If a majority of computing power is managed by fair knots, the fair chain will grow fastest and outpace any challenging chains. To modify a past block, an attacker would have to redo the proof-of-work of that block and all blocks after it and then surpass the work of the fair knots. The probability of a slower attacker catching up diminishes exponentially as subsequent blocks are added. [Two]

To compensate for enlargening hardware speed and varying interest in running knots over time, the difficulty of finding a valid hash is adjusted harshly every two weeks. If blocks are generated too quickly, the difficulty increases and more hashes are required to make a block and to generate fresh bitcoins. [Two]

Difficulty Edit

Bitcoin mining is a competitive endeavor. An “arms race” has been observed through the various hashing technologies that have been used to mine bitcoins: basic CPUs, high-end GPUs common in many gaming computers, FPGAs and ASICs all have been used, each reducing the profitability of the less-specialized technology. Bitcoin-specific ASICs are now available. [9] As bitcoins become more difficult to mine, computer hardware manufacturing companies have seen an increase in sales of high-end products. [Ten]

Computing power is often bundled together or “pooled” to reduce variance in miner income. Individual mining equipments often have to wait for long periods to confirm a block of transactions and receive payment. In a pool, all participating miners get paid every time a participating server solves a block. This payment depends on the amount of work an individual miner contributed to help find that block. [11]

Bitcoin data centers choose to keep a low profile, are dispersed around the world and tend to cluster around the availability of cheap electric current. [7]

Energy consumption Edit

In 2013, Mark Gimein estimated violet wand use to be about 40.9 megawatts (982 megawatt-hours a day). [12] In 2014, Hass McCook estimated 80.7 megawatts (80,666 kW). [13] As of 2015, The Economist estimated that even if all miners used modern facilities, the combined electric current consumption would be 166.7 megawatts (1.46 terawatt-hours per year). [14]

Journalist Matt O’Brien opined that it is not evident whether bitcoin is lowering transaction costs, since the costs are transformed into pollution costs, which he characterizes as “environmental spillovers on everyone else, or what economists call negative externalities.” [15]

To lower the costs, bitcoin miners have set up in places like Iceland where geothermal energy is cheap and cooling Arctic air is free. [15] Chinese bitcoin miners are known to use hydroelectric power in Tibet to reduce electro-stimulation costs. [16]

Process Edit

A rough overview of the process to mine bitcoins is: [Two]

  1. Fresh transactions are broadcast to all knots.
  2. Each miner knot collects fresh transactions into a block.
  3. Each miner knot works on finding a proof-of-work code for its block.
  4. When a knot finds a proof-of-work, it broadcasts the block to all knots.
  5. Receiving knots validate the transactions it holds and accept only if all are valid.
  6. Knots express their acceptance by moving to work on the next block, incorporating the hash of the accepted block.

Mined bitcoins Edit

By convention, the very first transaction in a block is a special transaction that produces fresh bitcoins wielded by the creator of the block. This is the incentive for knots to support the network. [1] It provides the way to stir fresh bitcoins into circulation. The prize for mining halves every 210,000 blocks. It embarked at fifty bitcoin, dropped to twenty five in late two thousand twelve and to 12.Five bitcoin in 2016. [17] This halving process is programmed to proceed for sixty four times before fresh coin creation ceases. [17]

Various potential attacks on the bitcoin network and its use as a payment system, real or theoretical, have been considered. The bitcoin protocol includes several features that protect it against some of those attacks, such as unauthorized spending, dual spending, forging bitcoins, and tampering with the blockchain. Other attacks, such as theft of private keys, require due care by users. [Legal] [Nineteen] [20] [21] [22] [23] [24]

Unauthorized spending Edit

Unauthorized spending is mitigated by bitcoin’s implementation of public-private key cryptography. For example; when Alice sends a bitcoin to Bob, Bob becomes the fresh holder of the bitcoin. Eve observing the transaction might want to spend the bitcoin Bob just received, but she cannot sign the transaction without the skill of Bob’s private key. [Nineteen]

Dual spending Edit

A specific problem that an internet payment system must solve is double-spending, whereby a user pays the same coin to two or more different recipients. An example of such a problem would be if Eve sent a bitcoin to Alice and later sent the same bitcoin to Bob. The bitcoin network guards against double-spending by recording all bitcoin transfers in a ledger (the blockchain) that is visible to all users, and ensuring for all transferred bitcoins that they haven’t been previously spent. [Nineteen] :Four

Race attack Edit

If Eve offers to pay Alice a bitcoin in exchange for goods and signs a corresponding transaction, it is still possible that she also creates a different transaction at the same time sending the same bitcoin to Bob. By the rules, the network accepts only one of the transactions. This is called a race attack, since there is a race which transaction will be accepted very first. Alice can reduce the risk of race attack stipulating that she will not supply the goods until Eve’s payment to Alice emerges in the blockchain. [20]

A variant race attack (which has been called a Finney attack by reference to Hal Finney) requires the participation of a miner. Instead of sending both payment requests (to pay Bob and Alice with the same coins) to the network, Eve issues only Alice’s payment request to the network, while the accomplice attempts to mine a block that includes the payment to Bob instead of Alice. There is a positive probability that the rogue miner will succeed before the network, in which case the payment to Alice will be rejected. As with the plain race attack, Alice can reduce the risk of a Finney attack by waiting for the payment to be included in the blockchain. [21]

History modification Edit

Each block that is added to the blockchain, kicking off with the block containing a given transaction, is called a confirmation of that transaction. Ideally, merchants and services that receive payment in bitcoin should wait for at least one confirmation to be distributed over the network, before assuming that the payment was done. The more confirmations that the merchant waits for, the more difficult it is for an attacker to successfully switch roles the transaction in a blockchain—unless the attacker controls more than half the total network power, in which case it is called a 51% attack. [22]

Deanonymisation of clients Edit

Deanonymisation is a strategy in data mining in which anonymous data is cross-referenced with other sources of data to re-identify the anonymous data source. Along with transaction graph analysis, which may expose connections inbetween bitcoin addresses (pseudonyms), [Eighteen] [23] there is a possible attack [24] which links a user’s pseudonym to its IP address. If the peer is using Tor, the attack includes a method to separate the peer from the Tor network, forcing them to use their real IP address for any further transactions. The attack makes use of bitcoin mechanisms of relaying peer addresses and anti-DoS protection. The cost of the attack on the total bitcoin network is under €1500 per month. [24]

Each miner can choose which transactions are included in or exempted from a block. [25] A greater number of transactions in a block does not equate to greater computational power required to solve that block. [25]

Upon receiving a fresh transaction a knot must validate it: in particular, verify that none of the transaction’s inputs have been previously spent. To carry out that check the knot needs to access the blockchain. Any user who does not trust his network neighbors, should keep a utter local copy of the blockchain, so that any input can be verified.

As noted in Nakamoto’s whitepaper, it is possible to verify bitcoin payments without running a total network knot (simplified payment verification, SPV). A user only needs a copy of the block headers of the longest chain, which are available by querying network knots until it is apparent that the longest chain has been obtained. Then, get the Merkle branch linking the transaction to its block. Linking the transaction to a place in the chain demonstrates that a network knot has accepted it, and blocks added after it further establish the confirmation. [1]

While it is possible to store any digital file in the blockchain, the larger the transaction size, the larger any associated fees become. [26] Various items have been embedded, including URLs to child pornography, an ASCII art pic of Ben Bernanke, material from the Wikileaks cables, prayers from bitcoin miners, and the original bitcoin whitepaper. [27]

The use of bitcoin by criminals has attracted the attention of financial regulators, legislative bods, law enforcement, and the media. [28] The FBI ready an intelligence assessment, [29] the SEC has issued a pointed warning about investment schemes using virtual currencies, [28] and the U.S. Senate held a hearing on virtual currencies in November 2013. [30]

Several news outlets have asserted that the popularity of bitcoins hinges on the capability to use them to purchase illegal goods. [31] [32] In 2014, researchers at the University of Kentucky found “sturdy evidence that computer programming enthusiasts and illegal activity drive interest in bitcoin, and find limited or no support for political and investment motives.” [33]

Black markets Edit

A CMU researcher estimated that in 2012, Four.5% to 9% of all transactions on all exchanges in the world were for drug trades on a single dark web drugs market, Silk Road. [34] Child pornography, [35] murder-for-hire services, [36] and weapons [37] are also allegedly available on black market sites that sell in bitcoin. Due to the anonymous nature and the lack of central control on these markets, it is hard to know whether the services are real or just attempting to take the bitcoins. [38]

Several deep web black markets have been shut by authorities. In October two thousand thirteen Silk Road was shut down by U.S. law enforcement [39] [40] [41] leading to a short-term decrease in the value of bitcoin. [42] In 2015, the founder of the site was sentenced to life in prison. [43] Alternative sites were soon available, and in early two thousand fourteen the Australian Broadcasting Corporation reported that the closure of Silk Road had little influence on the number of Australians selling drugs online, which had actually enlargened. [44] In early 2014, Dutch authorities closed Utopia, an online illegal goods market, and seized nine hundred bitcoins. [45] In late 2014, a joint police operation witnessed European and American authorities seize bitcoins and close four hundred deep web sites including the illicit goods market Silk Road Two.0. [46] Law enforcement activity has resulted in several convictions. In December 2014, Charlie Shrem was sentenced to two years in prison for indirectly helping to send $1 million to the Silk Road drugs site, [47] and in February 2015, its founder, Ross Ulbricht, was convicted on drugs charges and faces a life sentence. [48]

Some black market sites may seek to steal bitcoins from customers. The bitcoin community branded one site, Sheep Marketplace, as a scam when it prevented withdrawals and shut down after an alleged bitcoins theft. [49] In a separate case, escrow accounts with bitcoins belonging to patrons of a different black market were hacked in early 2014. [50]

According to the Internet See Foundation, a UK-based charity, bitcoin is used to purchase child pornography, and almost two hundred such websites accept it as payment. Bitcoin isn’t the foot way to purchase child pornography online, as Troels Oertling, head of the cybercrime unit at Europol, states, “Ukash and Paysafecard. have [also] been used to pay for such material.” However, the Internet See Foundation lists around thirty sites that exclusively accept bitcoins. [35] Some of these sites have shut down, such as a deep web crowdfunding website that aimed to fund the creation of fresh child porn. [51] [ better source needed ] Furthermore, hyperlinks to child porn websites have been added to the blockchain as arbitrary data can be included when a transaction is made. [52] [53]

Malware Edit

Malware stealing Edit

Some malware can steal private keys for bitcoin wallets permitting the bitcoins themselves to be stolen. The most common type searches computers for cryptocurrency wallets to upload to a remote server where they can be cracked and their coins stolen. [54] Many of these also log keystrokes to record passwords, often avoiding the need to crack the keys. [54] A different treatment detects when a bitcoin address is copied to a clipboard and quickly substitutes it with a different address, tricking people into sending bitcoins to the wrong address. [55] This method is effective because bitcoin transactions are irreversible. [56] :57

One virus, spread through the Pony botnet, was reported in February two thousand fourteen to have stolen up to $220,000 in cryptocurrencies including bitcoins from eighty five wallets. [57] Security company Trustwave, which tracked the malware, reports that its latest version was able to steal thirty types of digital currency. [58]

A type of Mac malware active in August 2013, Bitvanity posed as a vanity wallet address generator and stole addresses and private keys from other bitcoin client software. [59] A different trojan for macOS, called CoinThief was reported in February two thousand fourteen to be responsible for numerous bitcoin thefts. [59] The software was hidden in versions of some cryptocurrency apps on Download.com and MacUpdate. [59]

Ransomware Edit

Some ransomware request payment in bitcoin. One program called CryptoLocker, typically spread through legitimate-looking email attachments, encrypts the hard drive of an infected computer, then displays a countdown timer and requests a ransom, usually two bitcoins, to decrypt it. [60] Massachusetts police said they paid a two bitcoin ransom in November 2013, worth more than $1,300 at the time, to decrypt one of their hard drives. [61] Linkup, a combination ransomware and bitcoin mining program that surfaced in February 2014, disables internet access and requests credit card information to restore it, while secretly mining bitcoins. [60] Bitcoin is presently being used as the ransom medium of choice in the WannaCry ransomware hack hitting many buildings in Asia and Europe. [62]

Unauthorized mining Edit

In June 2011, Symantec warned about the possibility that botnets could mine covertly for bitcoins. [63] Malware used the parallel processing capabilities of GPUs built into many modern movie cards. [64] Albeit the average PC with an integrated graphics processor is virtually worthless for bitcoin mining, ems of thousands of PCs laden with mining malware could produce some results. [65]

In mid-August 2011, bitcoin mining botnets were detected, [66] and less than three months later, bitcoin mining trojans had infected Mac OS X. [67]

In April 2013, electronic sports organization E-Sports Entertainment was accused of hijacking 14,000 computers to mine bitcoins; the company later lodged the case with the State of Fresh Jersey. [68]

German police arrested two people in December two thousand thirteen who customized existing botnet software to perform bitcoin mining, which police said had been used to mine at least $950,000 worth of bitcoins. [Sixty nine]

For four days in December two thousand thirteen and January 2014, Yahoo! Europe hosted an ad containing bitcoin mining malware that infected an estimated two million computers. [70] The software, called Sefnit, was very first detected in mid-2013 and has been bundled with many software packages. Microsoft has been removing the malware through its Microsoft Security Essentials and other security software. [71]

Several reports of employees or students using university or research computers to mine bitcoins have been published. [72]

Money laundering Edit

Bitcoins may not be ideal for money laundering, because all transactions are public. [73] Authorities, including the European Banking Authority [74] the FBI, [29] and the Financial Activity Task Force of the G7 [75] have voiced concerns that bitcoin may be used for money laundering. In early 2014, an operator of a U.S. bitcoin exchange, Charlie Shrem, was arrested for money laundering. [76] Subsequently, he was sentenced to two years in prison for “aiding and abetting an unlicensed money transmitting business”. [47] A report by UK’s Treasury and Home Office named “UK national risk assessment of money laundering and terrorist financing” (2015 October) found that, of the twelve methods examined in the report, bitcoin carries the lowest risk of being used for money laundering, with the most common money laundering method being the banks. [77]

Ponzi scheme Edit

In a Ponzi scheme that utilized bitcoins, The Bitcoin Savings and Trust promised investors up to seven percent weekly interest, and raised at least 700,000 bitcoins from two thousand eleven to 2012. [78] In July two thousand thirteen the U.S. Securities and Exchange Commission charged the company and its founder in two thousand thirteen “with defrauding investors in a Ponzi scheme involving bitcoin”. [78] In September two thousand fourteen the judge fined Bitcoin Savings & Trust and its possessor $40 million for operating a bitcoin Ponzi scheme. [79]

Theft Edit

There have been many cases of bitcoin theft. [80] One way this is accomplished involves a third party accessing the private key to a victim’s bitcoin address, [81] or of an online wallet. [82] If the private key is stolen, all the bitcoins from the compromised address can be transferred. In that case, the network does not have any provisions to identify the thief, block further transactions of those stolen bitcoins, or comeback them to the legitimate holder. [83]

Theft also occurs at sites where bitcoins are used to purchase illicit goods. In late November 2013, an estimated $100 million in bitcoins were allegedly stolen from the online illicit goods marketplace Sheep Marketplace, which instantaneously closed. [84] Users tracked the coins as they were processed and converted to cash, but no funds were recovered and no culprits identified. [84] A different black market, Silk Road Two, stated that during a February two thousand fourteen hack, bitcoins valued at $Two.7 million were taken from escrow accounts. [50]

Sites where users exchange bitcoins for cash or store them in “wallets” are also targets for theft. Inputs.io, an Australian wallet service, was hacked twice in October two thousand thirteen and lost more than $1 million in bitcoins. [85] In late February two thousand fourteen Mt. Gox, one of the largest virtual currency exchanges, filed for bankruptcy in Tokyo amid reports that bitcoins worth $350 million had been stolen. [86] Flexcoin, a bitcoin storage specialist based in Alberta, Canada, shut down on March two thousand fourteen after telling it discovered a theft of about $650,000 in bitcoins. [87] Poloniex, a digital currency exchange, reported on March two thousand fourteen that it lost bitcoins valued at around $50,000. [88] In January two thousand fifteen UK-based bitstamp, the third busiest bitcoin exchange globally, was hacked and $Five million in bitcoins were stolen. [89] February two thousand fifteen spotted a Chinese exchange named BTER lose bitcoins worth almost $Two million to hackers. [90]

A major bitcoin exchange, Bitfinex, was hacked and almost 120,000 bitcoins (around $60m) was stolen in 2016. Bitfinex was compelled to suspend its trading. The theft is the 2nd largest bitcoin heist ever, dwarfed only by Mt. Gox theft in 2014. According to Forbes, “All of Bitfinex’s customers. will stand to lose money. The company has announced a haircut of 36.067% across the board.” [91]

Bitcoin network

Bitcoin network

The bitcoin network is a peer-to-peer payment network that operates on a cryptographic protocol. Users send and receive bitcoins, the units of currency, by broadcasting digitally signed messages to the network using bitcoin cryptocurrency wallet software. Transactions are recorded into a distributed, replicated public database known as the blockchain, with consensus achieved by a proof-of-work system called “mining”. The protocol was designed in two thousand eight and released in two thousand nine as open source software by Satoshi Nakamoto, the name or pseudonym of the original developer/developer group.

The network requires minimal structure to share transactions. An ad hoc decentralized network of volunteers is sufficient. Messages are broadcast on a best effort basis, and knots can leave and rejoin the network at will. Upon reconnection, a knot downloads and verifies fresh blocks from other knots to finish its local copy of the blockchain. [1] [Two]

Contents

A bitcoin is defined by a sequence of digitally signed transactions that began with the bitcoin’s creation, as a block prize. The holder of a bitcoin transfers it by digitally signing it over to the next possessor using a bitcoin transaction, much like endorsing a traditional bank check. A payee can examine each previous transaction to verify the chain of ownership. Unlike traditional check endorsements, bitcoin transactions are irreversible, which eliminates risk of chargeback fraud. [Three]

Albeit it is possible to treat bitcoins individually, it would be unwieldy to require a separate transaction for every bitcoin in a transaction. Transactions are therefore permitted to contain numerous inputs and outputs, [Four] permitting bitcoins to be split and combined. Common transactions will have either a single input from a larger previous transaction or numerous inputs combining smaller amounts, and one or two outputs: one for the payment, and one returning the switch, if any, to the sender. Any difference inbetween the total input and output amounts of a transaction goes to miners as a transaction fee. [1]

To form a distributed timestamp server as a peer-to-peer network, bitcoin uses a proof-of-work system. [Two] The work in this system is what is often referred to as bitcoin mining. The signature is discovered rather than provided by skill. [Five] This process is energy intensive. [6] Electro-therapy can consume more than 90% of operating costs for miners. [7] A data center in China, planned mostly for bitcoin mining, is expected to require up to one hundred thirty five MW of power. [8]

The rule of requiring a proof-of-work to provide the signature for the blockchain was Satoshi Nakamoto’s key innovation. [Five] The mining process involves identifying a block that when hashed twice with SHA-256, yields a number smaller than the given difficulty target. While the average work required increases in inverse proportion to the difficulty target, a hash can always be verified by executing a single round of dual SHA-256.

For the bitcoin timestamp network, a valid “proof-of-work” is found by incrementing a nonce until a value is found that gives the block’s hash the required number of leading zero bits. Once the hashing has produced a valid result, the block cannot be switched without redoing the work. As later blocks are chained after it, the work to switch the block would include redoing the work for each subsequent block.

Majority consensus in bitcoin is represented by the longest chain, which required the greatest amount of effort to produce. If a majority of computing power is managed by fair knots, the fair chain will grow fastest and outpace any contesting chains. To modify a past block, an attacker would have to redo the proof-of-work of that block and all blocks after it and then surpass the work of the fair knots. The probability of a slower attacker catching up diminishes exponentially as subsequent blocks are added. [Two]

To compensate for enhancing hardware speed and varying interest in running knots over time, the difficulty of finding a valid hash is adjusted toughly every two weeks. If blocks are generated too quickly, the difficulty increases and more hashes are required to make a block and to generate fresh bitcoins. [Two]

Difficulty Edit

Bitcoin mining is a competitive endeavor. An “arms race” has been observed through the various hashing technologies that have been used to mine bitcoins: basic CPUs, high-end GPUs common in many gaming computers, FPGAs and ASICs all have been used, each reducing the profitability of the less-specialized technology. Bitcoin-specific ASICs are now available. [9] As bitcoins become more difficult to mine, computer hardware manufacturing companies have seen an increase in sales of high-end products. [Ten]

Computing power is often bundled together or “pooled” to reduce variance in miner income. Individual mining equipments often have to wait for long periods to confirm a block of transactions and receive payment. In a pool, all participating miners get paid every time a participating server solves a block. This payment depends on the amount of work an individual miner contributed to help find that block. [11]

Bitcoin data centers choose to keep a low profile, are dispersed around the world and tend to cluster around the availability of cheap electric current. [7]

Energy consumption Edit

In 2013, Mark Gimein estimated electro-stimulation use to be about 40.9 megawatts (982 megawatt-hours a day). [12] In 2014, Hass McCook estimated 80.7 megawatts (80,666 kW). [13] As of 2015, The Economist estimated that even if all miners used modern facilities, the combined electric current consumption would be 166.7 megawatts (1.46 terawatt-hours per year). [14]

Journalist Matt O’Brien opined that it is not visible whether bitcoin is lowering transaction costs, since the costs are transformed into pollution costs, which he characterizes as “environmental spillovers on everyone else, or what economists call negative externalities.” [15]

To lower the costs, bitcoin miners have set up in places like Iceland where geothermal energy is cheap and cooling Arctic air is free. [15] Chinese bitcoin miners are known to use hydroelectric power in Tibet to reduce tens unit costs. [16]

Process Edit

A rough overview of the process to mine bitcoins is: [Two]

  1. Fresh transactions are broadcast to all knots.
  2. Each miner knot collects fresh transactions into a block.
  3. Each miner knot works on finding a proof-of-work code for its block.
  4. When a knot finds a proof-of-work, it broadcasts the block to all knots.
  5. Receiving knots validate the transactions it holds and accept only if all are valid.
  6. Knots express their acceptance by moving to work on the next block, incorporating the hash of the accepted block.

Mined bitcoins Edit

By convention, the very first transaction in a block is a special transaction that produces fresh bitcoins possessed by the creator of the block. This is the incentive for knots to support the network. [1] It provides the way to stir fresh bitcoins into circulation. The prize for mining halves every 210,000 blocks. It began at fifty bitcoin, dropped to twenty five in late two thousand twelve and to 12.Five bitcoin in 2016. [17] This halving process is programmed to proceed for sixty four times before fresh coin creation ceases. [17]

Various potential attacks on the bitcoin network and its use as a payment system, real or theoretical, have been considered. The bitcoin protocol includes several features that protect it against some of those attacks, such as unauthorized spending, dual spending, forging bitcoins, and tampering with the blockchain. Other attacks, such as theft of private keys, require due care by users. [Legal] [Nineteen] [20] [21] [22] [23] [24]

Unauthorized spending Edit

Unauthorized spending is mitigated by bitcoin’s implementation of public-private key cryptography. For example; when Alice sends a bitcoin to Bob, Bob becomes the fresh proprietor of the bitcoin. Eve observing the transaction might want to spend the bitcoin Bob just received, but she cannot sign the transaction without the skill of Bob’s private key. [Nineteen]

Dual spending Edit

A specific problem that an internet payment system must solve is double-spending, whereby a user pays the same coin to two or more different recipients. An example of such a problem would be if Eve sent a bitcoin to Alice and later sent the same bitcoin to Bob. The bitcoin network guards against double-spending by recording all bitcoin transfers in a ledger (the blockchain) that is visible to all users, and ensuring for all transferred bitcoins that they haven’t been previously spent. [Nineteen] :Four

Race attack Edit

If Eve offers to pay Alice a bitcoin in exchange for goods and signs a corresponding transaction, it is still possible that she also creates a different transaction at the same time sending the same bitcoin to Bob. By the rules, the network accepts only one of the transactions. This is called a race attack, since there is a race which transaction will be accepted very first. Alice can reduce the risk of race attack stipulating that she will not produce the goods until Eve’s payment to Alice shows up in the blockchain. [20]

A variant race attack (which has been called a Finney attack by reference to Hal Finney) requires the participation of a miner. Instead of sending both payment requests (to pay Bob and Alice with the same coins) to the network, Eve issues only Alice’s payment request to the network, while the accomplice attempts to mine a block that includes the payment to Bob instead of Alice. There is a positive probability that the rogue miner will succeed before the network, in which case the payment to Alice will be rejected. As with the plain race attack, Alice can reduce the risk of a Finney attack by waiting for the payment to be included in the blockchain. [21]

History modification Edit

Each block that is added to the blockchain, embarking with the block containing a given transaction, is called a confirmation of that transaction. Ideally, merchants and services that receive payment in bitcoin should wait for at least one confirmation to be distributed over the network, before assuming that the payment was done. The more confirmations that the merchant waits for, the more difficult it is for an attacker to successfully switch roles the transaction in a blockchain—unless the attacker controls more than half the total network power, in which case it is called a 51% attack. [22]

Deanonymisation of clients Edit

Deanonymisation is a strategy in data mining in which anonymous data is cross-referenced with other sources of data to re-identify the anonymous data source. Along with transaction graph analysis, which may expose connections inbetween bitcoin addresses (pseudonyms), [Eighteen] [23] there is a possible attack [24] which links a user’s pseudonym to its IP address. If the peer is using Tor, the attack includes a method to separate the peer from the Tor network, forcing them to use their real IP address for any further transactions. The attack makes use of bitcoin mechanisms of relaying peer addresses and anti-DoS protection. The cost of the attack on the utter bitcoin network is under €1500 per month. [24]

Each miner can choose which transactions are included in or exempted from a block. [25] A greater number of transactions in a block does not equate to greater computational power required to solve that block. [25]

Upon receiving a fresh transaction a knot must validate it: in particular, verify that none of the transaction’s inputs have been previously spent. To carry out that check the knot needs to access the blockchain. Any user who does not trust his network neighbors, should keep a total local copy of the blockchain, so that any input can be verified.

As noted in Nakamoto’s whitepaper, it is possible to verify bitcoin payments without running a total network knot (simplified payment verification, SPV). A user only needs a copy of the block headers of the longest chain, which are available by querying network knots until it is apparent that the longest chain has been obtained. Then, get the Merkle branch linking the transaction to its block. Linking the transaction to a place in the chain demonstrates that a network knot has accepted it, and blocks added after it further establish the confirmation. [1]

While it is possible to store any digital file in the blockchain, the larger the transaction size, the larger any associated fees become. [26] Various items have been embedded, including URLs to child pornography, an ASCII art pic of Ben Bernanke, material from the Wikileaks cables, prayers from bitcoin miners, and the original bitcoin whitepaper. [27]

The use of bitcoin by criminals has attracted the attention of financial regulators, legislative figures, law enforcement, and the media. [28] The FBI ready an intelligence assessment, [29] the SEC has issued a pointed warning about investment schemes using virtual currencies, [28] and the U.S. Senate held a hearing on virtual currencies in November 2013. [30]

Several news outlets have asserted that the popularity of bitcoins hinges on the capability to use them to purchase illegal goods. [31] [32] In 2014, researchers at the University of Kentucky found “sturdy evidence that computer programming enthusiasts and illegal activity drive interest in bitcoin, and find limited or no support for political and investment motives.” [33]

Black markets Edit

A CMU researcher estimated that in 2012, Four.5% to 9% of all transactions on all exchanges in the world were for drug trades on a single dark web drugs market, Silk Road. [34] Child pornography, [35] murder-for-hire services, [36] and weapons [37] are also allegedly available on black market sites that sell in bitcoin. Due to the anonymous nature and the lack of central control on these markets, it is hard to know whether the services are real or just attempting to take the bitcoins. [38]

Several deep web black markets have been shut by authorities. In October two thousand thirteen Silk Road was shut down by U.S. law enforcement [39] [40] [41] leading to a short-term decrease in the value of bitcoin. [42] In 2015, the founder of the site was sentenced to life in prison. [43] Alternative sites were soon available, and in early two thousand fourteen the Australian Broadcasting Corporation reported that the closure of Silk Road had little influence on the number of Australians selling drugs online, which had actually enlargened. [44] In early 2014, Dutch authorities closed Utopia, an online illegal goods market, and seized nine hundred bitcoins. [45] In late 2014, a joint police operation eyed European and American authorities seize bitcoins and close four hundred deep web sites including the illicit goods market Silk Road Two.0. [46] Law enforcement activity has resulted in several convictions. In December 2014, Charlie Shrem was sentenced to two years in prison for indirectly helping to send $1 million to the Silk Road drugs site, [47] and in February 2015, its founder, Ross Ulbricht, was convicted on drugs charges and faces a life sentence. [48]

Some black market sites may seek to steal bitcoins from customers. The bitcoin community branded one site, Sheep Marketplace, as a scam when it prevented withdrawals and shut down after an alleged bitcoins theft. [49] In a separate case, escrow accounts with bitcoins belonging to patrons of a different black market were hacked in early 2014. [50]

According to the Internet Witness Foundation, a UK-based charity, bitcoin is used to purchase child pornography, and almost two hundred such websites accept it as payment. Bitcoin isn’t the foot way to purchase child pornography online, as Troels Oertling, head of the cybercrime unit at Europol, states, “Ukash and Paysafecard. have [also] been used to pay for such material.” However, the Internet Witness Foundation lists around thirty sites that exclusively accept bitcoins. [35] Some of these sites have shut down, such as a deep web crowdfunding website that aimed to fund the creation of fresh child porn. [51] [ better source needed ] Furthermore, hyperlinks to child porn websites have been added to the blockchain as arbitrary data can be included when a transaction is made. [52] [53]

Malware Edit

Malware stealing Edit

Some malware can steal private keys for bitcoin wallets permitting the bitcoins themselves to be stolen. The most common type searches computers for cryptocurrency wallets to upload to a remote server where they can be cracked and their coins stolen. [54] Many of these also log keystrokes to record passwords, often avoiding the need to crack the keys. [54] A different treatment detects when a bitcoin address is copied to a clipboard and quickly substitutes it with a different address, tricking people into sending bitcoins to the wrong address. [55] This method is effective because bitcoin transactions are irreversible. [56] :57

One virus, spread through the Pony botnet, was reported in February two thousand fourteen to have stolen up to $220,000 in cryptocurrencies including bitcoins from eighty five wallets. [57] Security company Trustwave, which tracked the malware, reports that its latest version was able to steal thirty types of digital currency. [58]

A type of Mac malware active in August 2013, Bitvanity posed as a vanity wallet address generator and stole addresses and private keys from other bitcoin client software. [59] A different trojan for macOS, called CoinThief was reported in February two thousand fourteen to be responsible for numerous bitcoin thefts. [59] The software was hidden in versions of some cryptocurrency apps on Download.com and MacUpdate. [59]

Ransomware Edit

Some ransomware request payment in bitcoin. One program called CryptoLocker, typically spread through legitimate-looking email attachments, encrypts the hard drive of an infected computer, then displays a countdown timer and requests a ransom, usually two bitcoins, to decrypt it. [60] Massachusetts police said they paid a two bitcoin ransom in November 2013, worth more than $1,300 at the time, to decrypt one of their hard drives. [61] Linkup, a combination ransomware and bitcoin mining program that surfaced in February 2014, disables internet access and requests credit card information to restore it, while secretly mining bitcoins. [60] Bitcoin is presently being used as the ransom medium of choice in the WannaCry ransomware hack hitting many buildings in Asia and Europe. [62]

Unauthorized mining Edit

In June 2011, Symantec warned about the possibility that botnets could mine covertly for bitcoins. [63] Malware used the parallel processing capabilities of GPUs built into many modern movie cards. [64] Albeit the average PC with an integrated graphics processor is virtually futile for bitcoin mining, ems of thousands of PCs laden with mining malware could produce some results. [65]

In mid-August 2011, bitcoin mining botnets were detected, [66] and less than three months later, bitcoin mining trojans had infected Mac OS X. [67]

In April 2013, electronic sports organization E-Sports Entertainment was accused of hijacking 14,000 computers to mine bitcoins; the company later lodged the case with the State of Fresh Jersey. [68]

German police arrested two people in December two thousand thirteen who customized existing botnet software to perform bitcoin mining, which police said had been used to mine at least $950,000 worth of bitcoins. [Sixty nine]

For four days in December two thousand thirteen and January 2014, Yahoo! Europe hosted an ad containing bitcoin mining malware that infected an estimated two million computers. [70] The software, called Sefnit, was very first detected in mid-2013 and has been bundled with many software packages. Microsoft has been removing the malware through its Microsoft Security Essentials and other security software. [71]

Several reports of employees or students using university or research computers to mine bitcoins have been published. [72]

Money laundering Edit

Bitcoins may not be ideal for money laundering, because all transactions are public. [73] Authorities, including the European Banking Authority [74] the FBI, [29] and the Financial Act Task Force of the G7 [75] have voiced concerns that bitcoin may be used for money laundering. In early 2014, an operator of a U.S. bitcoin exchange, Charlie Shrem, was arrested for money laundering. [76] Subsequently, he was sentenced to two years in prison for “aiding and abetting an unlicensed money transmitting business”. [47] A report by UK’s Treasury and Home Office named “UK national risk assessment of money laundering and terrorist financing” (2015 October) found that, of the twelve methods examined in the report, bitcoin carries the lowest risk of being used for money laundering, with the most common money laundering method being the banks. [77]

Ponzi scheme Edit

In a Ponzi scheme that utilized bitcoins, The Bitcoin Savings and Trust promised investors up to seven percent weekly interest, and raised at least 700,000 bitcoins from two thousand eleven to 2012. [78] In July two thousand thirteen the U.S. Securities and Exchange Commission charged the company and its founder in two thousand thirteen “with defrauding investors in a Ponzi scheme involving bitcoin”. [78] In September two thousand fourteen the judge fined Bitcoin Savings & Trust and its holder $40 million for operating a bitcoin Ponzi scheme. [79]

Theft Edit

There have been many cases of bitcoin theft. [80] One way this is accomplished involves a third party accessing the private key to a victim’s bitcoin address, [81] or of an online wallet. [82] If the private key is stolen, all the bitcoins from the compromised address can be transferred. In that case, the network does not have any provisions to identify the thief, block further transactions of those stolen bitcoins, or comeback them to the legitimate possessor. [83]

Theft also occurs at sites where bitcoins are used to purchase illicit goods. In late November 2013, an estimated $100 million in bitcoins were allegedly stolen from the online illicit goods marketplace Sheep Marketplace, which instantaneously closed. [84] Users tracked the coins as they were processed and converted to cash, but no funds were recovered and no culprits identified. [84] A different black market, Silk Road Two, stated that during a February two thousand fourteen hack, bitcoins valued at $Two.7 million were taken from escrow accounts. [50]

Sites where users exchange bitcoins for cash or store them in “wallets” are also targets for theft. Inputs.io, an Australian wallet service, was hacked twice in October two thousand thirteen and lost more than $1 million in bitcoins. [85] In late February two thousand fourteen Mt. Gox, one of the largest virtual currency exchanges, filed for bankruptcy in Tokyo amid reports that bitcoins worth $350 million had been stolen. [86] Flexcoin, a bitcoin storage specialist based in Alberta, Canada, shut down on March two thousand fourteen after telling it discovered a theft of about $650,000 in bitcoins. [87] Poloniex, a digital currency exchange, reported on March two thousand fourteen that it lost bitcoins valued at around $50,000. [88] In January two thousand fifteen UK-based bitstamp, the third busiest bitcoin exchange globally, was hacked and $Five million in bitcoins were stolen. [89] February two thousand fifteen witnessed a Chinese exchange named BTER lose bitcoins worth almost $Two million to hackers. [90]

A major bitcoin exchange, Bitfinex, was hacked and almost 120,000 bitcoins (around $60m) was stolen in 2016. Bitfinex was coerced to suspend its trading. The theft is the 2nd largest bitcoin heist ever, dwarfed only by Mt. Gox theft in 2014. According to Forbes, “All of Bitfinex’s customers. will stand to lose money. The company has announced a haircut of 36.067% across the board.” [91]

Bitcoin network

Bitcoin network

The bitcoin network is a peer-to-peer payment network that operates on a cryptographic protocol. Users send and receive bitcoins, the units of currency, by broadcasting digitally signed messages to the network using bitcoin cryptocurrency wallet software. Transactions are recorded into a distributed, replicated public database known as the blockchain, with consensus achieved by a proof-of-work system called “mining”. The protocol was designed in two thousand eight and released in two thousand nine as open source software by Satoshi Nakamoto, the name or pseudonym of the original developer/developer group.

The network requires minimal structure to share transactions. An ad hoc decentralized network of volunteers is sufficient. Messages are broadcast on a best effort basis, and knots can leave and rejoin the network at will. Upon reconnection, a knot downloads and verifies fresh blocks from other knots to finish its local copy of the blockchain. [1] [Two]

Contents

A bitcoin is defined by a sequence of digitally signed transactions that began with the bitcoin’s creation, as a block prize. The holder of a bitcoin transfers it by digitally signing it over to the next proprietor using a bitcoin transaction, much like endorsing a traditional bank check. A payee can examine each previous transaction to verify the chain of ownership. Unlike traditional check endorsements, bitcoin transactions are irreversible, which eliminates risk of chargeback fraud. [Three]

Albeit it is possible to treat bitcoins individually, it would be unwieldy to require a separate transaction for every bitcoin in a transaction. Transactions are therefore permitted to contain numerous inputs and outputs, [Four] permitting bitcoins to be split and combined. Common transactions will have either a single input from a larger previous transaction or numerous inputs combining smaller amounts, and one or two outputs: one for the payment, and one returning the switch, if any, to the sender. Any difference inbetween the total input and output amounts of a transaction goes to miners as a transaction fee. [1]

To form a distributed timestamp server as a peer-to-peer network, bitcoin uses a proof-of-work system. [Two] The work in this system is what is often referred to as bitcoin mining. The signature is discovered rather than provided by skill. [Five] This process is energy intensive. [6] Electric current can consume more than 90% of operating costs for miners. [7] A data center in China, planned mostly for bitcoin mining, is expected to require up to one hundred thirty five MW of power. [8]

The rule of requiring a proof-of-work to provide the signature for the blockchain was Satoshi Nakamoto’s key innovation. [Five] The mining process involves identifying a block that when hashed twice with SHA-256, yields a number smaller than the given difficulty target. While the average work required increases in inverse proportion to the difficulty target, a hash can always be verified by executing a single round of dual SHA-256.

For the bitcoin timestamp network, a valid “proof-of-work” is found by incrementing a nonce until a value is found that gives the block’s hash the required number of leading zero bits. Once the hashing has produced a valid result, the block cannot be switched without redoing the work. As later blocks are chained after it, the work to switch the block would include redoing the work for each subsequent block.

Majority consensus in bitcoin is represented by the longest chain, which required the greatest amount of effort to produce. If a majority of computing power is managed by fair knots, the fair chain will grow fastest and outpace any challenging chains. To modify a past block, an attacker would have to redo the proof-of-work of that block and all blocks after it and then surpass the work of the fair knots. The probability of a slower attacker catching up diminishes exponentially as subsequent blocks are added. [Two]

To compensate for enhancing hardware speed and varying interest in running knots over time, the difficulty of finding a valid hash is adjusted harshly every two weeks. If blocks are generated too quickly, the difficulty increases and more hashes are required to make a block and to generate fresh bitcoins. [Two]

Difficulty Edit

Bitcoin mining is a competitive endeavor. An “arms race” has been observed through the various hashing technologies that have been used to mine bitcoins: basic CPUs, high-end GPUs common in many gaming computers, FPGAs and ASICs all have been used, each reducing the profitability of the less-specialized technology. Bitcoin-specific ASICs are now available. [9] As bitcoins become more difficult to mine, computer hardware manufacturing companies have seen an increase in sales of high-end products. [Ten]

Computing power is often bundled together or “pooled” to reduce variance in miner income. Individual mining equipments often have to wait for long periods to confirm a block of transactions and receive payment. In a pool, all participating miners get paid every time a participating server solves a block. This payment depends on the amount of work an individual miner contributed to help find that block. [11]

Bitcoin data centers choose to keep a low profile, are dispersed around the world and tend to cluster around the availability of cheap electric current. [7]

Energy consumption Edit

In 2013, Mark Gimein estimated electro-stimulation use to be about 40.9 megawatts (982 megawatt-hours a day). [12] In 2014, Hass McCook estimated 80.7 megawatts (80,666 kW). [13] As of 2015, The Economist estimated that even if all miners used modern facilities, the combined violet wand consumption would be 166.7 megawatts (1.46 terawatt-hours per year). [14]

Journalist Matt O’Brien opined that it is not evident whether bitcoin is lowering transaction costs, since the costs are transformed into pollution costs, which he characterizes as “environmental spillovers on everyone else, or what economists call negative externalities.” [15]

To lower the costs, bitcoin miners have set up in places like Iceland where geothermal energy is cheap and cooling Arctic air is free. [15] Chinese bitcoin miners are known to use hydroelectric power in Tibet to reduce electric current costs. [16]

Process Edit

A rough overview of the process to mine bitcoins is: [Two]

  1. Fresh transactions are broadcast to all knots.
  2. Each miner knot collects fresh transactions into a block.
  3. Each miner knot works on finding a proof-of-work code for its block.
  4. When a knot finds a proof-of-work, it broadcasts the block to all knots.
  5. Receiving knots validate the transactions it holds and accept only if all are valid.
  6. Knots express their acceptance by moving to work on the next block, incorporating the hash of the accepted block.

Mined bitcoins Edit

By convention, the very first transaction in a block is a special transaction that produces fresh bitcoins wielded by the creator of the block. This is the incentive for knots to support the network. [1] It provides the way to budge fresh bitcoins into circulation. The prize for mining halves every 210,000 blocks. It embarked at fifty bitcoin, dropped to twenty five in late two thousand twelve and to 12.Five bitcoin in 2016. [17] This halving process is programmed to proceed for sixty four times before fresh coin creation ceases. [17]

Various potential attacks on the bitcoin network and its use as a payment system, real or theoretical, have been considered. The bitcoin protocol includes several features that protect it against some of those attacks, such as unauthorized spending, dual spending, forging bitcoins, and tampering with the blockchain. Other attacks, such as theft of private keys, require due care by users. [Legal] [Nineteen] [20] [21] [22] [23] [24]

Unauthorized spending Edit

Unauthorized spending is mitigated by bitcoin’s implementation of public-private key cryptography. For example; when Alice sends a bitcoin to Bob, Bob becomes the fresh holder of the bitcoin. Eve observing the transaction might want to spend the bitcoin Bob just received, but she cannot sign the transaction without the skill of Bob’s private key. [Nineteen]

Dual spending Edit

A specific problem that an internet payment system must solve is double-spending, whereby a user pays the same coin to two or more different recipients. An example of such a problem would be if Eve sent a bitcoin to Alice and later sent the same bitcoin to Bob. The bitcoin network guards against double-spending by recording all bitcoin transfers in a ledger (the blockchain) that is visible to all users, and ensuring for all transferred bitcoins that they haven’t been previously spent. [Nineteen] :Four

Race attack Edit

If Eve offers to pay Alice a bitcoin in exchange for goods and signs a corresponding transaction, it is still possible that she also creates a different transaction at the same time sending the same bitcoin to Bob. By the rules, the network accepts only one of the transactions. This is called a race attack, since there is a race which transaction will be accepted very first. Alice can reduce the risk of race attack stipulating that she will not supply the goods until Eve’s payment to Alice emerges in the blockchain. [20]

A variant race attack (which has been called a Finney attack by reference to Hal Finney) requires the participation of a miner. Instead of sending both payment requests (to pay Bob and Alice with the same coins) to the network, Eve issues only Alice’s payment request to the network, while the accomplice attempts to mine a block that includes the payment to Bob instead of Alice. There is a positive probability that the rogue miner will succeed before the network, in which case the payment to Alice will be rejected. As with the plain race attack, Alice can reduce the risk of a Finney attack by waiting for the payment to be included in the blockchain. [21]

History modification Edit

Each block that is added to the blockchain, beginning with the block containing a given transaction, is called a confirmation of that transaction. Ideally, merchants and services that receive payment in bitcoin should wait for at least one confirmation to be distributed over the network, before assuming that the payment was done. The more confirmations that the merchant waits for, the more difficult it is for an attacker to successfully switch sides the transaction in a blockchain—unless the attacker controls more than half the total network power, in which case it is called a 51% attack. [22]

Deanonymisation of clients Edit

Deanonymisation is a strategy in data mining in which anonymous data is cross-referenced with other sources of data to re-identify the anonymous data source. Along with transaction graph analysis, which may expose connections inbetween bitcoin addresses (pseudonyms), [Legitimate] [23] there is a possible attack [24] which links a user’s pseudonym to its IP address. If the peer is using Tor, the attack includes a method to separate the peer from the Tor network, forcing them to use their real IP address for any further transactions. The attack makes use of bitcoin mechanisms of relaying peer addresses and anti-DoS protection. The cost of the attack on the total bitcoin network is under €1500 per month. [24]

Each miner can choose which transactions are included in or exempted from a block. [25] A greater number of transactions in a block does not equate to greater computational power required to solve that block. [25]

Upon receiving a fresh transaction a knot must validate it: in particular, verify that none of the transaction’s inputs have been previously spent. To carry out that check the knot needs to access the blockchain. Any user who does not trust his network neighbors, should keep a total local copy of the blockchain, so that any input can be verified.

As noted in Nakamoto’s whitepaper, it is possible to verify bitcoin payments without running a total network knot (simplified payment verification, SPV). A user only needs a copy of the block headers of the longest chain, which are available by querying network knots until it is apparent that the longest chain has been obtained. Then, get the Merkle branch linking the transaction to its block. Linking the transaction to a place in the chain demonstrates that a network knot has accepted it, and blocks added after it further establish the confirmation. [1]

While it is possible to store any digital file in the blockchain, the larger the transaction size, the larger any associated fees become. [26] Various items have been embedded, including URLs to child pornography, an ASCII art pic of Ben Bernanke, material from the Wikileaks cables, prayers from bitcoin miners, and the original bitcoin whitepaper. [27]

The use of bitcoin by criminals has attracted the attention of financial regulators, legislative bods, law enforcement, and the media. [28] The FBI ready an intelligence assessment, [29] the SEC has issued a pointed warning about investment schemes using virtual currencies, [28] and the U.S. Senate held a hearing on virtual currencies in November 2013. [30]

Several news outlets have asserted that the popularity of bitcoins hinges on the capability to use them to purchase illegal goods. [31] [32] In 2014, researchers at the University of Kentucky found “sturdy evidence that computer programming enthusiasts and illegal activity drive interest in bitcoin, and find limited or no support for political and investment motives.” [33]

Black markets Edit

A CMU researcher estimated that in 2012, Four.5% to 9% of all transactions on all exchanges in the world were for drug trades on a single dark web drugs market, Silk Road. [34] Child pornography, [35] murder-for-hire services, [36] and weapons [37] are also allegedly available on black market sites that sell in bitcoin. Due to the anonymous nature and the lack of central control on these markets, it is hard to know whether the services are real or just attempting to take the bitcoins. [38]

Several deep web black markets have been shut by authorities. In October two thousand thirteen Silk Road was shut down by U.S. law enforcement [39] [40] [41] leading to a short-term decrease in the value of bitcoin. [42] In 2015, the founder of the site was sentenced to life in prison. [43] Alternative sites were soon available, and in early two thousand fourteen the Australian Broadcasting Corporation reported that the closure of Silk Road had little influence on the number of Australians selling drugs online, which had actually enhanced. [44] In early 2014, Dutch authorities closed Utopia, an online illegal goods market, and seized nine hundred bitcoins. [45] In late 2014, a joint police operation witnessed European and American authorities seize bitcoins and close four hundred deep web sites including the illicit goods market Silk Road Two.0. [46] Law enforcement activity has resulted in several convictions. In December 2014, Charlie Shrem was sentenced to two years in prison for indirectly helping to send $1 million to the Silk Road drugs site, [47] and in February 2015, its founder, Ross Ulbricht, was convicted on drugs charges and faces a life sentence. [48]

Some black market sites may seek to steal bitcoins from customers. The bitcoin community branded one site, Sheep Marketplace, as a scam when it prevented withdrawals and shut down after an alleged bitcoins theft. [49] In a separate case, escrow accounts with bitcoins belonging to patrons of a different black market were hacked in early 2014. [50]

According to the Internet Observe Foundation, a UK-based charity, bitcoin is used to purchase child pornography, and almost two hundred such websites accept it as payment. Bitcoin isn’t the foot way to purchase child pornography online, as Troels Oertling, head of the cybercrime unit at Europol, states, “Ukash and Paysafecard. have [also] been used to pay for such material.” However, the Internet See Foundation lists around thirty sites that exclusively accept bitcoins. [35] Some of these sites have shut down, such as a deep web crowdfunding website that aimed to fund the creation of fresh child porn. [51] [ better source needed ] Furthermore, hyperlinks to child porn websites have been added to the blockchain as arbitrary data can be included when a transaction is made. [52] [53]

Malware Edit

Malware stealing Edit

Some malware can steal private keys for bitcoin wallets permitting the bitcoins themselves to be stolen. The most common type searches computers for cryptocurrency wallets to upload to a remote server where they can be cracked and their coins stolen. [54] Many of these also log keystrokes to record passwords, often avoiding the need to crack the keys. [54] A different treatment detects when a bitcoin address is copied to a clipboard and quickly substitutes it with a different address, tricking people into sending bitcoins to the wrong address. [55] This method is effective because bitcoin transactions are irreversible. [56] :57

One virus, spread through the Pony botnet, was reported in February two thousand fourteen to have stolen up to $220,000 in cryptocurrencies including bitcoins from eighty five wallets. [57] Security company Trustwave, which tracked the malware, reports that its latest version was able to steal thirty types of digital currency. [58]

A type of Mac malware active in August 2013, Bitvanity posed as a vanity wallet address generator and stole addresses and private keys from other bitcoin client software. [59] A different trojan for macOS, called CoinThief was reported in February two thousand fourteen to be responsible for numerous bitcoin thefts. [59] The software was hidden in versions of some cryptocurrency apps on Download.com and MacUpdate. [59]

Ransomware Edit

Some ransomware request payment in bitcoin. One program called CryptoLocker, typically spread through legitimate-looking email attachments, encrypts the hard drive of an infected computer, then displays a countdown timer and requests a ransom, usually two bitcoins, to decrypt it. [60] Massachusetts police said they paid a two bitcoin ransom in November 2013, worth more than $1,300 at the time, to decrypt one of their hard drives. [61] Linkup, a combination ransomware and bitcoin mining program that surfaced in February 2014, disables internet access and requests credit card information to restore it, while secretly mining bitcoins. [60] Bitcoin is presently being used as the ransom medium of choice in the WannaCry ransomware hack hitting many buildings in Asia and Europe. [62]

Unauthorized mining Edit

In June 2011, Symantec warned about the possibility that botnets could mine covertly for bitcoins. [63] Malware used the parallel processing capabilities of GPUs built into many modern movie cards. [64] Albeit the average PC with an integrated graphics processor is virtually worthless for bitcoin mining, ems of thousands of PCs laden with mining malware could produce some results. [65]

In mid-August 2011, bitcoin mining botnets were detected, [66] and less than three months later, bitcoin mining trojans had infected Mac OS X. [67]

In April 2013, electronic sports organization E-Sports Entertainment was accused of hijacking 14,000 computers to mine bitcoins; the company later lodged the case with the State of Fresh Jersey. [68]

German police arrested two people in December two thousand thirteen who customized existing botnet software to perform bitcoin mining, which police said had been used to mine at least $950,000 worth of bitcoins. [Sixty-nine]

For four days in December two thousand thirteen and January 2014, Yahoo! Europe hosted an ad containing bitcoin mining malware that infected an estimated two million computers. [70] The software, called Sefnit, was very first detected in mid-2013 and has been bundled with many software packages. Microsoft has been removing the malware through its Microsoft Security Essentials and other security software. [71]

Several reports of employees or students using university or research computers to mine bitcoins have been published. [72]

Money laundering Edit

Bitcoins may not be ideal for money laundering, because all transactions are public. [73] Authorities, including the European Banking Authority [74] the FBI, [29] and the Financial Act Task Force of the G7 [75] have voiced concerns that bitcoin may be used for money laundering. In early 2014, an operator of a U.S. bitcoin exchange, Charlie Shrem, was arrested for money laundering. [76] Subsequently, he was sentenced to two years in prison for “aiding and abetting an unlicensed money transmitting business”. [47] A report by UK’s Treasury and Home Office named “UK national risk assessment of money laundering and terrorist financing” (2015 October) found that, of the twelve methods examined in the report, bitcoin carries the lowest risk of being used for money laundering, with the most common money laundering method being the banks. [77]

Ponzi scheme Edit

In a Ponzi scheme that utilized bitcoins, The Bitcoin Savings and Trust promised investors up to seven percent weekly interest, and raised at least 700,000 bitcoins from two thousand eleven to 2012. [78] In July two thousand thirteen the U.S. Securities and Exchange Commission charged the company and its founder in two thousand thirteen “with defrauding investors in a Ponzi scheme involving bitcoin”. [78] In September two thousand fourteen the judge fined Bitcoin Savings & Trust and its possessor $40 million for operating a bitcoin Ponzi scheme. [79]

Theft Edit

There have been many cases of bitcoin theft. [80] One way this is accomplished involves a third party accessing the private key to a victim’s bitcoin address, [81] or of an online wallet. [82] If the private key is stolen, all the bitcoins from the compromised address can be transferred. In that case, the network does not have any provisions to identify the thief, block further transactions of those stolen bitcoins, or come back them to the legitimate holder. [83]

Theft also occurs at sites where bitcoins are used to purchase illicit goods. In late November 2013, an estimated $100 million in bitcoins were allegedly stolen from the online illicit goods marketplace Sheep Marketplace, which instantaneously closed. [84] Users tracked the coins as they were processed and converted to cash, but no funds were recovered and no culprits identified. [84] A different black market, Silk Road Two, stated that during a February two thousand fourteen hack, bitcoins valued at $Two.7 million were taken from escrow accounts. [50]

Sites where users exchange bitcoins for cash or store them in “wallets” are also targets for theft. Inputs.io, an Australian wallet service, was hacked twice in October two thousand thirteen and lost more than $1 million in bitcoins. [85] In late February two thousand fourteen Mt. Gox, one of the largest virtual currency exchanges, filed for bankruptcy in Tokyo amid reports that bitcoins worth $350 million had been stolen. [86] Flexcoin, a bitcoin storage specialist based in Alberta, Canada, shut down on March two thousand fourteen after telling it discovered a theft of about $650,000 in bitcoins. [87] Poloniex, a digital currency exchange, reported on March two thousand fourteen that it lost bitcoins valued at around $50,000. [88] In January two thousand fifteen UK-based bitstamp, the third busiest bitcoin exchange globally, was hacked and $Five million in bitcoins were stolen. [89] February two thousand fifteen witnessed a Chinese exchange named BTER lose bitcoins worth almost $Two million to hackers. [90]

A major bitcoin exchange, Bitfinex, was hacked and almost 120,000 bitcoins (around $60m) was stolen in 2016. Bitfinex was coerced to suspend its trading. The theft is the 2nd largest bitcoin heist ever, dwarfed only by Mt. Gox theft in 2014. According to Forbes, “All of Bitfinex’s customers. will stand to lose money. The company has announced a haircut of 36.067% across the board.” [91]

Related video:

Leave a Reply

Your email address will not be published. Required fields are marked *

*