Pages:
Author

Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool - page 46. (Read 2591916 times)

hero member
Activity: 578
Merit: 501
This seems like yet another example of people not understanding what we are actually doing. Shocked
hero member
Activity: 818
Merit: 1006
If you mine a share that exceeds the difficulty threshold do you get paid more for a share that way exceeds the threshold over one that just squeaks by?
The difficulty of the share is different from the hash that the share actually gets. The threshold for the share is encoded into the share itself, and is part of what gets hashed, which means it's like saying "I promised you I would make a share with difficulty X, and if you hash this sentence (which includes nonce Y) you'll see that it meets that difficulty level." It doesn't matter how far you exceed that difficulty threshold.
legendary
Activity: 3164
Merit: 2258
I fix broken miners. And make holes in teeth :-)
That is incorrect. A P2Pool miner is paid according to the total worth of his or her shares remaining in the sharechain when a block is found. The sharechain contains approximately three days' worth of shares. So, for example, even if Alice were to stop mining on P2Pool two days before P2Pool finds a block, Alice still has approximately one day's worth of accepted shares that she will get paid for when the block is found.
I wondered about that: If you mine a share that exceeds the difficulty threshold do you get paid more for a share that way exceeds the threshold over one that just squeaks by? That doesn't make a whole lot of sense.

C
sr. member
Activity: 351
Merit: 410
... When we hit a block (on one side of the fork), all miners on that side will be paid out, proportional to (as far as I understand!) the number of shares they have in the sharechain...

More accurately, a P2Pool miner will be paid according to the total worth of the accepted shares he or she has in the P2Pool sharechain when a block is found. For example, if Alice found one share that is of the same difficulty level as Bob's ten shares combined, their payouts according to their respective shares would be the same. P2Pool's payouts are weighted according to share difficulty, not share quantity.

... That's IF they're currently mining when the block is hit, otherwise, they get nothing...

That is incorrect. A P2Pool miner is paid according to the total worth of his or her shares remaining in the sharechain when a block is found. The sharechain contains approximately three days' worth of shares. So, for example, even if Alice were to stop mining on P2Pool two days before P2Pool finds a block, Alice still has approximately one day's worth of accepted shares that she will get paid for when the block is found.
newbie
Activity: 56
Merit: 0
is there ETA for payment or wait until some week wahaha (◕‿◕)

If you're mining on P2Pool, you should know the answer to this question already. When we hit a block (on one side of the fork), all miners on that side will be paid out, proportional to (as far as I understand!) the number of shares they have in the sharechain. That's IF they're currently mining when the block is hit, otherwise, they get nothing Cheesy

Cheers,

Allan.
sr. member
Activity: 882
Merit: 250
Founder Nur1Labs
is there ETA for payment or wait until some week wahaha (◕‿◕)
legendary
Activity: 1258
Merit: 1027
P2pool is sailing death slow !

http://imgur.com/a/ptZyP

It is better to make an agreement to join the two versions and join forces  Shocked

That's the plan (for me anyway). Just waiting on testing to compete and merged into main p2pool branch.
hero member
Activity: 496
Merit: 500
P2pool is sailing death slow !

http://imgur.com/a/ptZyP

It is better to make an agreement to join the two versions and join forces  Shocked
hero member
Activity: 818
Merit: 1006
Hey! Where did all the Petahashes go? Huh It's 1.8 instead of recent 12-18 Ph. I mean jtoomims fork of course)
Nicehash rates are probably high right now. This will give you a chance to get more of your shares into the share chain and increase the amount of reward per block you'll get should a block be found. The ≥1 PH/s of hashrate on my nodes will be staying on jtoomimnet p2pool no matter what, so we will find a block eventually even if the Nicehash renters never come back. It might take a few weeks, though.
newbie
Activity: 5
Merit: 0
Hey! Where did all the Petahashes go? Huh It's 1.8 instead of recent 12-18 Ph. I mean jtoomims fork of course)
legendary
Activity: 1308
Merit: 1011
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.
On any nodes the same error.
I tested a DGB node http://crypto.mine.nu:5027 based on the mainnet code.
When I got the error, I tried to switch the lease to the mainnet BTC http://crypto.office-on-the.net:9332 and to the fork http://crypto.office-on-the.net:9334.
The reaction of the nodes was the same everywhere - they reported an incorrect number of arguments.


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 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).
I sent a tcpdump to your email
hero member
Activity: 818
Merit: 1006
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.....@[email protected],
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).
legendary
Activity: 1308
Merit: 1011
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)
--- ---
  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.
hero member
Activity: 818
Merit: 1006
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?
hero member
Activity: 818
Merit: 1006
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)
newbie
Activity: 16
Merit: 0
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.
legendary
Activity: 1308
Merit: 1011
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.
newbie
Activity: 11
Merit: 0
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
legendary
Activity: 1308
Merit: 1011

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://bitcointalksearch.org/topic/m.18881770
newbie
Activity: 11
Merit: 0

Works fine! Thanks a lot, sir!

UPD: But... not Sad

http://huckster.ru/err.png

And this ignore this divisor: /2+0.000244
Pages:
Jump to: