BTC Ownership

In the blockchain, bitcoins are registered to bitcoin addresses. Creating a bitcoin address requires nothing more than picking a random valid private key and computing the corresponding bitcoin address. This computation can be done in a split second. But the reverse, computing the private key of a given bitcoin address, is practically unfeasible.[7]: ch. 4  Users can tell others or make public a bitcoin address without compromising its corresponding private key. Moreover, the number of valid private keys is so vast that it is extremely unlikely someone will compute a key pair that is already in use and has funds. The vast number of valid private keys makes it unfeasible that brute force could be used to compromise a private key. To be able to spend their bitcoins, the owner must know the corresponding private key and digitally sign the transaction.[d] The network verifies the signature using the public key; the private key is never revealed.[7]: ch. 5 

If the private key is lost, the bitcoin network will not recognize any other evidence of ownership;[29] the coins are then unusable, and effectively lost. For example, in 2013 one user claimed to have lost ₿7,500, worth $7.5 million at the time, when he accidentally discarded a hard drive containing his private key.[36] About 20% of all bitcoins are believed to be lost—they would have had a market value of about $20 billion at July 2018 prices.[37]

To ensure the security of bitcoins, the private key must be kept secret.[7]: ch. 10  If the private key is revealed to a third party, e.g. through a data breach, the third party can use it to steal any associated bitcoins.[38] As of December 2017, around ₿980,000 have been stolen from cryptocurrency exchanges.[39]

Regarding ownership distribution, as of 28 December 2022, 9.62% of bitcoin addresses own 98.51% of all bitcoins ever mined.[40] The largest of these addresses are thought to belong to exchanges, which are keeping their bitcoin in cold storage.

Mining

Mining is a record-keeping service done through the use of computer processing power.[f] 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.[28] Each block contains a SHA-256 cryptographic hash of the previous block,[28] thus linking it to the previous block and giving the blockchain its name.[7]: ch. 7 [28]

To be accepted by the rest of the network, a new block must contain a proof-of-work (PoW).[28][g] The PoW requires miners to find a number called a nonce (a number used just once), such that when the block content is hashed along with the nonce, the result is numerically smaller than the network's difficulty target.[7]: ch. 8  This PoW is easy for any node in the network to verify, but extremely time-consuming to generate. Miners must try many different nonce values (usually the sequence of tested values is the ascending natural numbers: 0, 1, 2, 3, ...) before a result happens to be less than the difficulty target. Because the difficulty target is extremely small compared to a typical SHA-256 hash, block hashes have many leading zeros[7]: ch. 8  as can be seen in this example block hash:

0000000000000000000590fc0f3eba193a278534220b2b37e9849e1a770ca959

By adjusting this difficulty target, the amount of work needed to generate a block can be changed. Every 2,016 blocks (approximately 14 days given roughly 10 minutes per block), nodes deterministically adjust the difficulty target based on the recent rate of block generation, with the aim of keeping the average time between new blocks at ten minutes. In this way the system automatically adapts to the total amount of mining power on the network.[7]: ch. 8  As of April 2022, it takes on average 122 sextillion (122 thousand billion billion) attempts to generate a block hash smaller than the difficulty target.[47][better source needed] Computations of this magnitude are extremely expensive and utilize specialized hardware.[48]

The proof-of-work system, alongside the chaining of blocks, makes modifications to the blockchain extremely hard, as an attacker must modify all subsequent blocks in order for the modifications of one block to be accepted.[49] As new blocks are being generated continuously, the difficulty of modifying an old block increases as time passes and the number of subsequent blocks (also called confirmations of the given block) increases.[28]

The vast majority of mining power is grouped together in mining pools to reduce variance in miner income. Independent miners may have to work for several years to mine a single block of transactions and receive payment. In a mining pool, all participating miners get paid every time any participant generates a block. This payment is proportionate to the amount of work an individual miner contributed to the pool.

https://opensea.io/assets/0x17c04E7656B2Ac654C9F02889667E7bB49fe7459/1