Sunday, December 22, 2024

mining swimming pools – Winner of block reward command

Quick reply:

There isn’t a command in Bitcoin Core to indicate who mined a particular block, and there seemingly by no means shall be. You should use it to get the block’s coinbase transaction and see if it incorporates the miner’s identification (nonetheless relying on the strategy the miner can roughly simply faux to be one other miner).

Lengthy reply:

Miners (and particularly mining swimming pools) usually establish themselves within the blocks they mine utilizing the coinbase transaction (the primary transaction of a block which incorporates the mining reward). Two fields of the transaction are generally used:

  • Many miners and swimming pools modify the coinbase script (often referred to as enter script or scriptSig in non-coinbase transactions) to incorporate a string tag figuring out the pool. For instance, the coinbase scripts of immediately’s largest swimming pools embody the tags “Foundry USA Pool”, “Mined by AntPool”, “/ViaBTC/”, and “F2Pool”, respectively. Nonetheless, nothing stops different miners from together with any of those tags as effectively. I am not conscious of this ever taking place nor of any cause why it ever would, however it’s one thing to bear in mind.
  • In case a miner does not establish themselves within the coinbase script or they change to a brand new coinbase tag that you do not but acknowledge, you’ll be able to nonetheless attempt to establish them in the event that they use a static handle for paying out the mining reward. Utilizing a brand new handle for each transaction is important for privateness, however mining swimming pools often do not care about that (on the contrary, they usually need to be clear) so they do not trouble. Pretending to be one other miner utilizing this methodology would require forfeiting the mining reward in favor of the sufferer miner, so there’s even much less cause for anybody to do that, nonetheless it is nonetheless attainable.

As a result of miners and swimming pools come and go, and present ones usually change their coinbase tags and payout addresses, somebody must continuously preserve a listing of recognized miner identifications. One such listing is maintained by 0xB10C and is utilized by many blockchain explorers that present who mined which block. Nonetheless, on-line providers like these can replace their lists in a matter of hours or days, whereas Bitcoin Core has a launch cycle of 6 months, so even the most recent model is perhaps unable to establish a number of massive swimming pools. That is one of many causes this characteristic will in all probability by no means make its method to Bitcoin Core, one other one being that it is simply probably not within the mission’s scope (which is a Bitcoin node and pockets, not an all-purpose blockchain explorer).

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles