Bitcoin Web Mining
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
1. First of all, connect the network cable, plug the network cable into the network cable interface of the mining machine, and remember to plug it tightly. Only when the miner is connected to the Internet, there is no limit to the broadband
extended data
users can buy bitcoin, at the same time, they can also use computers to "mine" bitcoin according to a large number of calculations. When users "mine" bitcoin, they need to use the computer to search for 64 bit numbers, and then compete with other gold miners by repeatedly solving puzzles to provide the required numbers for the bitcoin network. If the user's computer successfully creates a set of numbers, then they will get 25 bitcoins
e to the decentralized programming adopted by the bitcoin system, only 25 bitcoins can be obtained every 10 minutes, and by 2140, the maximum number of bitcoins in circulation will reach 21 million. In other words, bitcoin system is able to achieve self-sufficiency, resist inflation through coding, and prevent others from destroying these codes
1. First of all, connect the network cable, plug the network cable into the network cable interface of the mining machine, and remember to plug it tightly. Only when the miner is connected to the Internet, there is no limit to the broadband
extended data:
shortcomings
first, the vulnerability of trading platform. The bitcoin network is robust, but the bitcoin trading platform is fragile. Trading platform is usually a website, which will be attacked by hackers or shut down by competent authorities
Second, the transaction confirmation time is long. When bitcoin wallet is first installed, it will consume a lot of time to download historical transaction data blocks. While bitcoin transaction, in order to confirm the accuracy of data, it will take some time to interact with P2P network, and the transaction will be completed only after the whole network is confirmed Thirdly, the price fluctuates greatly. Due to the intervention of a large number of speculators, the price of bitcoin for cash fluctuates like a roller coaster. Making bitcoin more suitable for speculation rather than anonymous trading Fourthly, the public did not understand the principle, and the traditional financial practitioners resisted. Active netizens understand the principle of P2P network and know that bitcoin has no legal person to manipulate and control. But the public doesn't understand, and many people can't even tell the difference between bitcoin and q-coin“ "No issuer" is the advantage of bitcoin, but in the view of traditional financial practitioners, "no issuer" currency is worthlesslandlord, level 60, if you have enough money, you can get into a set of better equipment The attack is improved as much as possible. If you don't have money, you can dig the mines and the pearls. If you do a good job in making money, it's not so easy to die. Besides, Yunlu's defense is low and there's little blood, so it's easy to die. But when the equipment goes up, it's very powerful with good operation
On February 10, the fire coin network, the bank and bitcoin China respectively announced on the evening of 9 that they would suspend the bitcoin withdrawal business of the platform. They all said the measures were taken at the request of the central bank. These trading platforms said that the RMB recharge and withdrawal business will not be affected and the restrictions will be removed after the system is upgraded. Millions of bitcoin investors in China have found their assets partially frozen because China's three major bitcoin trading platforms have suspended "bitcoin withdrawal business" in response to the call of the people's Bank of China to step up anti money laundering efforts
details:
since the beginning of 2016, speculation, derivatives, leveraged bets and program trading have pushed up the price of bitcoin by more than 260%, reaching an all-time high of 8995 yuan on January 5 of this year, but it suddenly fell back on that day
these measures have an immediate effect: on February 9, 2017, bitcoin.org statistics show that six months ago, China's three bitcoin trading platforms accounted for 97.74% of the global market share, which dropped to 92.88% a month ago and less than 40% a week ago
a person who has invested in bitcoin since 2011 said that at present, bitcoin is mainly used for speculation in China, a small amount for asset allocation, and a small amount for large-scale transfer of assets. The supervision should be moderate, otherwise bitcoin trading may be forced from the light to the dark
I wish you progress in your study! Hope to adopt Hee hee
1. The calculation is mainly done by GPU, while the GPU of ordinary computers is not very powerful, which directly leads to low mining efficiency, and even the electricity bill can not be recovered
2. Because it is used to exchange data on the network, not only the performance of the computer should be good enough, but also the network bandwidth and quality should be higher. If you are asked to build a telecom 100 MB broadband before, I wonder if you are still so interested
3. GPU will generate a lot of heat ring calculation. If it is not handled properly or the original radiator is very dirty, it may burn the GPU or computer, and the gain will not be worth the loss
4. The other is the impact of the environment. Let's not say where bitcoin is going to go, let's say that the current exchange rate is seriously declining and there is no money to make before. Professional mines are even processing equipment. It's obviously unreasonable to go mining at this time
of course, if the computer is not yours, you don't have to pay for the electricity, and broadband doesn't need money, then you can try it....
