Bitcoin Forum
April 23, 2018, 06:24:22 PM *
News: Latest stable version of Bitcoin Core: 0.16.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 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 803 804 805 806 807 808 809 810 811 812 813 814 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2558748 times)
flameruk
Full Member
***
Offline Offline

Activity: 197
Merit: 100


View Profile WWW
May 11, 2017, 08:59:34 PM
 #15361

Code:
2017-05-11 15:16:06.170906 Generating a share with 748972 bytes (2821 new) and 1701 transactions (12 new)
You should probably also add blockmaxsize=999000 to bitcoin.conf.
[/quote]

OK, with the old fork my server was never happy running for 1Mb blocks.
Ill adjust this now seeing as everything dare I say seems "more stable" for me at least.
With the BGBT Latency down, it might handle it better now.

Find my P2POOL node at www.ukp2pool.uk:9332

Donations for operating node?
BTC  1CYevtGy3aqr1reuq7CFceNFAT7snsz3VM
1524507862
Hero Member
*
Offline Offline

Posts: 1524507862

View Profile Personal Message (Offline)

Ignore
1524507862
Reply with quote  #2

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

Posts: 1524507862

View Profile Personal Message (Offline)

Ignore
1524507862
Reply with quote  #2

1524507862
Report to moderator
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2492
Merit: 1047


Ruu \o/


View Profile WWW
May 11, 2017, 09:29:07 PM
 #15362

May I suggest that if forrestv does not approve of jtoomim's fork and include the code in the main repository that a new thread be created for the alternative fork out of respect for the original thread and pool? Alternatively, if forrestv is happy for the jtoomim fork to be the main pool and take over management of the p2pool concept entirely this should also run in its own thread such that jtoomim can be the opening poster where announces/changes can be documented.
No comment on this? You are hijacking forrestv's thread and forking his pool away from him...

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
flameruk
Full Member
***
Offline Offline

Activity: 197
Merit: 100


View Profile WWW
May 11, 2017, 09:45:27 PM
 #15363

OK, Im stable enough now to connect on the network.

Node IP: ukp2pool.uk (default ports 9332)
Connected to: ml.toom.im:9334
To connect to me: run_p2pool.py -n ukp2pool.uk:9332
CPU: 2 X 2.1 GHz Opteron (2373) Quad Core
Pipe: Leased Line 10/10
Using: Python 2.7.5

Find my P2POOL node at www.ukp2pool.uk:9332

Donations for operating node?
BTC  1CYevtGy3aqr1reuq7CFceNFAT7snsz3VM
Huckster
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile WWW
May 11, 2017, 09:55:33 PM
 #15364

Diff: 560G
It says my BFGMiner.  Huh Huh Huh

http://pool.hws.ru:9327
sawa
Legendary
*
Offline Offline

Activity: 1258
Merit: 1002



View Profile
May 11, 2017, 10:24:26 PM
 #15365

Code:
...
ImportError: No module named zope.interface
I fixed and checked, download again https://github.com/ilsawa/p2pool-ltc/releases/download/16.0/p2pool_win32_4c59633.zip

jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1001


View Profile WWW
May 12, 2017, 12:45:18 AM
 #15366

No comment on this? You are hijacking forrestv's thread and forking his pool away from him...
As you may have noticed, forrestv isn't very active in this community any more. As such, I have been treating this more as a p2pool community thread rather than forrestv's thread. If he views it differently, then I will defer to that.

The branch that I made is still mostly his code, and still defaults to including a 0.5% donation to him. I'm not trying to steal p2pool away from him; I'm just trying to keep the project alive even though the official maintainer and sole github committer is inactive.

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

Activity: 2492
Merit: 1047


Ruu \o/


View Profile WWW
May 12, 2017, 12:49:16 AM
 #15367

No comment on this? You are hijacking forrestv's thread and forking his pool away from him...
As you may have noticed, forrestv isn't very active in this community any more. As such, I have been treating this more as a p2pool community thread rather than forrestv's thread. If he views it differently, then I will defer to that.

The branch that I made is still mostly his code, and still defaults to including a 0.5% donation to him. I'm not trying to steal p2pool away from him; I'm just trying to keep the project alive even though the official maintainer and sole github committer is inactive.
I'm sure you would find your own thread far more flexible and useful anyway, but I'm not making any calls on moderating this unless forrestv does show up and declare his wishes.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1001


View Profile WWW
May 12, 2017, 12:49:31 AM
 #15368

OK, with the old fork my server was never happy running for 1Mb blocks.
This commit (https://github.com/jtoomim/p2pool/commit/e71535e4401d0e0b6d19b2c0741b1fff2d9770a1) significantly reduces the CPU load from p2pool dealing with large numbers of transactions. CPU load vs transaction volume was O(n^2) in the old version of p2pool, but should be O(n) in my branch.

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

Activity: 516
Merit: 511


View Profile
May 12, 2017, 01:49:11 AM
 #15369

I don't see anything wrong with jtoomim's posts here.

With regard to development efforts, jtoomim: I'll merge any pull requests from you from now on that pass a quick review (I don't have means to test currently). If you want, we can discuss giving you push access to https://github.com/p2pool/p2pool.

ck-'s point about making a new thread may make sense if jtoomim takes over and creates new releases, as he'll be unable to directly edit the first post of this thread that links to them.

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1001


View Profile WWW
May 12, 2017, 02:00:26 PM
 #15370

With regard to development efforts, jtoomim: I'll merge any pull requests from you from now on that pass a quick review (I don't have means to test currently). If you want, we can discuss giving you push access to https://github.com/p2pool/p2pool.
Sounds good. 1mb_hardforked isn't quite ready for master yet, as it hasn't been tested with any altcoins -- this commit (https://github.com/jtoomim/p2pool/commit/fe9179e4a81543aadfcc840c0697df0aa475748f) in particular worries me -- but once I've tested it at least with one altcoin and have investigated the timezone issue a bit better, I'll put in a PR.

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

Activity: 1233
Merit: 1000


View Profile WWW
May 12, 2017, 03:18:25 PM
 #15371

With regard to development efforts, jtoomim: I'll merge any pull requests from you from now on that pass a quick review (I don't have means to test currently). If you want, we can discuss giving you push access to https://github.com/p2pool/p2pool.
Sounds good. 1mb_hardforked isn't quite ready for master yet, as it hasn't been tested with any altcoins -- this commit (https://github.com/jtoomim/p2pool/commit/fe9179e4a81543aadfcc840c0697df0aa475748f) in particular worries me -- but once I've tested it at least with one altcoin and have investigated the timezone issue a bit better, I'll put in a PR.

Great! Thank you both.

Huckster
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile WWW
May 12, 2017, 04:34:15 PM
 #15372


Works fine! Thanks a lot, sir!

UPD: But... not Sad

http://huckster.ru/err.png

And this ignore this divisor: /2+0.000244

http://pool.hws.ru:9327
sawa
Legendary
*
Offline Offline

Activity: 1258
Merit: 1002



View Profile
May 12, 2017, 06:48:35 PM
 #15373


Works fine! Thanks a lot, sir!

UPD: But... not Sad


A little longer dig, 2-3 hours. Then look at what the value will show the difficulty of the pool.

And this ignore this divisor: /2+0.000244
https://bitcointalk.org/index.php?topic=18313.msg18881770#msg18881770

Huckster
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile WWW
May 12, 2017, 07:10:27 PM
 #15374

Probably because the pool will not give shares with difficulty less than pool.hws.ru:9327/difficulty

For testing purposes, i found GC3355, people called this a "hedgehog" Smiley

Same settings, same device, pool is different:

http://huckster.ru/good.png

http://pool.hws.ru:9327
sawa
Legendary
*
Offline Offline

Activity: 1258
Merit: 1002



View Profile
May 12, 2017, 07:22:17 PM
 #15375

Probably because the pool will not give shares with difficulty less than pool.hws.ru:9327/difficulty

For testing purposes, i found GC3355, people called this a "hedgehog" Smiley

Same settings, same device, pool is different:


I understand, I edited my message. Read it.

Dropwise
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
May 13, 2017, 05:04:49 PM
 #15376

Hello,
I successfully got jtoomim's fork up and running with the below instructions.
However, it appears it is running Version: 15.0-43-gcc6fd7d rather than Version: 16.0-7-gb0d472e-dirty at ml.toom.im:9332

Can anyone please clarify:
1)  is this correct?
2)  is it possible to upgrade to 16?   if so, can you please provide instructions?

Many thanks,
d





https://github.com/jtoomim/p2pool/tree/1mb_hardforked has new code. This should fix the sync issues that people have been having. It also includes a few bootstrap nodes to make it easier for people to connect to the jtoomimnet p2pool.

To set up and run my fork, you will need to do the regular steps for installing p2pool, except that instead of getting the regular github.com/p2pool/p2pool repository, you will do:

Code:
git clone https://github.com/jtoomim/p2pool
cd p2pool
git checkout 1mb_hardforked

If anyone continues to have trouble connecting to jtoomimnet, please let me know.
jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1001


View Profile WWW
May 16, 2017, 05:51:48 PM
 #15377

I successfully got jtoomim's fork up and running with the below instructions.
However, it appears it is running Version: 15.0-43-gcc6fd7d rather than Version: 16.0-7-gb0d472e-dirty at ml.toom.im:9332
Ignore that. The version that p2pool advertises is not based on the code itself, but instead on the git history of the branch that you're logged into. Specifically, p2pool runs "git describe --dirty --always" in order to determine its version number. git describe will look for the most recent tag that is reachable from a commit. As I haven't tagged any new versions yet (though I totally should have), git describe doesn't say anything helpful. For some unknown reason, it shows up as 16.0-7-* on my nodes but 15.0-43-* on the nodes that other people have made from cloned repositories, even though the code is exactly the same.

If you run "git log", that will list the most recent changes that were made on the branch you're using. As of today, the most recent commit should be:

commit cc6fd7d227f869aa02cdf9f89e8349aa9d2a4344
Author: Jonathan Toomim
Date:   Wed May 10 06:11:49 2017 -0700

    Don't attempt retransmission of shares when transactions are missing (avoid hang on sync)

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

Activity: 818
Merit: 1001


View Profile WWW
May 16, 2017, 05:53:20 PM
 #15378

2017-05-10 20:50:23.585000 >   File "C:\Users\ppif\Documents\GitHub\p2pool\p2pool\data.py", line 323, in check
2017-05-10 20:50:23.585000 >     if self.timestamp > int(time.mktime(time.gmtime()) - time.mktime(time.gmtime(0))) + 300:
2017-05-10 20:50:23.585000 > exceptions.OverflowError: mktime argument out of range
I did some testing, and I was unable to reproduce this error. Is it still occurring? If so, do you think you might be able to give me remote access to this machine (e.g. via showmypc.com or teamviewer) so I could do some debugging and testing?

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

Activity: 1258
Merit: 1002



View Profile
May 16, 2017, 08:04:00 PM
 #15379

I tried renting rigs at https://www.miningrigrentals.com
Many devices do not even begin to mining:
https://www.miningrigrentals.com/rigs/35897
https://www.miningrigrentals.com/rigs/35744
https://www.miningrigrentals.com/rigs/35949
In the p2pool screen, I see the messages:
Code:
Squelched JSON error:
Traceback (most recent call last):
  File "/usr/local/lib/pypy2.7/dist-packages/twisted/protocols/basic.py", line 454, in dataReceived
    self.lineReceived(line)
  File "/opt/sha256d/p2pool-btc-fork/p2pool/util/jsonrpc.py", line 164, in lineReceived
    _handle(line, self, response_handler=self._matcher.got_response).addCallback(lambda line2: self.sendLine(line2) if line2 is not None else None)
  File "/usr/local/lib/pypy2.7/dist-packages/twisted/internet/defer.py", line 1447, in unwindGenerator
    return _inlineCallbacks(None, gen, Deferred())
  File "/usr/local/lib/pypy2.7/dist-packages/twisted/internet/defer.py", line 1301, in _inlineCallbacks
    result = g.send(result)
--- <exception caught here> ---
  File "/opt/sha256d/p2pool-btc-fork/p2pool/util/jsonrpc.py", line 85, in _handle
    result = yield method_meth(*list(preargs) + list(params))
exceptions.TypeError: rpc_submit() takes exactly 6 arguments (7 given)
I last tried renting rigs on mrr half a year ago. At that time, all leased devices were well mined on the p2pools.

jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1001


View Profile WWW
May 16, 2017, 08:27:24 PM
 #15380

sawa, I didn't touch any code related to the json-rpc stuff. My guess is that this is a recently introduced bug on the miningrigrentals end. It seems that they're appending an extra parameter on their share submission messages. Have you tried the same rentals on mainnet recently? My guess is that you'd see the same issue. You could also try packet sniffing (e.g. with tcpdump -X port 9332) to see what parameters they're sending; they might just be using some stratum extension that p2pool doesn't yet support.

If you use tcpdump, you're looking for lines that look like this:
Code:
13:27:03.541709 IP tbs9-44.36404 > feather.9336: Flags [P.], seq 3992288327:3992288497, ack 1433189083, win 1304, options [nop,nop,TS val 147459895 ecr 1475188945], length 170
0x0000:  4500 00de a5a5 4000 4006 1a46 0a00 652c  E.....@.@..F..e,
0x0010:  0a00 0103 8e34 2478 edf5 7c47 556c badb  .....4$x..|GUl..
0x0020:  8018 0518 bce4 0000 0101 080a 08ca 0f37  ...............7
0x0030:  57ed 98d1 7b22 7061 7261 6d73 223a 205b  W...{"params":.[
0x0040:  2231 4775 446e 4579 5953 4533 5261 3370  "1GuDnEyYSE3Ra3p
0x0050:  4d61 7237 3331 3174 7835 706f 5235 5047  Mar7311tx5poR5PG
0x0060:  5852 3322 2c20 2231 3133 3233 3031 3730  XR3",."113230170
0x0070:  3839 3331 3033 3539 3437 3630 3432 3831  8931035947604281
0x0080:  3630 3638 3830 3530 3633 3033 3034 222c  60688050630304",
0x0090:  2022 3838 3530 3032 3030 222c 2022 3539  ."88500200",."59
0x00a0:  3162 3630 3732 222c 2022 6132 3163 6163  1b6072",."a21cac
0x00b0:  6265 225d 2c20 2269 6422 3a20 3233 3836  be"],."id":.2386
0x00c0:  392c 2022 6d65 7468 6f64 223a 2022 6d69  9,."method":."mi
0x00d0:  6e69 6e67 2e73 7562 6d69 7422 7d0a       ning.submit"}.
If we know what extra data they're sending, we might be able to patch p2pool to support it (or, if it's safe, to ignore it).

Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power.
http://Toom.im
Pages: « 1 ... 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 803 804 805 806 807 808 809 810 811 812 813 814 »
  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!