Transactions are defined using a Forth-like scripting language.[3]: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.[67] 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.[67] Any input satoshis not accounted for in the transaction outputs become the transaction fee.[67]
The use of bitcoin by criminals has attracted the attention of financial regulators, legislative bodies, law enforcement, and the media.[220] In the United States, the FBI prepared an intelligence assessment,[221] the SEC issued a pointed warning about investment schemes using virtual currencies,[220] and the U.S. Senate held a hearing on virtual currencies in November 2013.[222] The U.S. government claimed that bitcoin was used to facilitate payments related to Russian interference in the 2016 United States elections.[223]

Correction (Dec. 18, 2013): An earlier version of this article incorrectly stated that the long pink string of numbers and letters in the interactive at the top is the target output hash your computer is trying to find by running the mining script. In fact, it is one of the inputs that your computer feeds into the hash function, not the output it is looking for.

Bitcoin (BTC) is a cryptocurrency which is regarded as the world’s first decentralized digital currency. It was created by a pseudonymous person or persons named Satoshi Nakamoto in 2009 and has since gone on to become the world’s most popular cryptocurrency by market cap. Bitcoin is a deflationary currency whose issuance is capped at a total supply of 21 million coins. Each Bitcoin can be divided into one million units, with the smallest unit of 0.00000001 known as a satoshi in homage to its creator. The distributed public ledger that Bitcoin uses to record transactions is known as a blockchain and Bitcoin can be spent at over 100,000 online merchants and can also be held as an investment. Bitcoin is traded for fiat and other cryptocurrencies on various exchanges but can also be used to facilitate p2p transactions. Each transaction incurs a small transaction fee to cover the cost of sending Bitcoin over the blockchain ledger, with the fee going to miners tasked with keeping the network secure.
Illiquidity. This is mostly moot due to Bitcoin’s $47 market cap but it still makes users sweat. It’s highly unlikely that Bitcoin’s price would plummet and you’d be unable to take action, but it’s still unsettling.  As more investors invest, however, illiquidity becomes a negligible risk, as there will likely always be a buyer for Bitcoins waiting.
Bitcoin's price is also quite dependent on the size of its mining network, since the larger the network is, the more difficult – and thus more costly – it is to produce new bitcoins. As a result, the price of bitcoin has to increase as its cost of production also rises. The Bitcoin mining network's aggregate power has more than tripled over the past twelve months.
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 the primary method of mining bitcoin and have surpassed GPU speed by as much as 300 fold. As bitcoins have become more difficult to mine, computer hardware manufacturing companies have seen an increase in sales of high-end ASIC products.[7]
Miners found other advantages. The cool winters and dry air helped reduce the need for costly air conditioning to prevent their churning servers from overheating. As a bonus, the region was already equipped with some of the nation’s fastest high-speed internet, thanks to the massive fiber backbone the data centers had installed. All in all, recalls Miehe, the basin was bitcoin’s “killer app.”
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.[14]:4
Jump up ^ Mooney, Chris; Mufson, Steven (19 December 2017). "Why the bitcoin craze is using up so much energy". The Washington Post. Archived from the original on 9 January 2018. Retrieved 11 January 2018. several experts told The Washington Post that bitcoin probably uses as much as 1 to 4 gigawatts, or billion watts, of electricity, roughly the output of one to three nuclear reactors.

Bitcoin mining is the process by which the transaction information distributed within the Bitcoin network is validated and stored on the blockchain. Bitcoin mining serves to both add transactions to the block chain and to release new Bitcoin. The concept of Bitcoin mining is simply the process of generating additional Bitcoins until the supply cap of 21 million coins has been reached.  What makes the validation process for Bitcoin different from traditional electronic payment networks is the absence of middle man in the architecture. The process of validating transactions and committing them to the blockchain involves solving a series of specialized math puzzles. In the process of adding transactions to the network and securing them into the blockchain, each set of transactions that are processed is called block, and multiple chains of blocks is referred to as the blockchain.
The bitcoin blockchain is a public ledger that records bitcoin transactions.[64] It is implemented as a chain of blocks, each block containing a hash of the previous block up to the genesis block[a] of the chain. A network of communicating nodes running bitcoin software maintains the blockchain.[30]:215–219 Transactions of the form payer X sends Y bitcoins to payee Z are broadcast to this network using readily available software applications.