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, double spending, forging bitcoins, and tampering with the blockchain. Other attacks, such as theft of private keys, require due care by users.
If you have the required hardware, you can mine bitcoin even if you are not a miner. There are different ways one can mine bitcoin such as cloud mining, mining pool, etc. For cloud mining, all you need to do is to connect to the datacenter and start mining. The good thing about this is that you can mine from anywhere and you don’t need a physical hardware to mine.
The Bitcoin network shares a public ledger called "blockchain". This ledger contains every transaction ever processed, allowing a user's computer to verify the validity of each transaction. The authenticity of each transaction is protected by digital signatures corresponding to sending addresses, allowing all users to have full control over sending Bitcoins from their own Bitcoin addresses. In addition, anyone can process transactions using the computing power of specialized hardware and earn a reward in Bitcoins for this service. This is often called "mining".
Lightweight clients consult full clients to send and receive transactions without requiring a local copy of the entire blockchain (see simplified payment verification – SPV). This makes lightweight clients much faster to set up and allows them to be used on low-power, low-bandwidth devices such as smartphones. When using a lightweight wallet, however, the user must trust the server to a certain degree, as it can report faulty values back to the user. Lightweight clients follow the longest blockchain and do not ensure it is valid, requiring trust in miners.
You can buy bitcoins at online exchanges similar to a paypal account. Companies like Coinbase allow you to buy bitcoin with a credit card along with wire transfers, checks and ACH. You can also use professional exchanges like Coinbase Pro that allow for institutional investors and experienced traders to trade in high volumes in a variety of cryptocurrencies with minimal fees.
The attraction then, as now, was the Columbia River, which we can glimpse a few blocks to our left. Bitcoin mining—the complex process in which computers solve a complicated math puzzle to win a stack of virtual currency—uses an inordinate amount of electricity, and thanks to five hydroelectric dams that straddle this stretch of the river, about three hours east of Seattle, miners could buy that power more cheaply here than anywhere else in the nation. Long before locals had even heard the words “cryptocurrency” or “blockchain,” Miehe and his peers realized that this semi-arid agricultural region known as the Mid-Columbia Basin was the best place to mine bitcoin in America—and maybe the world.
From a widespread adoption standpoint: for the typical consumer, Bitcoin is technically challenging and cumbersome to use for the inexperienced. They also forfeit the consumer protections afforded by traditional credit and debt cards. Merchants already have incentive to accept it in the form of reduced fees for accepting payments over typical payment processors.
In the earliest days of Bitcoin, mining was done with CPUs from normal desktop computers. Graphics cards, or graphics processing units (GPUs), are more effective at mining than CPUs and as Bitcoin gained popularity, GPUs became dominant. Eventually, hardware known as an ASIC, which stands for Application-Specific Integrated Circuit, was designed specifically for mining bitcoin. The first ones were released in 2013 and have been improved upon since, with more efficient designs coming to market. Mining is competitive and today can only be done profitably with the latest ASICs. When using CPUs, GPUs, or even the older ASICs, the cost of energy consumption is greater than the revenue generated.
To heighten financial privacy, a new bitcoin address can be generated for each transaction. For example, hierarchical deterministic wallets generate pseudorandom "rolling addresses" for every transaction from a single seed, while only requiring a single passphrase to be remembered to recover all corresponding private keys. Researchers at Stanford and Concordia universities have also shown that bitcoin exchanges and other entities can prove assets, liabilities, and solvency without revealing their addresses using zero-knowledge proofs. "Bulletproofs," a version of Confidential Transactions proposed by Greg Maxwell, have been tested by Professor Dan Boneh of Stanford. Other solutions such Merkelized Abstract Syntax Trees (MAST), pay-to-script-hash (P2SH) with MERKLE-BRANCH-VERIFY, and "Tail Call Execution Semantics", have also been proposed to support private smart contracts.