Bitcoin Forum
November 07, 2024, 12:49:12 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 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 2591884 times)
sawa
Legendary
*
Offline Offline

Activity: 1308
Merit: 1011



View Profile
May 07, 2017, 04:28:46 PM
 #15301

Located in Moscow, Russian Federation

Hello, keke51. If you are from Russia, then there is a Russian-language forum. Starting from this message https://forum.bits.media/index.php?/topic/253-p2pool-detcentralizovannyi-pul/?p=700166 and further, the people gave a lot of tips on setting up the jtoomim's forked node.

sawa
Legendary
*
Offline Offline

Activity: 1308
Merit: 1011



View Profile
May 07, 2017, 04:52:22 PM
 #15302

To those who mines on my crypto.office-on-the.net: https://bitcointalk.org/index.php?topic=852083.msg18912707#msg18912707

in2tactics
Hero Member
*****
Offline Offline

Activity: 581
Merit: 501



View Profile
May 08, 2017, 01:17:30 AM
 #15303

To those who mines on my crypto.office-on-the.net: https://bitcointalk.org/index.php?topic=852083.msg18912707#msg18912707
Wow, you run a lot of nodes. Tongue

Current HW: 2x Apollo, 2x Apollo BTC, 2x Apollo II
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
m_a17
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile WWW
May 08, 2017, 02:32:25 PM
 #15304

https://blockchain.info/ru/block-index/1500822
Block fork .
Size   999.597 KB
Transaction Fees   1.86340041 BTC
 Wink
flameruk
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile WWW
May 08, 2017, 03:29:08 PM
 #15305

Located in Moscow, Russian Federation

Hello, keke51. If you are from Russia, then there is a Russian-language forum. Starting from this message https://forum.bits.media/index.php?/topic/253-p2pool-detcentralizovannyi-pul/?p=700166 and further, the people gave a lot of tips on setting up the jtoomim's forked node.
Anything around in English?
Ive got the jtoomim fork running keeps saying "downloading shares" but it goes no further.
Seems to only connect to 2 X other nodes.
Fell to sleep at the laptop the other night and still the same 7 hours later.
Not sure what im doing wrong here, the main chain is chugging away nicely.

When I originally loaded the main chain it says "processing xx shares" etc but dont get that far with the fork.
Any ideas, I want in real bad?

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

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

Activity: 818
Merit: 1006


View Profile WWW
May 08, 2017, 04:39:49 PM
Last edit: July 09, 2017, 02:04:02 AM by jtoomim
 #15306

Ive got the jtoomim fork running keeps saying "downloading shares" but it goes no further.
Fell to sleep at the laptop the other night and still the same 7 hours later.
Email your p2pool/data/bitcoin/log file to (edit: email redacted because of spam).

Also, if anyone is having trouble connecting and doesn't mind giving me ssh access, I would like to be able to investigate these issues further. I've heard several reports from other people of having trouble downloading shares, but I've not yet been able to reproduce the issue myself.

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

Activity: 196
Merit: 100


View Profile WWW
May 08, 2017, 06:22:12 PM
 #15307

Ive got the jtoomim fork running keeps saying "downloading shares" but it goes no further.
Fell to sleep at the laptop the other night and still the same 7 hours later.
Email your p2pool/data/bitcoin/log file to j at toom dot im.

Also, if anyone is having trouble connecting and doesn't mind giving me ssh access, I would like to be able to investigate these issues further. I've heard several reports from other people of having trouble downloading shares, but I've not yet been able to reproduce the issue myself.

Cool. I'll re git clone it in the morning (UK) and give you ssh access.
I've got to finish off some embedded code for a work job tonight as I spent far to much time trying to get the fork working over the weekend.
Thanks for this sir.

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

Donations for operating node?
BTC  1CYevtGy3aqr1reuq7CFceNFAT7snsz3VM
sawa
Legendary
*
Offline Offline

Activity: 1308
Merit: 1011



View Profile
May 08, 2017, 07:39:29 PM
 #15308

Hello, jtoomim. We have a problem and it is not solved https://bitcointalk.org/index.php?topic=18313.msg18844122#msg18844122
Currently, most nodes have already rolled back the commit, cd0b24abd68467b0752eced317690cc3e388f9eb, to prevent synchronization loops. With this commit, the node periodically goes into an infinite loop, until it is restarted. To restart the node, I needed to kill the p2pool process, since it did not even react to CTRL+C

Dropwise
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
May 09, 2017, 11:10:22 PM
 #15309

Why has block https://blockchain.info/block-height/465654 not paid out?
windpath
Legendary
*
Offline Offline

Activity: 1258
Merit: 1027


View Profile WWW
May 09, 2017, 11:44:08 PM
 #15310

Why has block https://blockchain.info/block-height/465654 not paid out?

It has, it was found by jtoomims fork, not the main P2Pool chain.
Dropwise
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
May 09, 2017, 11:48:37 PM
Last edit: May 10, 2017, 12:16:14 AM by Dropwise
 #15311

Oh thank you for clarifying. I was unaware of the fork. Can someone kindly direct me to a setup guide for configuring a jtoomims p2pool node? I'm struggling to find this.
notabeliever
Hero Member
*****
Offline Offline

Activity: 726
Merit: 504


View Profile
May 10, 2017, 01:35:56 AM
 #15312

Oh thank you for clarifying. I was unaware of the fork. Can someone kindly direct me to a setup guide for configuring a jtoomims p2pool node? I'm struggling to find this.

look at the threads above #15322 and   #15328

https://bitcointalk.org/index.php?topic=18313
-ck
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


View Profile WWW
May 10, 2017, 01:54:06 AM
 #15313

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.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
flameruk
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile WWW
May 10, 2017, 08:54:36 AM
 #15314

Ive got the jtoomim fork running keeps saying "downloading shares" but it goes no further.
Fell to sleep at the laptop the other night and still the same 7 hours later.
Email your p2pool/data/bitcoin/log file to j at toom dot im.

Also, if anyone is having trouble connecting and doesn't mind giving me ssh access, I would like to be able to investigate these issues further. I've heard several reports from other people of having trouble downloading shares, but I've not yet been able to reproduce the issue myself.

OK so I went onto the Russian "how to".
I cant read a word of Russian but can understand the code.

I used this :-

git clone -b 1mb_hardforked https://github.com/jtoomim/p2pool.git p2pool

And now im working. Must have been trying the Git Clone wrong.
Ill let this run, its downloading and processing the share chain and see what happens.

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

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

Activity: 28
Merit: 0


View Profile
May 10, 2017, 11:28:18 AM
 #15315

Any ideas why my backup pool has different numbers for everything?  And why did the backup pool output 2 different lines with "New work?"  The second line has the same share difficulty as my main instance, but the difficulty, block value and number of transactions aren't the same.  Both nodes to show the same number of shares in the chain and the same pool hash rate and stale rate. Wink Wink
in2tactics
Hero Member
*****
Offline Offline

Activity: 581
Merit: 501



View Profile
May 10, 2017, 12:04:14 PM
 #15316

Any ideas why my backup pool has different numbers for everything?  And why did the backup pool output 2 different lines with "New work?"  The second line has the same share difficulty as my main instance, but the difficulty, block value and number of transactions aren't the same.  Both nodes to show the same number of shares in the chain and the same pool hash rate and stale rate. Wink Wink
We need to know which two pools you are referring to.

Current HW: 2x Apollo, 2x Apollo BTC, 2x Apollo II
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 10, 2017, 01:17:03 PM
 #15317

Hello, jtoomim. We have a problem and it is not solved https://bitcointalk.org/index.php?topic=18313.msg18844122#msg18844122
Currently, most nodes have already rolled back the commit, cd0b24abd68467b0752eced317690cc3e388f9eb, to prevent synchronization loops. With this commit, the node periodically goes into an infinite loop, until it is restarted. To restart the node, I needed to kill the p2pool process, since it did not even react to CTRL+C
Thanks for the info. It does seem that there may be something wrong with that commit. It's a pretty important commit, though. Without it, in my early testing, I was getting about 60% of my shares orphaned due to transmission failures. I think that orphan rate mostly applies to the first share after a new block, so the orphan rate is likely to be lower in a production environment. However, it will still cost you money if you try to run completely without it.

The purpose of that commit was to fix a problem in which transaction hashes that were part of a stratum job could not be dereferenced into full transactions for share propagation. To fix it, that commit does a few things:

1. It keeps a separate record of transactions that were most recently received by bitcoind in a getblocktemplate vs. transactions that were most recently handed out to miners.
2. It uses a Python namespace hack to keep the transactions in memory in a separate variable in case #1 above doesn't work
3. If share transmission doesn't work due to missing transactions, it queues additional attempts with a delay.

It looks like the problem was with the share retransmission logic (#3). I don't think the retransmission logic is necessary any more, so I made a branch that excludes just that part and see if it fixes the problems that people have been having. I'm testing it now. Looks good so far; I'll post again once testing is finished.

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: 1006


View Profile WWW
May 10, 2017, 01:53:23 PM
 #15318

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.

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

Activity: 1
Merit: 0


View Profile
May 10, 2017, 05:58:06 PM
 #15319

2017-05-10 20:50:20.355000 P2Pool: 0 shares in chain (0 verified/8607 total) Peers: 6 (0 incoming)
2017-05-10 20:50:20.355000  Local: 0H/s in last 0.0 seconds Local dead on arrival: Huh Expected time to share: Huh
2017-05-10 20:50:23.507000 Processing 57 shares from 208.84.223.121:9333...
2017-05-10 20:50:23.507000 > Share check failed: 0000000000000024677fb883b7adf4d0005b9de313b8d5a6a7f305047533bff5 -> 00000000000000d388b15e1aca14c569e6d6a2b748469a847ea10c167a05ba96
2017-05-10 20:50:23.522000 > Traceback (most recent call last):
2017-05-10 20:50:23.522000 >   File "C:\Users\ppif\Documents\GitHub\p2pool\p2pool\node.py", line 134, in download_shares
2017-05-10 20:50:23.522000 >     self.handle_shares([(share, []) for share in shares], peer)
2017-05-10 20:50:23.522000 >   File "C:\Users\ppif\Documents\GitHub\p2pool\p2pool\node.py", line 47, in handle_shares
2017-05-10 20:50:23.522000 >     self.node.set_best_share()
2017-05-10 20:50:23.522000 >   File "C:\Users\ppif\Documents\GitHub\p2pool\p2pool\node.py", line 293, in set_best_share
2017-05-10 20:50:23.522000 >     best, desired, decorated_heads, bad_peer_addresses = self.tracker.think(self.get_height_rel_highest, self.bitcoind_work.value['previous_block'], self.bitcoind_work.value['bits'], self.known_txs_var.value)
2017-05-10 20:50:23.538000 >   File "C:\Users\ppif\Documents\GitHub\p2pool\p2pool\data.py", line 486, in think
2017-05-10 20:50:23.538000 >     if self.attempt_verify(share):
2017-05-10 20:50:23.538000 > --- <exception caught here> ---
2017-05-10 20:50:23.538000 >   File "C:\Users\ppif\Documents\GitHub\p2pool\p2pool\data.py", line 464, in attempt_verify
2017-05-10 20:50:23.538000 >     share.check(self)
2017-05-10 20:50:23.538000 >   File "C:\Users\ppif\Documents\GitHub\p2pool\p2pool\data.py", line 323, in check
2017-05-10 20:50:23.553000 >     if self.timestamp > int(time.mktime(time.gmtime()) - time.mktime(time.gmtime(0))) + 300:
2017-05-10 20:50:23.553000 > exceptions.OverflowError: mktime argument out of range
2017-05-10 20:50:23.553000 > Share check failed: 00000000000000d388b15e1aca14c569e6d6a2b748469a847ea10c167a05ba96 -> 000000000000001d67b2dbc2e3979ece6983117c25d8041e61f69d810f784d2e
2017-05-10 20:50:23.553000 > Traceback (most recent call last):
2017-05-10 20:50:23.553000 >   File "C:\Users\ppif\Documents\GitHub\p2pool\p2pool\node.py", line 134, in download_shares
2017-05-10 20:50:23.553000 >     self.handle_shares([(share, []) for share in shares], peer)
2017-05-10 20:50:23.553000 >   File "C:\Users\ppif\Documents\GitHub\p2pool\p2pool\node.py", line 47, in handle_shares
2017-05-10 20:50:23.569000 >     self.node.set_best_share()
2017-05-10 20:50:23.569000 >   File "C:\Users\ppif\Documents\GitHub\p2pool\p2pool\node.py", line 293, in set_best_share
2017-05-10 20:50:23.569000 >     best, desired, decorated_heads, bad_peer_addresses = self.tracker.think(self.get_height_rel_highest, self.bitcoind_work.value['previous_block'], self.bitcoind_work.value['bits'], self.known_txs_var.value)
2017-05-10 20:50:23.569000 >   File "C:\Users\ppif\Documents\GitHub\p2pool\p2pool\data.py", line 486, in think
2017-05-10 20:50:23.569000 >     if self.attempt_verify(share):
2017-05-10 20:50:23.569000 > --- <exception caught here> ---
2017-05-10 20:50:23.569000 >   File "C:\Users\ppif\Documents\GitHub\p2pool\p2pool\data.py", line 464, in attempt_verify
2017-05-10 20:50:23.585000 >     share.check(self)
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
jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1006


View Profile WWW
May 10, 2017, 06:27:53 PM
 #15320

I haven't tested on Windows before. That looks like it might be a Windows-specific error. I'll see if I can reproduce it.

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