Bitcoin Forum
April 26, 2024, 11:42:31 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
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 2591625 times)
sawa
Legendary
*
Offline Offline

Activity: 1308
Merit: 1011



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

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.

1714131751
Hero Member
*
Offline Offline

Posts: 1714131751

View Profile Personal Message (Offline)

Ignore
1714131751
Reply with quote  #2

1714131751
Report to moderator
1714131751
Hero Member
*
Offline Offline

Posts: 1714131751

View Profile Personal Message (Offline)

Ignore
1714131751
Reply with quote  #2

1714131751
Report to moderator
1714131751
Hero Member
*
Offline Offline

Posts: 1714131751

View Profile Personal Message (Offline)

Ignore
1714131751
Reply with quote  #2

1714131751
Report to moderator
Be very wary of relying on JavaScript for security on crypto sites. The site can change the JavaScript at any time unless you take unusual precautions, and browsers are not generally known for their airtight security.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1006


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

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
sawa
Legendary
*
Offline Offline

Activity: 1308
Merit: 1011



View Profile
May 16, 2017, 09:32:52 PM
Last edit: May 16, 2017, 09:50:43 PM by sawa
 #15363

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

keke51
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
May 17, 2017, 11:06:21 AM
 #15364

Hey! Where did all the Petahashes go? Huh It's 1.8 instead of recent 12-18 Ph. I mean jtoomims fork of course)
jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1006


View Profile WWW
May 17, 2017, 05:38:30 PM
 #15365

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.

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

Activity: 496
Merit: 500


View Profile
May 17, 2017, 11:26:39 PM
 #15366

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
windpath
Legendary
*
Offline Offline

Activity: 1258
Merit: 1027


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

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

Activity: 868
Merit: 250


Founder Nur1Labs


View Profile WWW
May 18, 2017, 03:25:04 AM
 #15368

is there ETA for payment or wait until some week wahaha (◕‿◕)

==MuBdI BlockStream Platform - Future Blockchain Platform==
==Open Hire Developer Using Our Services==
Dibblah
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
May 18, 2017, 10:55:53 AM
 #15369

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

Activity: 351
Merit: 410


View Profile
May 18, 2017, 12:33:58 PM
 #15370

... 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.
lightfoot
Legendary
*
Offline Offline

Activity: 3094
Merit: 2239


I fix broken miners. And make holes in teeth :-)


View Profile
May 18, 2017, 11:46:04 PM
 #15371

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

Activity: 818
Merit: 1006


View Profile WWW
May 19, 2017, 01:57:42 AM
 #15372

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.

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

Activity: 578
Merit: 501



View Profile
May 19, 2017, 02:47:03 AM
 #15373

This seems like yet another example of people not understanding what we are actually doing. Shocked

Current HW: 2x Apollo
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
jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1006


View Profile WWW
May 19, 2017, 09:14:47 PM
Last edit: May 20, 2017, 04:36:56 PM by jtoomim
 #15374

To whomever is mining on ml.toom.im:9332 with address 3GU89xZmzJfCBXFzbB3mC2dsxDyKqrD7nz:

P2pool does not support multisig or P2SH addresses. Any worker name that is not a regular P2PKH address (starting with a 1) ends up contributing to the default address for that node. In other words, you're mining into my wallet, not your own.

I'll send you the 0.125 btc you made in the last block soon-ish (few days? I don't currently have access to that wallet), but I think everyone would be happier if you mined directly into your own address. Edit: sent.

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

Activity: 21
Merit: 0


View Profile
May 20, 2017, 12:09:14 AM
 #15375

Can someone explain the drop in hashing power pointed to p2pool?  I saw someone else mention it was up to 12PH and now it's hovering between 2-3PH.  Did I miss something? 

Everyone go back to a centralized pool?  What the hay??
Mister S
Member
**
Offline Offline

Activity: 72
Merit: 10


View Profile
May 20, 2017, 12:32:54 AM
 #15376

Can someone explain the drop in hashing power pointed to p2pool?  I saw someone else mention it was up to 12PH and now it's hovering between 2-3PH.  Did I miss something? 

Everyone go back to a centralized pool?  What the hay??

Rentals are only sustainable if they're hitting blocks on a regular basis. The price of rentals also rises with demand. Most likely scenario is the rented hash that was contributing to P2Pool ran out and the cost vs. profit was too great a ratio to justify another week of 'maybe a block'
lightfoot
Legendary
*
Offline Offline

Activity: 3094
Merit: 2239


I fix broken miners. And make holes in teeth :-)


View Profile
May 20, 2017, 04:18:07 AM
 #15377

This seems like yet another example of people not understanding what we are actually doing. Shocked
No, I thought it was the former, but it had me questioning a bit. Technically the scenario of paying more for bigger shares would not be logical as the guy/gal/dog who submits the winning share would get a larger percentage of the proverbial pie.

I don't understand every nuance, my specialty is hacking and fixing the mining hardware. That I'm good at :-)
nur1labs
Sr. Member
****
Offline Offline

Activity: 868
Merit: 250


Founder Nur1Labs


View Profile WWW
May 20, 2017, 04:47:25 AM
 #15378

Ok that mean fair on share wahaha. nice p2pool you are great. i see last time friday is 4 Ph/s now why become 2 Ph/s wahaha....(◕‿◕)

To whomever is mining on ml.toom.im:9332 with address 3GU89xZmzJfCBXFzbB3mC2dsxDyKqrD7nz:

P2pool does not support multisig or P2SH addresses. Any worker name that is not a regular P2PKH address (starting with a 1) ends up contributing to the default address for that node. In other words, you're mining into my wallet, not your own.

I'll send you the 0.125 btc you made in the last block soon-ish (few days? I don't currently have access to that wallet), but I think everyone would be happier if you mined directly into your own address.

is that mean p2pool adresss or something?when i used another address can't run when p2pool adress from generated tools. only that workingo(≧▽≦)o

==MuBdI BlockStream Platform - Future Blockchain Platform==
==Open Hire Developer Using Our Services==
Mister S
Member
**
Offline Offline

Activity: 72
Merit: 10


View Profile
May 20, 2017, 06:51:26 AM
 #15379

This seems like yet another example of people not understanding what we are actually doing. Shocked
No, I thought it was the former, but it had me questioning a bit. Technically the scenario of paying more for bigger shares would not be logical as the guy/gal/dog who submits the winning share would get a larger percentage of the proverbial pie.

I don't understand every nuance, my specialty is hacking and fixing the mining hardware. That I'm good at :-)

Technically, the guy/gal/dog who submits the winning share DOES get the larger percentage of the proverbial pie, or at least used to, in the form of a 0.5% incentive. I don't know if that's still coded in or not though.

From the P2Pool Wiki: A subsidy of 0.5% is sent to the node that solved the block in order to discourage not sharing solutions that qualify as a block. (A miner with the aim to harm others could withhold the block, thereby preventing anybody from getting paid. He can NOT redirect the payout to himself.) The remaining 99.5% is distributed evenly to miners based on work done recently.
nur1labs
Sr. Member
****
Offline Offline

Activity: 868
Merit: 250


Founder Nur1Labs


View Profile WWW
May 20, 2017, 07:13:26 AM
 #15380

This seems like yet another example of people not understanding what we are actually doing. Shocked
No, I thought it was the former, but it had me questioning a bit. Technically the scenario of paying more for bigger shares would not be logical as the guy/gal/dog who submits the winning share would get a larger percentage of the proverbial pie.

I don't understand every nuance, my specialty is hacking and fixing the mining hardware. That I'm good at :-)

Technically, the guy/gal/dog who submits the winning share DOES get the larger percentage of the proverbial pie, or at least used to, in the form of a 0.5% incentive. I don't know if that's still coded in or not though.

From the P2Pool Wiki: A subsidy of 0.5% is sent to the node that solved the block in order to discourage not sharing solutions that qualify as a block. (A miner with the aim to harm others could withhold the block, thereby preventing anybody from getting paid. He can NOT redirect the payout to himself.) The remaining 99.5% is distributed evenly to miners based on work done recently.

so that it need waiting around 13 days to payout huh?(◕‿◕)

==MuBdI BlockStream Platform - Future Blockchain Platform==
==Open Hire Developer Using Our Services==
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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!