PublicP2poolNode
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 24, 2017, 09:54:13 PM |
|
I have already performed a restart, this time with no argument as to txfees and also stopped merged mining with namecoin.
|
WINGS Beta is live - List your ICO for only 5000 WINGS at https://wings.ai Over $650 Million raised by ICOs with WINGS since June 2017
|
|
|
LevinSwe
Newbie
Offline
Activity: 11
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 24, 2017, 10:03:54 PM |
|
One way to not mine empty ones, change The min size, but a empy block brings coins...
Block creation options: -blockminsize=<n> Set minimum block size in bytes (default: 0) -blockmaxsize=<n> Set maximum block size in bytes (default: 750000) -blockprioritysize=<n> Set maximum size of high-priority/low-fee transactions in bytes (default: 0)
|
|
|
|
-ck
Legendary
Offline
Activity: 4228
Merit: 1644
Ruu \o/
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 24, 2017, 10:08:16 PM |
|
One way to not mine empty ones, change The min size, but a empy block brings coins...
Block creation options: -blockminsize=<n> Set minimum block size in bytes (default: 0) -blockmaxsize=<n> Set maximum block size in bytes (default: 750000) -blockprioritysize=<n> Set maximum size of high-priority/low-fee transactions in bytes (default: 0)
This doesn't alter what's going on inside p2pool that mines an empty block (whatever that is). Perhaps the merged mining is the culprit... that almost certainly causes far more losses than any gains people think mining bullshit worthless coins might have. At 5-10% more reward due to transactions currently, one really should try and mine transaction containing blocks as much as possible.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
PublicP2poolNode
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 24, 2017, 10:46:44 PM |
|
One way to not mine empty ones, change The min size, but a empy block brings coins...
Block creation options: -blockminsize=<n> Set minimum block size in bytes (default: 0) -blockmaxsize=<n> Set maximum block size in bytes (default: 750000) -blockprioritysize=<n> Set maximum size of high-priority/low-fee transactions in bytes (default: 0)
This doesn't alter what's going on inside p2pool that mines an empty block (whatever that is). Perhaps the merged mining is the culprit... that almost certainly causes far more losses than any gains people think mining bullshit worthless coins might have. At 5-10% more reward due to transactions currently, one really should try and mine transaction containing blocks as much as possible. funny thing is, not being familiar with command line prompts, I don't even know how to withdraw my bullshit worthless coins that were likely the reason for the low transaction fees from the block I found yesterday and the one with no fees from last night ![Sad](https://bitcointalk.org/Smileys/default/sad.gif)
|
WINGS Beta is live - List your ICO for only 5000 WINGS at https://wings.ai Over $650 Million raised by ICOs with WINGS since June 2017
|
|
|
KorbinDallas
Newbie
Offline
Activity: 55
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 25, 2017, 12:46:15 AM |
|
Grab a surfboard. The waves are here...
|
|
|
|
in2tactics
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 25, 2017, 03:26:15 AM |
|
One way to not mine empty ones, change The min size, but a empy block brings coins...
Block creation options: -blockminsize=<n> Set minimum block size in bytes (default: 0) -blockmaxsize=<n> Set maximum block size in bytes (default: 750000) -blockprioritysize=<n> Set maximum size of high-priority/low-fee transactions in bytes (default: 0)
This doesn't alter what's going on inside p2pool that mines an empty block (whatever that is). Perhaps the merged mining is the culprit... that almost certainly causes far more losses than any gains people think mining bullshit worthless coins might have. At 5-10% more reward due to transactions currently, one really should try and mine transaction containing blocks as much as possible. funny thing is, not being familiar with command line prompts, I don't even know how to withdraw my bullshit worthless coins that were likely the reason for the low transaction fees from the block I found yesterday and the one with no fees from last night ![Sad](https://bitcointalk.org/Smileys/default/sad.gif) You should not be mining to the wallet directly.
|
Current HW: 2x Apollo, 2x Apollo BTC, 2x Apollo II Retired HW: 3x 2PAC, 3x Moonlander 2, 2x AntMiner S7-LN, 5x AntMiner U1, 2x ASICMiner Block Erupter Cube, 4x AntMiner S3, 4x AntMiner S1, GAW Black Widow, and ZeusMiner Thunder X6
|
|
|
PublicP2poolNode
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 25, 2017, 03:33:15 AM |
|
I don't believe you can specify an address for anything other than Bitcoin when merged mining.
|
WINGS Beta is live - List your ICO for only 5000 WINGS at https://wings.ai Over $650 Million raised by ICOs with WINGS since June 2017
|
|
|
PublicP2poolNode
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 25, 2017, 07:58:53 AM Last edit: February 25, 2017, 04:29:39 PM by PublicP2poolNode |
|
Well that one was a little better as far as trying to fill a block. I don't know if stopping merged mining with namecoin helped or not, I was really hoping for a full block but I guess I will be happy we found one ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
WINGS Beta is live - List your ICO for only 5000 WINGS at https://wings.ai Over $650 Million raised by ICOs with WINGS since June 2017
|
|
|
veqtrus
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 26, 2017, 07:59:52 AM |
|
Empty block? ![Shocked](https://bitcointalk.org/Smileys/default/shocked.gif) Again... UGH sorry guys, don't know what is going on. Both blocks found today we're by me. And this is what I have in my settings. blockmaxsize=970000 mintxfee=0.0001 minrelaytxfee=0.0001 maxconnections=100 gen=1 I don't understand why I mined one block with no fees and another with low fees. My apologies. Could you please send your p2pool and bitcoind logs? Maybe I will be able to find something useful.
|
|
|
|
PublicP2poolNode
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 26, 2017, 06:02:33 PM |
|
Veqtrus, I would be happy to, I'd need instructions on how to do so using a CLI
Not knowing how to do so, I am assuming that since I was merged mining with namecoin, most likely a namecoin block had been found on the network immediately before I found a block and that is why there were no transactions in the block I found.
I believe now that I am not merged mining that won't happen again.
Still, it seems like the last block should have been full if you look at the previous block and next block after it and the amount of time between them.
|
WINGS Beta is live - List your ICO for only 5000 WINGS at https://wings.ai Over $650 Million raised by ICOs with WINGS since June 2017
|
|
|
veqtrus
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 26, 2017, 06:15:10 PM |
|
I think I found what is the cause of empty blocks. When p2pool receives a newer block header it immediately attempts to mine on top of it until it receives the corresponding block template from bitcoind. This can take some time as currently p2pool fetches templates on fixed intervals (AFAIK). The relevant code can be found here. Let's look at the empty block ( 00000000000000000201d592fcfcf59af02bdfe822123154a4a724ec7ffa0982) and the one before it ( 0000000000000000000e689d993b465aaa23e56e87d0f6c649de4b98830f789c). The time interval between them is exactly 1487923858-1487923258=600 seconds! This indicates that the p2pool node was still mining without the block template from bitcoind. I made a patch so that p2pool tries to fetch a new block template as soon as empty work is detected and give up working on the new block header if it can't get the template. [Merge-mining has nothing to do with that since bitcoin's block template is cached independently of mm work.]
|
|
|
|
sawa
Legendary
Offline
Activity: 1308
Merit: 1011
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 26, 2017, 07:45:54 PM Last edit: February 26, 2017, 07:57:04 PM by sawa |
|
I made a patch so that p2pool tries to fetch a new block template as soon as empty work is detected and give up working on the new block header if it can't get the template. This patch is compatible with SEGWIT patch? Veqtrus, please collect all your patches in one brunch.
|
|
|
|
PublicP2poolNode
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 26, 2017, 07:47:17 PM Last edit: February 26, 2017, 09:11:33 PM by PublicP2poolNode |
|
Not being familiar with CLI I wouldn't have the first clue how to add the patch ![Undecided](https://bitcointalk.org/Smileys/default/undecided.gif) I have approximately 12 hours left on my 4PH rental. My goal is to find five blocks in a row, I've got three down and two to go! If we get lucky I'll be renting some more, i wish a few other big ballers would come along right now, or a few hundred smaller miners! I would love to see p2pool have a larger presence. Come on fellow miners, switch to p2pool right now, I'd love to stay for a while, and could use some help in reducing variance in hopes I can stay a while longer! I have an idea, if your reading this post and you are inspired to give p2pool a chance for few days, leave a response here that you are in. Hopefully if enough new people to p2pool make a post that there going to give p2pool a shot it will get the ball rolling and many others will join! P2pool is the best way to decentralize Bitcoin mining, so if your a miner and you want to do your part leave a post below stating that your giving it a try. Thanks and best wishes to you all!
|
WINGS Beta is live - List your ICO for only 5000 WINGS at https://wings.ai Over $650 Million raised by ICOs with WINGS since June 2017
|
|
|
veqtrus
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 26, 2017, 08:17:42 PM |
|
I made a patch so that p2pool tries to fetch a new block template as soon as empty work is detected and give up working on the new block header if it can't get the template. This patch is compatible with SEGWIT patch? Veqtrus, please collect all your patches in one brunch. For your convenience (yes, it is compatible): https://github.com/veqtrus/p2pool/tree/segwit1%2Bempty_block_fix1
|
|
|
|
-ck
Legendary
Offline
Activity: 4228
Merit: 1644
Ruu \o/
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 26, 2017, 08:27:09 PM |
|
I think I found what is the cause of empty blocks. When p2pool receives a newer block header it immediately attempts to mine on top of it until it receives the corresponding block template from bitcoind. This can take some time as currently p2pool fetches templates on fixed intervals (AFAIK). The relevant code can be found here. Let's look at the empty block ( 00000000000000000201d592fcfcf59af02bdfe822123154a4a724ec7ffa0982) and the one before it ( 0000000000000000000e689d993b465aaa23e56e87d0f6c649de4b98830f789c). The time interval between them is exactly 1487923858-1487923258=600 seconds! This indicates that the p2pool node was still mining without the block template from bitcoind. I made a patch so that p2pool tries to fetch a new block template as soon as empty work is detected and give up working on the new block header if it can't get the template. Good work, that explains it. You may also wish to decrease the time interval as well since transactions change so frequently. I noticed a long time ago when proxying to p2pool that stratum updates were few and far between. I suggest 60 seconds instead of 10 minutes... The stratum specification says it should be under 90 seconds IIRC.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
sawa
Legendary
Offline
Activity: 1308
Merit: 1011
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 26, 2017, 08:43:06 PM |
|
Thanks. Not being familiar with CLI I wouldn't have the first clue how to add the patch ![Undecided](https://bitcointalk.org/Smileys/default/undecided.gif) Now it's easy to do: git clone -b segwit1+empty_block_fix1 https://github.com/veqtrus/p2pool.git
|
|
|
|
veqtrus
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 26, 2017, 08:47:42 PM |
|
Good work, that explains it. You may also wish to decrease the time interval as well since transactions change so frequently. I noticed a long time ago when proxying to p2pool that stratum updates were few and far between. I suggest 60 seconds instead of 10 minutes... The stratum specification says it should be under 90 seconds IIRC.
Stratum updates should happen on average every 30 seconds due to new shares being found; not sure about transaction updates.
|
|
|
|
PublicP2poolNode
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 26, 2017, 08:57:57 PM |
|
Thanks. Not being familiar with CLI I wouldn't have the first clue how to add the patch ![Undecided](https://bitcointalk.org/Smileys/default/undecided.gif) Now it's easy to do: git clone -b segwit1+empty_block_fix1 https://github.com/veqtrus/p2pool.git I assume a p2pool restart is needed afterwards? Has anyone found a block with this patch installed to verify it works as intended?
|
WINGS Beta is live - List your ICO for only 5000 WINGS at https://wings.ai Over $650 Million raised by ICOs with WINGS since June 2017
|
|
|
sawa
Legendary
Offline
Activity: 1308
Merit: 1011
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 26, 2017, 09:18:22 PM Last edit: March 25, 2017, 10:13:45 AM by sawa |
|
I assume a p2pool restart is needed afterwards?
Yes. I do It so: git clone -b segwit1+empty_block_fix1 https://github.com/veqtrus/p2pool.git p2pool-temp Then stop the node and delete the contents of ~/p2pool/p2pool/ subdirectory. And copy all from here ~/p2pool-temp/p2pool to here ~/p2pool/p2pool/ Then run the node. All this only takes a few minutes.
|
|
|
|
sawa
Legendary
Offline
Activity: 1308
Merit: 1011
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 26, 2017, 09:25:25 PM |
|
I join a question: Has anyone found a block with this patch installed to verify it works as intended?
|
|
|
|
|