How did the first bitcoin dig
bitcoin is the first distributed virtual currency
to mine bitcoin, you can download the special bitcoin computing tools, register various cooperation websites, fill the registered user name and password into the computing program, and then click the operation to officially start. After completing the installation of bitcoin client, you can directly obtain a bitcoin address. When others pay, you only need to paste the address to others, and you can pay through the same client
after installing the bitcoin client, it will assign a private key and a public key. You need to back up the wallet data containing your private key to ensure that your property is not lost. Unfortunately, if the hard disk is completely formatted, personal bitcoin will be completely lost
extended information:
as a virtual commodity, bitcoin itself has no national boundaries, and its operation mode is a "decentralized" monetary system, which is very convenient for one-time large transaction. Bitcoin is traded through the network, and the owner's identity is only in the form of a set of encrypted computer code
in the operation, input a digital address directly, click the mouse a few times, and wait for the confirmation of the transaction to complete the transaction. The network can only record which address a bitcoin was g up from and how it was transferred
however, the identity of the owners of these addresses can not be verified, which is just like when money goes to an ownerless bank account, the relevant transactions can easily be invisible from the perspective of government supervision, and it is difficult to be tracked or intercepted. In addition, bitcoin can evade the scrutiny of exchange control institutions required by normal cross-border remittance, and the transaction records will not be recorded by banks and other parties
naturally, the problem of reporting to relevant departments after the transaction exceeds a certain amount is avoided. Buy bitcoin with domestic currency, sell it on foreign trading platforms, and withdraw it in US dollars. Asset transfer can be completed in a few minutes
it is not difficult to open an overseas bank account related to bitcoin for foreign exchange, and the conversion is very convenient. Because of these characteristics, bitcoin has been chosen by criminal organizations
in the metaphor of RMB, bitcoin is the serial number of RMB. If you know the serial number of a note, you have the note. The process of mining is to constantly seek the special solution of this equation system through a huge amount of calculation. This equation system is designed to have only 21 million special solutions, so the upper limit of bitcoin is 21 million
to mine bitcoin, you can download the special bitcoin computing tools, register various cooperation websites, fill the registered user name and password into the computing program, and then click the operation to officially start
after completing the installation of bitcoin client, you can directly obtain a bitcoin address. When others pay, you only need to post the address to others, and you can pay through the same client. After installing the bitcoin client, it will distribute a private key and a public key. You need to back up your wallet data containing your private key to ensure that your property is not lost. Unfortunately, if the hard disk is completely formatted, personal bitcoin will be completely lost.
Step 1: prepare mining machines and pools
if you want to dig bitcoin, you must prepare professional equipment. At present, there are many professional mining machines on the market, and the pool is also essential. When you choose a pool, you should also compare the output and income gap of each pool, and then choose the most suitable one
Step 2: register and set the mine account
after the mine is ready, register the mine account and set a common email. When setting the mine account, each CPU or GPU needs to set a mine account
Step 3: download the bitcoin miner
after you register and set up your account, you need to download the bitcoin miner. When downloading the miner, be sure to choose the miner that can make your CPU and graphics card play the most function. After downloading, set the server, user name, password, device and so on
Step 4: Mining
after setting up the miner, click the "start mining" button, the miner will enter the state of full speed operation, and the miner will start mining automatically.
When bitcoin nodes connect with each other, they will get transactions they don't have from each other. But because bitcoin has accumulated a large number of transactions for a long time, it is very difficult for two nodes to compare which transactions you are missing / which transactions I am missing one by one
to solve this problem, Nakamoto Tsung invented the important technology of block chain. Nodes use blocks to synchronize transactions, which ensures the data consistency of all nodes, and ensures the uniqueness of the blockchain by competing for block packing rights (that is, mining)
① a block and blockchain
a packet formed by a transaction over a period of time is called a block. On average, bitcoin generates a block every 10 minutes, and each block is linked to the previous block to form a blockchain
② the transaction data is synchronized with the block as a unit
the block is numbered from 1, so after node a connects with node B, it is convenient to synchronize the transaction data as long as the block number height of both parties is checked. For example, if node A's own block height is 100 and node B's block height is 110, all it needs to do is request B to synchronize the 10 blocks 101-110<
③ reward for packed blocks
in order to ensure that there are nodes to pack bitcoin transactions, bitcoin rules stipulate that nodes of packed transactions will receive bitcoin as reward
A. part of the package reward comes from the transaction fee paid by the transaction creator (100-1000 transaction fee per KB)
B. the other part comes from the initial distribution of 21 million bitcoins. At the beginning, the reward is 50 bitcoins for each block. After that, the reward will be halved for every 210000 blocks (about four years). Until about 2140, the reward for each block is less than 1, and the total reward for each block is 21 million bitcoins, This is the source of the total amount of 21 million bitcoins (2099999.97690000 to be exact)
after 2140, the package reward will only come from the transaction fee paid by the transaction creator<
④ competition for block packing right
node packing transaction only needs to consume very low-cost network and computing resources. The existence of packing reward (at present, the packing reward for each block is 25 bitcoin, about 40000 yuan), makes a large number of nodes want to pack transactions. In order to ensure the uniqueness of the blockchain, bitcoin rules stipulate that nodes use a method similar to "coin tossing" to compete for the right of transaction packaging. Nodes constantly toss coins. Whoever first throws the results that meet the rules will get the right to pack the transaction in this block, as well as the package reward of this block
I wish you progress in your study! Hope to adopt Hee hee
you are not well informed.
CPU mining → GPU mining → professional miner mining → mine pool mining
on January 3, 2009, the founder of bitcoin, Nakamoto Tsung, g up the first batch of bitcoin with computer CPU
with the recognition of bitcoin, more and more people are mining, the computing power of the whole network is rising, and the difficulty of mining is graally rising
the first graphics card mining software was released on September 18, 2010. A graphics card is equivalent to dozens of CPUs, and the mining capacity has been significantly improved
later, someone invented a professional mining equipment based on mining chip, namely mining machine. At present, the instry-leading ant miner is equipped with nearly 200 bm1387 chips, which is equivalent to the computing power of more than 30000 GPUs
as more mining machines are added to mining, it is difficult for a single mining machine to dig bitcoin. As a result, the miners concentrated their mining machines and formed mines and pools.