Bitcoin Forum

Bitcoin => Mining => Topic started by: 73blazer on July 24, 2017, 06:15:33 AM



Title: Yay I found a block solo!! .. What fills in the "mined by" part?
Post by: 73blazer on July 24, 2017, 06:15:33 AM
Don't worry, it was just on testnet  ;D

While it showed up in my testnet wallet without issue, wHen I look at a testnet block explorer like this one : https://testnet.blockexplorer.com/block/00000000736b05a9ef97ffdd543e04d7b0b03a64cae14078805df7efb3904e67
It says mined by: unknown.
Alot of blocks will have some pool in it, like in main chain explorers  they'll say antpool or whatever.
How does one configure their miner or node to make it fill that in, where is that declared?


Title: Re: Yay I found a block solo!! .. What fills in the "mined by" part?
Post by: o_solo_miner on July 24, 2017, 08:25:48 AM
read here:
https://bitcointalk.org/index.php?topic=307949.msg3301491#msg3301491


Title: Re: Yay I found a block solo!! .. What fills in the "mined by" part?
Post by: 73blazer on July 24, 2017, 02:07:59 PM
Thanks for that.

 But perhaps I didn't explain fully. I don't wish to know how to setup mining solo or pool mine.  I was looking to know how to get ones mined blocks to show up on those block explorer tools as mined by "XXX" or whatever I want to put in.
So I did successfully mine a block solo, and the block explorer for my block says "Mined by: Unknown". If Antpool, for instance,  mines a block, it will say "Mined by: Antpool" Somewhere antpool has set some field that those tools are reading. That's what I'm looking for....


Title: Re: Yay I found a block solo!! .. What fills in the "mined by" part?
Post by: o_solo_miner on July 25, 2017, 08:39:59 PM
Thanks for that.

 But perhaps I didn't explain fully. I don't wish to know how to setup mining solo or pool mine.  I was looking to know how to get ones mined blocks to show up on those block explorer tools as mined by "XXX" or whatever I want to put in.
So I did successfully mine a block solo, and the block explorer for my block says "Mined by: Unknown". If Antpool, for instance,  mines a block, it will say "Mined by: Antpool" Somewhere antpool has set some field that those tools are reading. That's what I'm looking for....

Well, I understand that, but you did not tell me with wich Software you want to do that.
This may varie from Miner Software to Miner Software.

here is an example for bfgminer:
as shown in my link: https://bitcointalk.org/index.php?topic=307949.msg6919062#msg6919062

Code:
TXT file with .BAT extension in the BFGMiner folder
g:\bfgminer\bfgminer
-o http://localhost:8332
-u 14789
-p 12369
--coinbase-addr publicbitcoinadressofpayment
--coinbase-sig "bro, that's my block !"     <=================== look, here is how it is done
--scan-serial erupter:all

So you know now, it is the coinbase-sig Value


Title: Re: Yay I found a block solo!! .. What fills in the "mined by" part?
Post by: 73blazer on July 25, 2017, 08:57:09 PM
Awesome, that's what I was looking for!

I'm using software I created for my AIX machine, was just experimenting with it for fun. It's using some IBM AIX only calls and you have to use the IBM compiler, not your standard CPU miner, but it is. They have calls allowed though where basically it's turns a core into kinda a poor mans FPGA. I can get 11MH/s doing sha256d  from a power 7 core with it.

 I can add a coinbase sig to it, I saw that in the docs on how to build and submit blocks but had no idea what it was.
Awesome!! Thanks!!!