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
A “wallet” is basically the Bitcoin equivalent of a bank account. It allows you to receive bitcoins, store them, then send them to others. There are two main types of wallets, software and web. A software wallet is one that you install on your own computer or mobile device. You are in complete control over the security of your coins, but such wallets can sometimes be tricky to install and maintain.A web wallet, or hosted wallet, is one that is hosted by a third party. These are often much easier to use, but you have to trust the provider (host) to maintain high levels of security to protect your coins.
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 nodes can leave and rejoin the network at will. Upon reconnection, a node downloads and verifies new blocks from other nodes to complete its local copy of the blockchain.[2][3]

Exchanges, however, are a different story. Perhaps the most notable Bitcoin exchange hack was the Tokyo-based MtGox hack in 2014, where 850,000 bitcoins with a value of over $350 million suddenly disappeared from the platform. This doesn’t mean that Bitcoin itself was hacked; it just means that the exchange platform was hacked. Imagine a bank in Iowa is robbed: the USD didn’t get robbed, the bank did.
Bitcoin is a digital asset designed to work in peer-to-peer transactions as a currency.[5][128] Bitcoins have three qualities useful in a currency, according to The Economist in January 2015: they are "hard to earn, limited in supply and easy to verify".[129] However, as of 2015 bitcoin functions more as a payment processor than as a currency.[130][30]

Bitcoin mining is the process through which bitcoins are released to come into circulation. Basically, it involves solving a computationally difficult puzzle to discover a new block, which is added to the blockchain, and receiving a reward in the form of few bitcoins. The block reward was 50 new bitcoins in 2009; it decreases every four years. As more and more bitcoins are created, the difficulty of the mining process – that is, the amount of computing power involved – increases. The mining difficulty began at 1.0 with Bitcoin's debut back in 2009; at the end of the year, it was only 1.18. As of April 2017, the mining difficulty is over 4.24 billion. Once, an ordinary desktop computer sufficed for the mining process; now, to combat the difficulty level, miners must use faster hardware like Application-Specific Integrated Circuits (ASIC), more advanced processing units like Graphic Processing Units (GPUs), etc.

This bizarre process might not seem like it would need that much electricity—and in the early years, it didn’t. When he first started in 2012, Carlson was mining bitcoin on his gaming computer, and even when he built his first real dedicated mining rig, that machine used maybe 1,200 watts—about as much as a hairdryer or a microwave oven. Even with Seattle’s electricity prices, Carlson was spending around $2 per bitcoin, which was then selling for around $12. In fact, Carlson was making such a nice profit that he began to dream about running a bunch of servers and making some serious money. He wasn’t alone. Across the expanding bitcoin universe, lots of miners were thinking about scaling up, turning their basements and spare bedrooms into jury-rigged data centers. But most of these people were thinking small, like maybe 10 kilowatts, about what four normal households might use. Carlson’s idea was to leapfrog the basement phase and go right to a commercial-scale bitcoin mine that was huge: 1,000 kilowatts. “I started to have this dream, that I was posting on online forums, ‘I think I could build the first megawatt-scale mine.’”
To heighten financial privacy, a new bitcoin address can be generated for each transaction.[113] 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.[114] 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.[115] "Bulletproofs," a version of Confidential Transactions proposed by Greg Maxwell, have been tested by Professor Dan Boneh of Stanford.[116] 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.
Instead, the ledger is broken up into blocks: discrete transaction logs that contain 10 minutes worth of bitcoin activity apiece. Every block includes a reference to the block that came before it, and you can follow the links backward from the most recent block to the very first block, when bitcoin creator Satoshi Nakamoto conjured the first bitcoins into existence.
Bitcoin may react differently to inflation/deflation: Bitcoin differs significantly from fiat currencies, due to the fact that there is a limited number of bitcoins to be mined. Paper money, on the other hand, can be created at will out of thin air by central banks. Due to its limited supply, Bitcoin may potentially hold its value better than paper money, which can technically have an unlimited supply.
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 amount of new bitcoin released with each mined block is called the block reward. The block reward is halved every 210,000 blocks, or roughly every 4 years. The block reward started at 50 in 2009, is now 12.5 in 2018, and will continue to decrease. This diminishing block reward will result in a total release of bitcoin that approaches 21 million.  

In September 2015, the establishment of the peer-reviewed academic journal Ledger (ISSN 2379-5980) was announced. It covers studies of cryptocurrencies and related technologies, and is published by the University of Pittsburgh.[239] The journal encourages authors to digitally sign a file hash of submitted papers, which will then be timestamped into the bitcoin blockchain. Authors are also asked to include a personal bitcoin address in the first page of their papers.[240][241]

Mining is a record-keeping service done through the use of computer processing power.[e] Miners keep the blockchain consistent, complete, and unalterable by repeatedly grouping newly broadcast transactions into a block, which is then broadcast to the network and verified by recipient nodes.[64] Each block contains a SHA-256 cryptographic hash of the previous block,[64] thus linking it to the previous block and giving the blockchain its name.[3]:ch. 7[64]
2-3 Wallet: A 2-3 multisig wallet could be used to create secure offline storage with paper wallets or hardware wallets. Users should already backup their offline Bitcoin holdings in multiple locations, and multisig helps add another level of security. A user, for example, may keep a backup of a paper wallet in three separate physical locations. If any single location is compromised the user’s funds can be stolen. Multisignature wallets improve upon this by requiring instead any two of the three backups to spend funds--in the case of a 2-3 multisig wallet. The same setup can be created with any number of signatures. A 5-9 wallet would require any five of the nine signatures in order to spend funds.
In parts of the basin, utility crews now actively hunt unpermitted miners, in a manner not unlike the way police look for indoor cannabis farms. The biggest giveaway, Stoll says, is a sustained jump in power use. But crews have learned to look, and listen, for other telltales, such as “fans that are exhausting out of the garage or a bedroom.” In any given week, the utility flushes out two to five suspected miners, Stoll says. Some come clean. They pay for permits and the often-substantial wiring upgrades, or they quit. But others quietly move their servers to another residential location and plug back in. “It’s a bit of a cat-and-mouse game,” Stoll admits.

The receiver of the first bitcoin transaction was cypherpunk Hal Finney, who created the first reusable proof-of-work system (RPOW) in 2004.[21] Finney downloaded the bitcoin software on its release date, and on 12 January 2009 received ten bitcoins from Nakamoto.[22][23] Other early cypherpunk supporters were creators of bitcoin predecessors: Wei Dai, creator of b-money, and Nick Szabo, creator of bit gold.[24] In 2010, the first known commercial transaction using bitcoin occurred when programmer Laszlo Hanyecz bought two Papa John's pizzas for 10,000 bitcoin.[25]