Bitcoin Forum
September 18, 2018, 04:38:00 PM *
News: Latest stable version of Bitcoin Core: 0.16.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 [752] 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 ... 815 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2564983 times)
PublicP2poolNode
Sr. Member
****
Offline Offline

Activity: 347
Merit: 252


View Profile
February 24, 2017, 10:46:44 PM
 #15021

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

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
1537288680
Hero Member
*
Offline Offline

Posts: 1537288680

View Profile Personal Message (Offline)

Ignore
1537288680
Reply with quote  #2

1537288680
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1537288680
Hero Member
*
Offline Offline

Posts: 1537288680

View Profile Personal Message (Offline)

Ignore
1537288680
Reply with quote  #2

1537288680
Report to moderator
1537288680
Hero Member
*
Offline Offline

Posts: 1537288680

View Profile Personal Message (Offline)

Ignore
1537288680
Reply with quote  #2

1537288680
Report to moderator
KorbinDallas
Newbie
*
Offline Offline

Activity: 55
Merit: 0


View Profile
February 25, 2017, 12:46:15 AM
 #15022

Grab a surfboard. The waves are here...
in2tactics
Hero Member
*****
Offline Offline

Activity: 546
Merit: 500



View Profile
February 25, 2017, 03:26:15 AM
 #15023

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
You should not be mining to the wallet directly.

Casual Miner: 3x 2PAC and 3x Moonlander 2
Retired HW: 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
Sr. Member
****
Offline Offline

Activity: 347
Merit: 252


View Profile
February 25, 2017, 03:33:15 AM
 #15024

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
Sr. Member
****
Offline Offline

Activity: 347
Merit: 252


View Profile
February 25, 2017, 07:58:53 AM
 #15025

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


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
Member
**
Offline Offline

Activity: 107
Merit: 10


View Profile WWW
February 26, 2017, 07:59:52 AM
 #15026

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.

P2Pool donation button | Bitrated user: veqtrus.
PublicP2poolNode
Sr. Member
****
Offline Offline

Activity: 347
Merit: 252


View Profile
February 26, 2017, 06:02:33 PM
 #15027

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
Member
**
Offline Offline

Activity: 107
Merit: 10


View Profile WWW
February 26, 2017, 06:15:10 PM
 #15028

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.]

P2Pool donation button | Bitrated user: veqtrus.
sawa
Legendary
*
Online Online

Activity: 1288
Merit: 1005



View Profile
February 26, 2017, 07:45:54 PM
 #15029

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
Sr. Member
****
Offline Offline

Activity: 347
Merit: 252


View Profile
February 26, 2017, 07:47:17 PM
 #15030

Not being familiar with CLI I wouldn't have the first clue how to add the patch  Undecided

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
Member
**
Offline Offline

Activity: 107
Merit: 10


View Profile WWW
February 26, 2017, 08:17:42 PM
 #15031

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

P2Pool donation button | Bitrated user: veqtrus.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2646
Merit: 1142


Ruu \o/


View Profile WWW
February 26, 2017, 08:27:09 PM
 #15032

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 and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org, 1% Fee Solo mining at solo.ckpool.org
-ck
sawa
Legendary
*
Online Online

Activity: 1288
Merit: 1005



View Profile
February 26, 2017, 08:43:06 PM
 #15033

For your convenience (yes, it is compatible): https://github.com/veqtrus/p2pool/tree/segwit1%2Bempty_block_fix1
Thanks.

Not being familiar with CLI I wouldn't have the first clue how to add the patch  Undecided
Now it's easy to do:
Code:
git clone -b segwit1+empty_block_fix1 https://github.com/veqtrus/p2pool.git

veqtrus
Member
**
Offline Offline

Activity: 107
Merit: 10


View Profile WWW
February 26, 2017, 08:47:42 PM
 #15034

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.

P2Pool donation button | Bitrated user: veqtrus.
PublicP2poolNode
Sr. Member
****
Offline Offline

Activity: 347
Merit: 252


View Profile
February 26, 2017, 08:57:57 PM
 #15035

For your convenience (yes, it is compatible): https://github.com/veqtrus/p2pool/tree/segwit1%2Bempty_block_fix1
Thanks.

Not being familiar with CLI I wouldn't have the first clue how to add the patch  Undecided
Now it's easy to do:
Code:
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
*
Online Online

Activity: 1288
Merit: 1005



View Profile
February 26, 2017, 09:18:22 PM
 #15036

I assume a p2pool restart is needed afterwards?

Yes. I do It so:

Code:
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
*
Online Online

Activity: 1288
Merit: 1005



View Profile
February 26, 2017, 09:25:25 PM
 #15037

I join a question:
Has anyone found a block with this patch installed to verify it works as intended?

tubexc
Hero Member
*****
Offline Offline

Activity: 502
Merit: 500


View Profile
February 26, 2017, 09:51:58 PM
 #15038

Perhaps one official p2pool.org node in Europe to reduce latency bring new miners  Wink
sawa
Legendary
*
Online Online

Activity: 1288
Merit: 1005



View Profile
February 26, 2017, 09:52:35 PM
 #15039

I do translation for the Russian-speaking forums. I do not understand this paragraph:
3) Your address must be the one that finds the next block starting now. Contest ends once the next block is found from the timing of this post.
That is the address of the participant should find a block? Or enough to participate in the block search?

sawa
Legendary
*
Online Online

Activity: 1288
Merit: 1005



View Profile
February 26, 2017, 09:59:22 PM
 #15040

Perhaps one official p2pool.org node in Europe to reduce latency bring new miners  Wink
Use any nearest node from the list: http://poolnode.info/
There all nodes official  Wink

Pages: « 1 ... 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 [752] 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 ... 815 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!