Transactions are defined using a Forth-like scripting language.[7]:ch. 5 Transactions consist of one or more inputs and one or more outputs. When a user sends bitcoins, the user designates each address and the amount of bitcoin being sent to that address in an output. To prevent double spending, each input must refer to a previous unspent output in the blockchain.[81] The use of multiple inputs corresponds to the use of multiple coins in a cash transaction. Since transactions can have multiple outputs, users can send bitcoins to multiple recipients in one transaction. As in a cash transaction, the sum of inputs (coins used to pay) can exceed the intended sum of payments. In such a case, an additional output is used, returning the change back to the payer.[81] Any input satoshis not accounted for in the transaction outputs become the transaction fee.[81]
The first decentralized cryptocurrency, bitcoin, was created in 2009 by pseudonymous developer Satoshi Nakamoto. It used SHA-256, a cryptographic hash function, as its proof-of-work scheme.[14][15] In April 2011, Namecoin was created as an attempt at forming a decentralized DNS, which would make internet censorship very difficult. Soon after, in October 2011, Litecoin was released. It was the first successful cryptocurrency to use scrypt as its hash function instead of SHA-256. Another notable cryptocurrency, Peercoin was the first to use a proof-of-work/proof-of-stake hybrid.[16]
All of those factors make mining cryptocurrencies an extremely competitive arms race that rewards early adopters. However, depending on where you live, profits made from mining can be subject to taxation and Money Transmitting regulations. In the US, the FinCEN has issued a guidance, according to which mining of cryptocurrencies and exchanging them for flat currencies may be considered money transmitting. This means that miners might need to comply with special laws and regulations dealing with this type of activities.
Various journalists,[213][218] economists,[219][220] and the central bank of Estonia[221] have voiced concerns that bitcoin is a Ponzi scheme. In April 2013, Eric Posner, a law professor at the University of Chicago, stated that "a real Ponzi scheme takes fraud; bitcoin, by contrast, seems more like a collective delusion."[222] A July 2014 report by the World Bank concluded that bitcoin was not a deliberate Ponzi scheme.[223]:7 In June 2014, the Swiss Federal Council[224]:21 examined the concerns that bitcoin might be a pyramid scheme; it concluded that, "Since in the case of bitcoin the typical promises of profits are lacking, it cannot be assumed that bitcoin is a pyramid scheme." In July 2017, billionaire Howard Marks referred to bitcoin as a pyramid scheme.[225]
To lower the costs, bitcoin miners have set up in places like Iceland where geothermal energy is cheap and cooling Arctic air is free.[213] Bitcoin miners are known to use hydroelectric power in Tibet, Quebec, Washington (state), and Austria to reduce electricity costs.[212][214] Miners are attracted to suppliers such as Hydro Quebec that have energy surpluses.[215] According to a University of Cambridge study, much of bitcoin mining is done in China, where electricity is subsidized by the government.[216][217]
On 3 January 2009, the bitcoin network was created when Nakamoto mined the first block of the chain, known as the genesis block.[25][26] Embedded in the coinbase of this block was the text "The Times 03/Jan/2009 Chancellor on brink of second bailout for banks".[16] This note references a headline published by The Times and has been interpreted as both a timestamp and a comment on the instability caused by fractional-reserve banking.[27]:18