Evaluation of bitcoin hash computing power
public key system: corresponds to a public key and a private key, keeps the private key in the application and publishes the public key. When Party A transmits information to Party B, it can use Party A's private key to encrypt the information, and Party B can use Party A's public key to decrypt the information, so as to ensure that the third party cannot impersonate Party A to send the information; At the same time, when Party A transmits information to Party B, it is encrypted with Party B's public key and sent to Party B, and then Party B decrypts it with his own private key, so as to ensure that the third party cannot eavesdrop on the communication between the two people. RSA is the most common public key system, but the lliptic curve digital signature algorithm is used in bitcoin protocol. What's the difference between cash and bank account? Bitcoin is an electronic currency in BTC. In this article, it is also used to refer to the whole bitcoin system. Like opening an account in a bank, the corresponding concept in bitcoin is address. Everyone can have one or more bitcoin addresses, which are used to pay and collect money. Each address is a string that starts with 1. For example, I have two bitcoin accounts, and. A bitcoin account is uniquely determined by a pair of public key and private key. To save the account, you only need to save the private key file. Unlike bank accounts, banks keep all transaction records and maintain the book balance of each account, while bitcoin's transaction records are jointly maintained by the whole P2P network through a pre agreed protocol. How much money is in my account address? Although the current account balance can be seen by bitcoin software, unlike banks, there is no place to maintain the book balance of each address. It can only calculate the account balance in real time through all historical transactions. How do I pay? When I pay from address a to address B of the other party, the payment amount is e. at this time, both parties will announce the transaction information to each network node, telling address a to pay to address B, and the payment amount is e. In order to prevent the third party from forging the transaction information, the transaction information will be encrypted with the private key of address A. at this time, the network node receiving the transaction information can use the public key of address a to verify that the transaction information is indeed sent by address a. Of course, trading software will help us do these things, we just need to input the relevant parameters in the software. What will the network node do after receiving the transaction information? This is the most important part of the bitcoin system, which needs to be elaborated. For the sake of simplicity, only bitcoin protocol has been implemented. In the current version, each network node will save all transaction information synchronously. There are two kinds of transaction information in history, one is & quot; Verified & quot; The transaction information, that is, the verified transaction information, is stored in a series of "blocks". Each & quot; block" Is the previous & quot; bock" The ID of each block is the hash code of the hash code of the block and the new transaction information (see an actual block). The other category refers to those who also & quot; Unverified & quot; The transaction information just paid above belongs to this category. When a network node receives new unverified transaction information (possibly more than one), it can calculate the book balance of each address at that time because the node keeps all the transaction information in history, so it can calculate whether the transaction information is valid, that is, whether there is enough balance in the payment account. After eliminating the invalid transaction information, it first takes out the last & quot; block" Then, the unverified transaction information is combined with the ID, and a verification code is added to form a new "block". It needs a lot of calculation to build a new block, because it needs to calculate the verification code, so that the above combination becomes a block, that is, the first several bits of the hash code of the block are 1. At present, the first 13 bits need to be 1 (generally, the specific method is uncertain), which means that if the block is generated by enumeration method, the average number of enumerations is 16 ^ 13. Using CPU resources to generate a block is called "gold mining", because the proction of the block will get a certain reward, and the reward information has been included in the block. When a network node generates a new block, it will broadcast to other network nodes. However, this network block may not be accepted by the network, because it is possible that other network nodes have proced the block earlier. Only the earliest block or the block with the largest number of subsequent blocks is valid, and the remaining blocks are no longer used as the initial blocks of the next block. How does the other party confirm that the payment is successful? When the payment information is distributed to the network node, the network node begins to calculate whether the transaction is valid (that is, whether the account balance is enough to pay), and attempts to generate blocks containing the transaction information. When six blocks (one direct block and five subsequent blocks) contain the transaction information, the transaction information is considered "verified", so that the transaction is formally confirmed, and the other party can confirm the successful payment. A possible problem is that I will pay the balance of address a to address B, and at the same time pay to address C. If I only verify that the single comparison transaction is valid. At this point, my way of cheating is to generate six blocks including B to B and six blocks including C to C before the truth is revealed. Because I need a very long CPU time to generate a block, compared with the whole network, the probability of my cheating success is very small. What is the motivation of network nodes to proce blocks? As can be seen from the above description, in order to make the transaction information effective, the network node needs to generate 1 and 5 subsequent blocks to contain the transaction information, and such block generation is very CPU intensive. How to let other network nodes help to proce blocks as soon as possible? The answer is very simple. The agreement stipulates that BTC will be rewarded for the address where the block is proced, as well as the Commission promised by both parties. At present, the reward for procing a block is 50btc, which will be halved every four years in the future. For example, the reward will be 25btc from 2013 to 2016. Is the transaction anonymous? Yes, and No. All bitcoin transactions are visible. We can check all transaction records of each account, such as mine. But what's different from the banking monetary system is that everyone's account itself is anonymous, and everyone can open many accounts. In general, anonymity is not as good as it claims. But bitcoin has another advantage in doing black market trading: it can't be frozen. Even if the police trace a bitcoin address, there is nothing they can do unless they trace the computer used by the exchange based on the Internet address. How to ensure that bitcoin does not depreciate? Generally speaking, in the case of equivalent trading activities, the value of money is inversely proportional to the amount of money issued. Unlike the traditional money market, the central bank can determine the amount of money issued. Bitcoin does not have a central issuing institution. Only by procing blocks can we get a certain amount of BTC currency. Therefore, bitcoin's new amount of money depends on: 1. The speed of procing blocks: bitcoin's agreement stipulates that the difficulty of procing blocks is fixed at an average of 2016 every two weeks, about 10 minutes. Moore's law of doubling CPU speed every 18 months will not speed up the proction of block. 2. The number of rewards for block proction: at present, 50 BTC is awarded for each block proced, which is halved every four years. In 2013, 25 BTC is awarded, and in 2017, 12.5 BTC is awarded. Considering the above two factors, bitcoin's currency issuing speed is not controlled by any single node in the network. Its protocol makes the currency stock known in advance, and the maximum stock is only 21 million BTC
Bitcoin is a kind of network virtual currency. Bitcoin network generates new bitcoin through "mining". In essence, the so-called "mining" is to use computers to solve a complex mathematical problem to ensure the consistency of bitcoin network distributed accounting system. Assuming that the mining computing power is 100 mhash / s and the total computing power is 4000 ghash / s per day, 3600 bitcoins can be g out every 24 hours
China's computing power has accounted for more than 75% of the world, that is to say, 75% of bitcoin in the world is made in China. How long does it take to dig a bitcoin
bitcoin used to be very good at "digging", which can be done by ordinary computer CPU, and it can automatically "solve problems" by downloading software. But with the rise of currency price, more and more people want to "solve the problem", and the difficulty of mining is also increasing. Now, the amount of computation needed to dig a bitcoin is beyond the reach of ordinary people. Ordinary computers can't afford it
instry insiders said that in 2014, 100 bitcoins were generated from 500000 yuan of electricity charge per day, and the cost of electricity charge alone was 5000 yuan per coin. But now, the same cost has more than doubled, and the electricity cost of each bitcoin is as high as 10000 yuan
in the generation mechanism of bitcoin, mining reward is decreasing. At the beginning of the birth of bitcoin, the miners could get 50 bitcoins for each page of the ledger, and then 25 bitcoins for each page of the ledger, decreasing in turn. It's like digging gold. At first, it's more and less. The time point at which each new reward is reced by half is called half bitcoin proction
assuming that the mining computing power is 100 mhash / s, the total computing power is 4000 ghash / s per day in 2014, and 3600 bitcoins are g out every 24 hours
now, we can understand the difficulty of bitcoin digging in this way, which is equivalent to 100 million dice throwing numbers less than 100 million and 50 million. Whoever throws them first will get the bookkeeping right. At this point, 1050 million is a hash value. The process of throwing dice is called hash collision. The unit of mining power is the number of hash collisions per second
at present, the computing power of bitcoin in the whole network has reached 2.36 billion hash collisions per second, which is equivalent to the number of water droplets in more than 200000 50 meter long standard swimming pools. But even with such a large amount of computing power, it will take about 10 minutes to hit a hash value that meets the requirements
in 2012, bitcoin's output was halved for the first time, and in July 2016, bitcoin's output was halved for the second time. At present, 12.5 bitcoins are awarded for recording one page of account book. The next halving will take place around 2020, and the total number of bitcoins will not increase by 2040, with a total of 21 million
Related videos: how long does it take to dig a bitcoin
recently, I saw a test that the rtx3070 notebook only earns 1.2 yuan an hour.
1050ti computing power is less than 1 / 4 of 3070, which is about 24%
power consumption is 35% of 3070.
energy consumption is not cost-effective. One hour's income is definitely less than 1 yuan, except for the electricity charge. Once the loss of notebook is eliminated, it is definitely a loss
1 - data layer: data block, chain structure and time stamp
2 - network layer: P2P network, propagation mechanism, verification mechanism
3 - consensus layer: pow, POS, dpos
4 - incentive layer: issuance mechanism, distribution mechanism
5 - contract layer: script code, algorithm mechanism, smart contract
6-application layer: encapsulates various application scenarios
in the future, jinwowo group will focus on promoting the legal circulation and commercial application of big data with blockchain technology.
Hash algorithm maps any length of binary value to a fixed length of smaller binary value, which is called hash value. Hash value is a unique and compact numerical representation of a piece of data. If you hash a piece of plaintext and change only one letter of the paragraph, subsequent hashes will proce different values. It is computationally impossible to find two different inputs with the same hash value
message authentication code (MAC) hash function is usually used with digital signature to sign data, while message detection code (MDC) hash function is used for data integrity
the basic information of bitcoin network is as follows:
all digital currencies that need to be mined have hash values, such as Laite coin, Ruitai coin, doggy coin, Weimeng coin, Diandian coin, Yuanbao coin, etc< br />
[comedy + compare h bar]<
grandson of the slippery ghost
[so this is introced by a friend = v = I haven't seen it]
black cat
[male master is a killer, and he was called the terminator of hell later because he was influenced by Shaye]
holy mark of the wind
[absolutely recommended!! The handsome male protagonist is the contractor, controlling the wind is the wind warlock, while the female owner is the famous fire warlock family. Then they quarrel when they meet, but they have very good feelings. They are both arrogant. But later, another person who lives in the male owner's memory appears. The male owner of the weak and weak shrimp suddenly knows that his family has the power to become a robber. Then turn around and turn into a robber. It's very handsome
goblin's tail
[keep pushing. Magic. The painting style is beautiful, the plot is better, it's just a little hot, but you're sure to like it!]
leaves... If it's not enough, then you go to QQ, I'm telling you, I've seen animation ~ give me 0.0
According to the current computing power of the whole network, it takes 54436.5t of computing power to dig a bitcoin 24 hours, that is, one bitcoin a day< it requires 746 mining machines with the latest 73t capacity on the market to work together for 24 hours
the cost of mining mainly includes (mining machine cost / power cost). Now the latest miner is 22650 yuan, a miner consumes 77 kwh per day. At present, the price of mining machinery on the market is about 0.36 yuan, 28 yuan per day. The cost of mining bitcoin = mining machine price (22650)
mining bitcoin requires a professional site "mine" to place mining machines. The construction cost of placing about 3000 mining machines in a small professional mine is about 300 watts
extended data
unable to mine at home
the noise of 60-80 decibels will be proced by the mining machine in the working process. Mining at home is not feasible, the miner needs 24 hours of endless operation, so the temperature of the miner will be very high, the maximum temperature can reach 80 degrees. Therefore, mining needs a good environment to rece the temperature. Household electricity and electricity charges are high, and the cost is higher than the income. In addition, mining has a certain degree of professionalism, professionals need to carry out certain operation and maintenance to ensure the normal operation of the mining machine
the key to rece the mining cost is to purchase mining machines in batches and low electricity charges. Professional mine is built to ensure the operation of mining machinery. At present, the mainstream mining machinery manufacturers are bitcontinental Technology Co., Ltd. in Beijing and Jianan Yun Technology Co., Ltd. in Hangzhou. Mining machinery is proced in the form of appointment in futures. It is difficult for indivials to buy Mining machinery in small quantities on the official website. After years of development, the mining machinery market has formed a complete instrial chain. The price of mining machinery fluctuates with the price of money, and the power resources are basically distributed in the cheap western region. Getting cheap electricity prices requires personal resource advantages
It's 1191 Hongqiao Road, Changning District. This is Shanghai Blood Center
on July 10, 2016, Shanghai Blood Center released a new theme blood donation vehicle named "kitty and friends". By the end of this year, Shanghai will have four different theme blood donation vehicles to provide personalized services for blood donors
through fantastic space design, customized blood donation souvenirs and the use of the Internet, blood donation has become a fashionable public welfare within reach, so as to attract more young people to experience the process of blood donation
in 2014, Shanghai Blood Center officially launched a cross-border public welfare cooperation with the internationally famous cartoon character Kitty, and launched the world's first blood donation vehicle with the theme of Kitty and a series of blood donation souvenirs rated as "the most cute in history" by netizens
{rrrrrrr}
extended materials:
since 2014, the "kitty themed blood donation vehicle" has continuously transmitted the positive energy of "love, courage and hope" with its "cute" image, recruiting caring citizens and becoming a unique "public welfare landscape" in Shanghai
then, on the basis of Kitty, Shanghai blood center introced Merlot, cool penguin, pudding dog and big eyed frog, which are popular among young people, and called on young people to bring their close friends together to raise their hands for love. Yesterday, 20 employees from Jiuguang Department Store became the first blood donors of this blood donation vehicle
it is understood that the main force of blood donors on the streets of Shanghai is young people under the age of 40, and 50% of them are 20-25 years old. In view of the characteristics of this population, Shanghai Blood Center will launch more theme blood donation vehicles and blood donation houses in the future to open the personalized era of free blood donation in Shanghai and continuously optimize the experience of blood donation