为广大币圈朋友提供币圈基础入门专业知识!
当前位置首页 > 区块链知识> 正文

区块链矿工是什么意思,区块链中的矿工是什么

发布时间:2023-12-22-04:20:00 来源:网络 区块链知识 区块   矿工

区块链矿工是什么意思,区块链中的矿工是什么

区块链矿工是一种将区块链技术应用于交易确认的节点,它们可以被用来验证和记录交易,并确保数据的安全性和完整性。矿工是一个重要的组成部分,可以帮助维护区块链网络的安全性和可靠性。

第一个相关关键词是挖矿,挖矿是区块链矿工的核心活动,它是一种把区块链技术应用到交易确认的过程,矿工会使用特定的软件来解决复杂的数学问题,以确认交易并将其记录在区块链中。矿工在挖矿过程中会获得一定的报酬,这些报酬可以是数字货币或其他奖励。

第二个相关关键词是共识机制,共识机制是区块链矿工的重要组成部分,它是一种技术,用于确保数据的安全性和完整性。共识机制可以帮助矿工确认交易,确保网络的安全性,并确保网络中的数据不会被篡改。共识机制也可以帮助矿工获得报酬,因为它可以帮助他们更有效地完成任务。

最后一个相关关键词是硬件设备,硬件设备是区块链矿工的重要组成部分,它们用于执行挖矿和共识机制的活动。硬件设备可以帮助矿工更有效地完成挖矿任务,并且可以帮助矿工获得更多的报酬。硬件设备还可以帮助矿工更好地保护网络,以确保网络的安全性和可靠性。

总的来说,区块链矿工是一种将区块链技术应用于交易确认的节点,它们可以被用来验证和记录交易,并确保数据的安全性和完整性。矿工是一个重要的组成部分,可以帮助维护区块链网络的安全性和可靠性。挖矿、共识机制和硬件设备是区块链矿工的三个重要组成部分,它们可以帮助矿工更有效地完成任务,并获得报酬,同时确保网络的安全性和可靠性。


请查看相关英文文档

A. What is blockchain mining? How is blockchain mining?

What is blockchain mining? How is blockchain mining?
In Before the rise of blockchain, miners specifically referred to workers who mined coal. The collective impression was that they were covered in coal dust and were men with dark skin except for their clothes. After the birth of the blockchain, miner is no longer just the abbreviation of coal miner, but has a new meaning: a person engaged in virtual currency mining.
For those who have not participated in mining, it may be difficult to understand blockchain mining, so today we will start with the most basic question: What is blockchain mining? How to mine blockchain?
What is blockchain mining?
There are two types of mining in the new era, the first is to mine Bitcoin. After each transaction occurs, it is not completed. The transaction data must be written into the database before it is established and the other party can actually receive the money. First, all transaction data will be sent to the miners, who are responsible for writing these transactions into the blockchain and completing mining to obtain profits.
The second type is to dig up copycats. Various “altcoins” such as Zcoin, Monero, Ethereum, Litecoin, and BitShares. After assembling a mining machine, connect to the designated mining pool and start computing at full load according to a specific algorithm. After completing one calculation cycle, you can obtain "one" virtual currency. Then put "this" currency on the online trading platform and cash out.

How to mine blockchain?
In the beginning, Bitcoin could be mined using a computer CPU. The founder of Bitcoin, Satoshi Nakamoto, used his computer CPU to mine it. The world’s first genesis block. However, the era of CPU mining has long passed, and now Bitcoin mining is the era of ASIC mining and large-scale cluster mining.
If you want to become a miner, it is actually relatively simple. You can just buy a special mining equipment and start mining. Mining does not require you to do it yourself. The computer actually performs specific calculations. For miners, it is enough to ensure the power supply and network connection of the mining machine.
Can blockchain mining still make money?
In the beginning, some people did get rich through blockchain mining, but as the number of miners increased, there was also great competition among miners. , profit margins are being compressed smaller and smaller. In addition, a machine that mines Bitcoin costs tens of thousands of dollars, and cannot dig out a single coin in a year. The input cost is high and the output is low. If the market conditions are unfavorable again, miners will Basically losing money.

Therefore, in addition to mining, more and more investors choose to invest in foreign exchange to make money. Unlike mining, the investment cost of foreign exchange is extremely low. For example, Juhui ggfx can be traded with a minimum of 8 US dollars. With long and short two-way operations, investors can make profits regardless of whether the market is rising or falling. It is also very convenient for people who are busy and want to invest and make money. If you download Juhui ggfx’s MT4 trading software to your mobile phone, you can learn about the latest market conditions and participate in transactions through your mobile phone at any time, and complete orders as quickly as seconds. It is simple and fast. ,The efficiency of making money is extremely high, so in addition to mining, this is also a good way to get rich.
Mining is not an easy task. Mining consumes a lot of resources because the calculation difficulty of generating virtual currency is very high and it is constantly changing. After every 2016 data blocks are generated globally, mining virtual currency The difficulty of the currency will increase once, so ordinary people must consider all aspects before joining the ranks of miners.

B. What does cryptocurrency mining mean?

The so-called cryptocurrency mining refers to the process in which miners obtain cryptocurrency with the help of mining tools and mining machines.

1. Bitcoin BTC (Blockchain 1.0)
Bitcoin has emerged as a new type of digital currency and global payment network since its birth in 2009. BTC is also the most successful and mature application of blockchain. , now in many situations, BTC is much more famous than blockchain.

2. What is a miner:
In cryptocurrency networks such as Bitcoin, competitive calculations can obtain new Bitcoin rewards, much like the process of mining minerals buried underground, which is vividly called "mining" "Miners", people or organizations competing for mining are called "miners".

3. What is computing power:
It can be simply understood as computing power. Miners obtain Bitcoin by providing "computing services" through competition in "computing power". The "computing service" actually calculates the hash value of the block header through a hash algorithm. In the process of obtaining Bitcoin through the "computing service", we need to find its corresponding solution, that is, the block header hash value. To find the solution, there is no fixed algorithm and can only rely on random hash collisions by the computer. The number of hash collisions a computer server can do per second is the representative of its "computing power", and the unit is written as hash/s.

4. What is proof of work:
The English name is POW, a consensus mechanism of "more work, more gain". Bitcoin is a typical POW mechanism. After miners obtain computing power, the first one to calculate the correct answer will be recorded as "workload". This workload will be recorded in a one-page ledger and then synchronized to others to prove that the miner has put in the workload.

5. What is Proof of Stake:
The English name is POS, a consensus mechanism that “the more you hold, the more you get”. This consensus mechanism determines the size of the rights based on the number of tokens held by token holders, thereby competing for accounting rights. The more tokens you hold and the greater your equity, the greater the probability of becoming the next bookkeeper. This mechanism shortens the time to reach consensus under certain circumstances and no longer requires a large amount of energy mining

C. What is blockchain mining and what it does Detailed introduction area Blockchain and virtual currency

People discovered when Bitcoin was first released that it is decentralized and not subject to any central control; it is completely open, and in addition to the encryption of transaction information, the entire system is highly transparent. The technologies are all open source; security, as long as you cannot control %51 of all nodes, there is noThe data cannot be modified arbitrarily, which makes it relatively safe; independence, the entire model and Bitcoin do not rely on any third party, all nodes verify and exchange data within the system without any intervention

We detail here Explain what blockchain technology is. To put it bluntly, it is block + chain. So what is "block"? What is a "chain" again?

A block is a ledger. Transaction accounting is completed by multiple nodes distributed in different places, and each node records a complete account, so they can all participate in supervising the legality of the transaction, and at the same time Can jointly testify for it

Each block contains the cryptographic hash of the previous block, the corresponding timestamp, and the transaction data (usually a hash value calculated using the Merkle tree algorithm) represents), this design makes the block content difficult to tamper with. Distributed ledgers connected by blockchain technology can effectively record transactions between two parties and permanently verify the transactions.

The function of the hash function h(): convert a string of any length into a fixed-length (for example, 256 bits) output. The output is also called a hash value. This output is irreversible

It is difficult to find two different x and y such that h(x) = h(y), that is, two different inputs, There will be different output. Theoretically, two different inputs may have different outputs, but this is almost impossible. For example, if an infinite space is mapped to a finite space, there must be a many-to-one situation. The theory exists, but there are no rules. It is guaranteed that you cannot find this result through any mathematical inference. Why is it 256 bits here? Isn't it longer? Because 256 bits are secure enough.

Split the ledger into blocks. For example, a piece of paper in a book is a block. Each block records transactions within a period of time, such as 10 minutes.

We divide Each piece of paper is compared to a block. A part of content is added to each block. We call it a block header, which records the hash value of the parent block. Each block stores the hash value of the parent block. , connect all blocks smoothly to form a blockchain

Record the hash value of block 1 to the block header of block 2. In this way, the block header of each block is recorded The hash value of the parent block, each block is linked in order, this is called a blockchain. The first block has no block header and is also called the genesis block

The blockchain is a ledger. Only when transactions occur in the ledger will the money in your account increase. If you need to make a transaction, you first need an account number and password. Just like your bank card has an account number and password, others can make a transfer to you. The account password on the block ledger is the public key and private key

Lao Wang(Already have private key and public key), I want to transfer 10 BTC to Zhang, some operations are required

Prove that it was Lao Wang himself who issued the transfer signature function Sign (Lao Wang’s private key + transfer information: Lao Wang Transfer 10 BTC to Zhang San) = signature of this special account
The verification is that Lao Wang himself issues the transfer verification function Verify (Lao Wang’s address + transfer details: Lao Wang transfers 10 BTC to Zhang San + signature of this transfer) =true
Once the transfer is recorded in the block, no one can change it. Zhang San will increase it by 10 BTC, and Lao Wang will decrease it by 10 BTC accordingly. The entire operation is automatic. For example, your wallet app will help you. To do something like this, the app knows your private key, you tell the wallet the transaction content, the wallet signature is announced to the entire network, and it waits for others to verify the transaction

Centralized accounting will be more efficient, and banks will , the government or Alipay help you keep accounts, they are all reliable, because they can't touch your money unless they have your private key

There are some shortcomings in centralized accounting

With decentralization, everyone can keep accounts, and everyone can keep a complete ledger. Anyone can download open source programs, participate in Bitcoin's p2p network, monitor transactions sent from all over the world, become an accounting node, and participate in accounting. Suppose Xiaoyi releases a transaction and broadcasts it to the entire network, and accounting node A listens. When this transaction arrives, A verifies that the transaction bit is true and puts it into the transaction pool to continue to spread to other nodes. Because it is spread through the network, the transaction pools of different accounting nodes are not necessarily the same at the same time. Every 10 minutes, from all accounting nodes Among the nodes, select one according to a certain method. After verifying that the transaction of this node is true, then compare the transaction records in the transaction pool of this selected node with the transaction records in the transaction pool of your own (A) node. The comparison is completed. After that, the transactions recorded by the selected accounting nodes will be deleted from the transaction pool, and the other accounting nodes will continue to record and wait for the next selection. There is a cycle every 10 minutes. During this 10 minutes, all accounting nodes will record accounts normally. , 10 minutes later, a node will be selected to use the transactions in its transaction pool as a new block. This block comes from the transaction pool of an accounting node I randomly selected among all the accounting nodes, and the cycle continues

A transaction is not completed once it is recorded. Only when the transaction becomes a certain block, the transaction is truly completed. This is a complete accounting process of decentralization. Your transaction will not be recorded immediately because the p2p network propagation takes time. If the node of the selected block has not received your transaction, the transaction will be not done. A block is generated every 10 minutes, but not all transactions within 10 minutes can be recorded. 10 minutes is just an average

The characteristics of decentralized accounting, accounting nodes with accounting rights, every ten minutesThe node selected by the clock will receive a 50BTC reward. Every 210,000 blocks in almost 4 years, the reward is halved. Bitcoin has been halved twice since its issuance, so a new block is generated every ten minutes. This accounting node will receive The reward is 10.5 BTC, which is halved every 4 years. Then the total amount of BTC can be calculated to be approximately 21 million. It is expected to be mined in 2040. Recording the reward of a block is also the only way to issue Bitcoin. After BTC is mined, , the only income that accounting nodes can obtain is transaction fees

Accounting nodes compete for accounting rights through questions,

Find a certain random number that makes the equation invalid< br /> SHA256 hash function (random number + parent block hash value + transaction in the transaction pool) a certain specified value)
There is no other solution except traversing the random number from 0 to try your luck. Solve the problem The process is also called mining, so the accounting node that solves this problem is also called a miner. The faster you traverse the random numbers, the more likely you are to get the accounting right. This traversal speed is determined by the mine boss. We call it computing power. In order to obtain this computing power, mine bosses will buy more mining machines with higher computing power

Whoever solves the problem correctly first will get the accounting rights. Accounting node A is the first to find the solution, which is announced to the entire network. After other nodes verify that it is correct, node A obtains the block, gains 12.5 BTC, and restarts a new round of calculation after the new block. This method is called (POW) allocating accounting rights

It usually takes about 10 minutes to solve this random number. 10 is not absolute, because the process of solving this problem is a process of luck. In response to changes in computing power in the future, Bitcoin will increase or decrease the difficulty every 2016 blocks, about two weeks, so that the average block generation time is ten minutes

Each block contains The encrypted hash of the previous block, the corresponding timestamp, and the transaction data (usually represented by a hash value calculated by the Merkle tree algorithm) are included. This design makes the block content difficult to tamper with. Distributed ledgers connected by blockchain technology can effectively record transactions between two parties and permanently verify the transactions.

Different from traditional stored data, each node of the blockchain stores complete data according to the block chain structure. Each node of the blockchain is independent and has equal status, relying on The consensus mechanism ensures storage consistency, while traditional distributed storage generally synchronizes data to other backup nodes through a central node.

Mahjong is a traditional Chinese blockchain project. A group of four miners work together. The miner who first collides with the correct hash value of 13 numbers can obtain the accounting rights and be rewarded.

Many people say that blockchain is a scam and Bitcoin is a scam. This may be a scam, but this technology has been widely usedThe cryptographic knowledge involved in blockchain cannot be understood by ordinary people even if I lend you a few brains. The most important thing is to look at the problem from a relatively rational perspective. Don’t let the wind be the rain.

There is something incredible about this technology. It maintains absolute order without a center or supervision. This is the trust that only needs to be established by everyone’s consensus. Bitcoin created this consensus. In the blockchain In the world everyone is fair and equal.

D. What does blockchain mining mean?

“Mining”, as the name suggests, is the action that can appear in our minds, which is digging in the soil with a shovel, but now We no longer use shovels, but computers. Instead of digging in the soil, we dig in a pool of data, and instead of digging for physical objects like gold and coal, we compete for the right to keep accounts. 1. Mining is the process of confirming transactions in the Bitcoin system over a period of time and recording the formation of new blocks on the blockchain. These miners are called miners. 2. Mining is a bookkeeping process, miners are bookkeepers, and the blockchain is the general ledger. 3. The accounting rights of the Bitcoin system are decentralized, that is, every miner has accounting rights. Miners who successfully seize the accounting rights will receive new Bitcoin rewards from the system. Mining is the process of producing Bitcoins.

1. What does mining mean?

Ancient mining can be traced back to the selection of stone materials in the Stone Age. Later, with the rise of the metallurgical industry, mining and mineral processing technology gradually developed. This article introduces the aspects of open-pit mining, underground mining, tunnel support, rock crushing, tunnel ventilation, lighting, drainage, lifting, and mineral processing in ancient China.

Open-pit mining There are many surface outcrops, slopes or residual deposits of various metal veins or ore bodies. Therefore, open-pit mining became an important mining method in ancient times. Open-pit mining can be divided into excavation method and soil reclamation method.

2. Mining is the name for accumulated income from activities in Bitcoin.

Mining was brought about by the recent popularity of Bitcoin. Bitcoin is a virtual currency that can be exchanged for real currency. One of the ways to obtain Bitcoins on the Internet is to participate in related activities every day. These activities, like mining in online games, require slowly accumulating wealth in exchange for Bitcoins.

E. What is mining

Mining is the process of confirming transactions that occur in the Bitcoin system over a period of time and recording them in the blockchain In the process of forming new blocks, the people who mine are called miners. To put it simply, mining is the process of bookkeeping, miners are bookkeepers, and the blockchain is the ledger. How to motivate miners to mine? The accounting power of the Bitcoin system is decentralized, that is, every miner has the right to accounting. Miners who successfully seize the accounting rights will be rewarded with new Bitcoins from the system. Therefore, mining is the process of producing Bitcoins. When Satoshi Nakamoto originally designed Bitcoin, he stipulated that the Bitcoin reward would be halved every 210,000 blocks until Bitcoin could no longer be subdivided. Because of BitcoinLike gold, the total amount is limited. Therefore, Bitcoin is called digital gold, and Bitcoin production is also commonly known as mining.

F. What does blockchain mining mean?

In 2009, Satoshi Nakamoto invented Bitcoin and set a limit of 21 million Bitcoins, which were added to the Bitcoin network. By participating in the production of blocks and providing proof of work (PoW), you can obtain rewards from the Bitcoin network. This process is mining.

The concept of "mining" is taken from the existing concepts in our real economic life, such as gold mining, silver mining, etc. Because minerals are valuable, people are driven to pay labor force. dig.

Another important point of Bitcoin mining is that the miners participating in mining recognize the value of Bitcoin, and there are people in the market who are willing to spend money on the Bitcoins they mine. So, Bitcoin mining makes sense.

(6) What are blockchain miners? Extended reading

Bitcoin’s Currency Characteristics

1. Decentralization

Bitcoin is the first distributed virtual currency. The entire network is composed of users and there is no central bank. Decentralization is the guarantee of Bitcoin’s security and freedom.

2. Circulation around the world

Bitcoin can be managed on any computer connected to the Internet. Anyone can mine, buy, sell or receive Bitcoin regardless of location.

3. Exclusive ownership

Manipulating Bitcoin requires a private key, which can be isolated and stored in any storage medium. No one can obtain it except the user himself.

4. Low transaction fees

Bitcoins can be remitted for free, but a transaction fee of about 1 bit cent will ultimately be charged for each transaction to ensure faster transaction execution.

5. No hidden costs

As a means of payment from A to B, Bitcoin does not have cumbersome limits and procedures. You can make the payment by knowing the other party's Bitcoin address.

6. Cross-platform mining

Users can explore the computing capabilities of different hardware on many platforms.

G. What is ICBC blockchain mining

Assuming you understand the basics of blockchain, to put it simply, the blockchain (blockchain) will mine every ten minutes Generate a new block to store all transaction information on this blockchain for these ten minutes. This block is equivalent to a network account book, which correctly timestamps all network transactions for these ten minutes. The question is who will cover it? The "miners" on the blockchain compete for the accounting rights of each block in ten minutes. The rule of competition is to correctly record the accounting while solving the SHA256 problem. Whoever can prove that his computer has the fastest computing power will win. Being able to compete for the legal accounting rights of these ten-minute blocks is the "mining" process. In the Bitcoin blockchain, miners who mine a mine can receive a certain amount of Bitcoin as a reward.. Therefore, the more essential function of miners is "bookkeepers"

In his Bitcoin white paper, Satoshi Nakamoto described the process of establishing this credit system in more detail:

First Step: In order for the entire network to recognize that each transaction is valid, it must be broadcast to each node (node: that is, the miner);

Step two: Each miner node must correctly give these ten minutes Each transaction is stamped with a timestamp and recorded in that block;

Step 3: Each miner node must solve the SHA256 puzzle to compete for the legal accounting of this ten-minute block right, and strive to get a reward of twenty-five bitcoins (fifty bitcoins every ten minutes for the first four years, and reduced by half every four years);

Step 4: If a miner node solves After opening the SHA256 problem for these ten minutes, he will publish all the timestamped transactions recorded in his ten-minute blocks to the entire network, and check them by other miner nodes in the entire network;

Step 5: Full Network other miner nodes to check the correctness of the accounting of the block (because they are also stamping the accounting at the same time, but they have not competed for the legal block accounting rights, so there is no reward). If there are no errors, they will be in the legal area. After the block, they compete for the next block, thus forming a legal accounting block single chain, which is the general ledger of the Bitcoin payment system - the blockchain.

Generally speaking, each transaction must undergo six block confirmations, that is, six ten-minute accounting, before it can finally be recognized as a legal transaction on the blockchain. The following is the accounting format of Bitcoin:

So the so-called "Bitcoin" is such a billing system: it includes the owner electronically signing with the private key and paying to the next owner, and then the entire The "miners" of the network stamp the timestamps and record the accounts, forming a blockchain. (Internet)

If you want to learn more about blockchain information, it is recommended that you use Baijiahao, Mustard Circle and other popular b-circle media. The amount of information and richness are better than in general. There is more and better on the web. If you want to ask a technical question, you can take a look at the link below, I hope it can help you

Web link

博客主人唯心底涂
男,单身,无聊上班族,闲着没事喜欢研究股票,无时无刻分享股票入门基础知识,资深技术宅。
  • 39860 文章总数
  • 3637508访问次数
  • 3094建站天数