The U.S. Commodity Futures Trading Commission has issued four "Customer Advisories" for bitcoin and related investments. A July 2018 warning emphasized that trading in any cryptocurrency is often speculative, and there is a risk of theft from hacking, and fraud. A February 2018 advisory warned against investing an IRA fund into virtual currencies. A December 2017 advisory warned that virtual currencies are risky because:
Mining is the process of adding transaction records to Bitcoin's public ledger of past transactions (and a "mining rig" is a colloquial metaphor for a single computer system that performs the necessary computations for "mining". This ledger of past transactions is called the block chain as it is a chain of blocks. The blockchain serves to confirm transactions to the rest of the network as having taken place. Bitcoin nodes use the blockchain to distinguish legitimate Bitcoin transactions from attempts to re-spend coins that have already been spent elsewhere.
Technically, during mining, the Bitcoin mining software runs two rounds of SHA256 cryptographic hashing function on the block header. The mining software uses different numbers called the nonce as the random element of the block header for each new hash that is tried. Depending on the nonce and what else is in the block the hashing function will yield a hash of a 64-bit hexadecimal number. To create a valid block, the mining software has to find a hash that is below the difficulty target.