Bitcoin Forum
August 22, 2017, 05:46:01 AM *
News: Latest stable version of Bitcoin Core: 0.14.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 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]
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2403303 times)
jtoomim
Hero Member
*****
Offline Offline

Activity: 682


View Profile WWW
August 20, 2017, 01:50:27 AM
 #15721

I'm working on adding fork-friendliness to p2pool now. It's a bit more complicated than I thought at first. You can't just check to see if a share's parentblock is in bitcoind's blockchain and mark the share invalid if not, because orphaned blocks are a thing. Instead, I will be trying to keep a penalty score for each share, where each share's penalty is the previous share's penalty plus 0 if the parentblock is found in the blockchain else the work done if the parentblock is not in the blockchain (i.e. orphan or invalid). P2pool will then look for the share with the greatest (work - penalty). That description is slightly oversimplified, but I hope it gets the main idea across.

Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power.
http://Toom.im
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
jtoomim
Hero Member
*****
Offline Offline

Activity: 682


View Profile WWW
August 20, 2017, 09:06:35 AM
 #15722

I will be upgrading all of my nodes to 1mb_segwit tomorrow. I suggest that anyone mining on jtoomimnet switch to the 1mb_segwit branch ASAP.

Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power.
http://Toom.im
keke51
Newbie
*
Offline Offline

Activity: 4


View Profile
August 20, 2017, 11:55:47 AM
 #15723

Dear community! And esp MR Jtoomim!
I bet i'm not alone in willing to have a BCH (or BCC) sort of fork of P2pool. Is it real? I am not a coding person, but BCH is not far from the original BTC and maybe it is not so big work to do?
dimkov
Jr. Member
*
Offline Offline

Activity: 41


View Profile
August 20, 2017, 12:12:54 PM
 #15724

Dear community! And esp MR Jtoomim!
I bet i'm not alone in willing to have a BCH (or BCC) sort of fork of P2pool. Is it real? I am not a coding person, but BCH is not far from the original BTC and maybe it is not so big work to do?
Join in the keke51. The complexity of the network BCH falls, the price increases. Ideal conditions for mining BCH. Really need P2pool BCH.
Cryptonomist
Newbie
*
Offline Offline

Activity: 6


View Profile
August 20, 2017, 02:53:37 PM
 #15725


Ok, thank you. This solved the problem.

I've got another question about p2pool. I'm fairly new to mining using p2pool, so the current situation with the different forks is a bit confusing. As I understand it from the posts on this forum and the output of jtoomim's 1mb_segwit p2pool, jtoomim's fork follows segwit2x, which will be a hardfork of the bitcoin blockchain in november. I'm in favor of segwit but not of segwit2x. So I would rather not mine on a p2pool fork that supports segwit2x. As I understand it the current version of forrestv p2pool's does not support segwit. That's the version I use currently for mining. However I see that veqtrus wrote a commit that supports segwit but not segwit2x. So my question is the folowing. Is there a plan in the foreseeable future to merge forrestv's version and veqtrus's commit, so that I just need to do a git pull to have a a p2pool version that supports segwit?  Or, is forrestv's version going to merge with jtoomim's version, so that I will be forced to chose for segwit2x anyway?

Thank you.
jtoomim
Hero Member
*****
Offline Offline

Activity: 682


View Profile WWW
August 20, 2017, 07:27:50 PM
 #15726

jtoomimnet (via the 1mb_segwit branch) follows segwit for the next two months. I am working on code that will make jtoomimnet split into a segwit chain and a segwit2x chain automatically once the fork happens. This code will also be required for supporting Bitcoin Cash, which is my immediate goal.

Supporting Bitcoin Cash is likely to require some p2pool performance improvements as well, as the current codebase struggles with 1MB blocks, much less 8MB. I hope to have Bitcoin Cash working by the end of the weekend as long as you have a high-end server. I'll try to get the needed performance improvements afterwards.

Quote
I will be forced to chose for segwit2x anyway?
It is not my goal to force anyone to do anything. As long as you are aware of the risks of mining on a minority chain, you are welcome to do so. I don't want people to mine on the minority chain due to ignorance, but as long as people know what they're doing, it's fine with me.

Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power.
http://Toom.im
Xantus
Newbie
*
Offline Offline

Activity: 23


View Profile
August 20, 2017, 07:31:24 PM
 #15727

isent it posible to compile an P2Pool exe File for windows ?  Huh
jtoomim
Hero Member
*****
Offline Offline

Activity: 682


View Profile WWW
August 20, 2017, 07:55:12 PM
 #15728

Not with pypy. Until I get the performance good enough so that regular CPython will work for p2pool without high DOA rates on common CPUs, pypy will be necessary, and making EXEs will not be a good idea.

Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power.
http://Toom.im
jtoomim
Hero Member
*****
Offline Offline

Activity: 682


View Profile WWW
August 20, 2017, 10:09:46 PM
 #15729

Sigh, more p2pool drama between me and veqtrus:

https://www.reddit.com/r/Bitcoin/comments/6uweb7/p2pool_upgrade_for_segwit_compatibility/

Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power.
http://Toom.im
jtoomim
Hero Member
*****
Offline Offline

Activity: 682


View Profile WWW
August 21, 2017, 09:44:13 PM
 #15730

I goofed and set one of my nodes' bitcoinds to prune its blockchain. Apparently p2pool requires that the genesis block be unpruned, and will fail to start if pruning is enabled. Oops. ml.toom.im:9334 will be down for a couple more hours as I resync the blockchain. It's up to block 415543 so far, so it shouldn't be too much longer. If anyone was mining onto ml.toom.im:9334, sorry.

Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power.
http://Toom.im
jtoomim
Hero Member
*****
Offline Offline

Activity: 682


View Profile WWW
Today at 12:36:22 AM
 #15731

Support for v33 (Segwit) shares on jtoomimnet is at around 97% over the last few hours. Anyone still in the 3% who hasn't upgraded will be forked off very soon.

Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power.
http://Toom.im
Pages: « 1 ... 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]
  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!