Bitcoin Forum
August 19, 2018, 09:32:38 PM *
News: Latest stable version of Bitcoin Core: 0.16.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 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 815 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2564857 times)
Blue Bear
Jr. Member
*
Offline Offline

Activity: 31
Merit: 0

If a Bear sits on a miner does it break?


View Profile
August 25, 2017, 04:59:07 AM
 #15741

In addition, I highly recommend adding the following two lines to your bitcoin.conf:

Code:
blockmaxsize=1000000
blockmaxweight=4000000

This enables your P2Pool node to mine full blocks. I'm not sure if btc1 changed its defaults, but on Bitcoin Core the default blockmaxsize and blockmaxweight values are 750 kB and 3 MB respectively, meaning that if you left your bitcoind to its defaults, your P2Pool node would be mining artificially smaller blocks.

Now that SegWit has been activated, using blockmaxsize=1000000 will prevent your node from ever creating blocks with more than 1 MB of data (including witnesses). The best way to ensure that your node makes the largest possible blocks is to have this in your bitcoin.conf:

Code:
blockmaxweight=4000000

WITHOUT any value for blockmaxsize. Bitcoind will not use the default value for blockmaxsize if a value for blockmaxweight is manually set.

https://github.com/bitcoin/bitcoin/blob/master/src/miner.cpp#L83

P2pool itself also has a 1 MB limit right now. I will need to check whether p2pool itself limits the block stripped size to 1 MB or the block serialized size to 1 MB.

that took care of one warning ...  Undecided
Jtoomim is v17 your branch?
1534714358
Hero Member
*
Offline Offline

Posts: 1534714358

View Profile Personal Message (Offline)

Ignore
1534714358
Reply with quote  #2

1534714358
Report to moderator
1534714358
Hero Member
*
Offline Offline

Posts: 1534714358

View Profile Personal Message (Offline)

Ignore
1534714358
Reply with quote  #2

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

Posts: 1534714358

View Profile Personal Message (Offline)

Ignore
1534714358
Reply with quote  #2

1534714358
Report to moderator
1534714358
Hero Member
*
Offline Offline

Posts: 1534714358

View Profile Personal Message (Offline)

Ignore
1534714358
Reply with quote  #2

1534714358
Report to moderator
veqtrus
Member
**
Offline Offline

Activity: 107
Merit: 10


View Profile WWW
August 25, 2017, 06:01:46 AM
 #15742

P2pool itself also has a 1 MB limit right now. I will need to check whether p2pool itself limits the block stripped size to 1 MB or the block serialized size to 1 MB.
If you bothered to properly review my code you would know I fixed it.

P2Pool donation button | Bitrated user: veqtrus.
jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1001


View Profile WWW
August 25, 2017, 09:45:11 AM
 #15743

No, Blue Bear, v17 is veqtrus's code. My code is v33. It's on a completely separate and independent share chain, so you won't see v33 shares unless you're using my code.

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

Activity: 27
Merit: 0


View Profile
August 25, 2017, 09:46:24 AM
 #15744

In addition, I highly recommend adding the following two lines to your bitcoin.conf:

Code:
blockmaxsize=1000000
blockmaxweight=4000000

This enables your P2Pool node to mine full blocks. I'm not sure if btc1 changed its defaults, but on Bitcoin Core the default blockmaxsize and blockmaxweight values are 750 kB and 3 MB respectively, meaning that if you left your bitcoind to its defaults, your P2Pool node would be mining artificially smaller blocks.

Now that SegWit has been activated, using blockmaxsize=1000000 will prevent your node from ever creating blocks with more than 1 MB of data (including witnesses). The best way to ensure that your node makes the largest possible blocks is to have this in your bitcoin.conf:

Code:
blockmaxweight=4000000

WITHOUT any value for blockmaxsize. Bitcoind will not use the default value for blockmaxsize if a value for blockmaxweight is manually set.

https://github.com/bitcoin/bitcoin/blob/master/src/miner.cpp#L83

P2pool itself also has a 1 MB limit right now. I will need to check whether p2pool itself limits the block stripped size to 1 MB or the block serialized size to 1 MB.

that took care of one warning ...  Undecided
Jtoomim is v17 your branch?


The message "Warning: (from bitcoind) Warning: Unknown block versions being mined! It's possible unknown rules are in effect" comes from the bitcoin client you use to run your bitcoin node. It has to do with the signaling by the miners. It's normal behavior.

I currently mine using the merge of forrestv and veqtrus (version 17.0-2-gbc2d09e). I don't get the message "Warning: A MAJORITY OF SHARES CONTAIN A VOTE FOR AN UNSUPPORTED SHARE IMPLEMENTATION!".





MrBitter
Sr. Member
****
Offline Offline

Activity: 257
Merit: 250



View Profile
August 25, 2017, 01:20:38 PM
 #15745

can I run p2pool in the background, if yes then how? (Linux version)
Have user interface?
Acejam
Sr. Member
****
Offline Offline

Activity: 292
Merit: 251


View Profile
August 25, 2017, 02:01:24 PM
 #15746

The p2pool cluster at p2pool.io has been updated to support v17 shares.
Cryptonomist
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
August 25, 2017, 02:02:45 PM
 #15747

can I run p2pool in the background, if yes then how? (Linux version)
Have user interface?

I suppose you want to run the process without the need to keep open the terminal? In that case you can use "screen". For example  "screen -d -m -S p2pool ~/p2pool/run_p2pool.py". This will run the process in a seperate screen with the name p2pool. You can switch to the screen by using "screen -r p2pool", and detach from it using first Ctrl + A and subsequently Ctrl + D. Don't use Ctrl + C when you have retached the screen because that will terminate the process.

If you want a GUI or so, I don't think there is one (I might be wrong. I run mine on Ubuntu Server so I only use command line). If you want statistics of your miners and stuff like that, you can get those from within your browser by going to http://(ip adress of node on local network):9332/. More info can be found on http://p2pool.in/

I hope this answers your question.
tubexc
Hero Member
*****
Offline Offline

Activity: 501
Merit: 500


View Profile
August 25, 2017, 03:22:43 PM
 #15748

Hello and good afternoon to all p2poolers !
Just some illuminating questions :
Is btc1 wallet safer than btc core wallet for running a p2pool node (anti fraud or something) ?
I will be forced to synchronize everything again to the btc1 wallet ?
Meuh6879
Legendary
*
Offline Offline

Activity: 1512
Merit: 1000



View Profile
August 25, 2017, 04:23:18 PM
 #15749

Can someone push a binary on the main page ? >>> http://p2pool.in/
Blue Bear
Jr. Member
*
Offline Offline

Activity: 31
Merit: 0

If a Bear sits on a miner does it break?


View Profile
August 26, 2017, 03:40:06 AM
 #15750



The message "Warning: (from bitcoind) Warning: Unknown block versions being mined! It's possible unknown rules are in effect" comes from the bitcoin client you use to run your bitcoin node. It has to do with the signaling by the miners. It's normal behavior.

I currently mine using the merge of forrestv and veqtrus (version 17.0-2-gbc2d09e). I don't get the message "Warning: A MAJORITY OF SHARES CONTAIN A VOTE FOR AN UNSUPPORTED SHARE IMPLEMENTATION!".







Ok I figured out the problem ...

I have not upgraded to v17 ... I am still running v16.

I have beat my head against the wall trying to get v17 to work

I would welcome any help you coders can provide to a poor hardware guy ...

thought it would be a simple cut and paste of the new files ...

what I get for thinking I guess ....


veqtrus
Member
**
Offline Offline

Activity: 107
Merit: 10


View Profile WWW
August 26, 2017, 04:36:51 AM
 #15751

Hello and good afternoon to all p2poolers !
Just some illuminating questions :
Is btc1 wallet safer than btc core wallet for running a p2pool node (anti fraud or something) ?
I will be forced to synchronize everything again to the btc1 wallet ?
You do seem like you don't know what you are doing.

P2Pool donation button | Bitrated user: veqtrus.
veqtrus
Member
**
Offline Offline

Activity: 107
Merit: 10


View Profile WWW
August 26, 2017, 04:38:54 AM
 #15752

I would welcome any help you coders can provide to a poor hardware guy ...
Unless you provide us some details about the software you use we won't be able to help you. OS? From source or not?

P2Pool donation button | Bitrated user: veqtrus.
veqtrus
Member
**
Offline Offline

Activity: 107
Merit: 10


View Profile WWW
August 26, 2017, 04:41:33 AM
 #15753

Can someone push a binary on the main page ? >>> http://p2pool.in/
ForrestV talked with me and will be making a release soon.

P2Pool donation button | Bitrated user: veqtrus.
Blue Bear
Jr. Member
*
Offline Offline

Activity: 31
Merit: 0

If a Bear sits on a miner does it break?


View Profile
August 26, 2017, 05:02:15 AM
 #15754

Unless you provide us some details about the software you use we won't be able to help you. OS? From source or not?

OS is Windows 10 Professional

Downloaded v17 from https://github.com/p2pool/p2pool/tree/17.0

followed directions in readme file to Reset Python27 however was unable to successfully install twisted. (as I said earlier I am not a coder I am a hardware guy) Everything else seemed to install ok.

I also noted that the run_p2pool application file is not present in v17 I am not sure if it is something that came from the v16 sig files but when I try to run the run_p2pool.py file it does nothing ...

Honestly I think I was lucky getting v16 to run.

At first I thought I would be able to replace the v16 files with the new v17 files ... that did not work.

Then I tried to configure from scratch. Still didn't work ... I am missing a step or two some where ...

I went back to the instructions for v16 they seam Identical ...

what steps have  I missed?

jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1001


View Profile WWW
August 26, 2017, 06:00:22 AM
 #15755

Is btc1 wallet safer than btc core wallet for running a p2pool node (anti fraud or something) ?
I will be forced to synchronize everything again to the btc1 wallet ?
Safer? It depends on how the November fork plays out. It will be safer to use whichever node the other people you want to transact with are using.

btc1 will follow Segwit2x. Bitcoin Core will not.

Currently, 90.9% of the network hashrate is signaling support for Segwit2x (https://coin.dance/blocks). Segwit2x also has the support of Bitpay, Coinbase, and every other major Bitcoin company that has registered an opinion on the matter except for Blockstream. Blockstream, plus a number of smaller companies (Échange de Montréal, Bitbrains, Bitstop) oppose it (https://coin.dance/poli).

Personally, I think Segwit2x will be the dominant chain. The data seem to be in its favor. I could be wrong, though.

The blockchain downloaded by btc1 and Bitcoin Core will be compatible until November. If you want to switch, all you need to do is stop one bitcoind and start the other. After the November fork, though, it will require you to resync your blockchain in order to switch between the two.

veqtrus's code (v17 shares) is incompatible with btc1, and only works with Bitcoin Core. My code will work with either btc1 or Bitcoin Core, though it will give you a warning message if you try to use Core.

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

Activity: 501
Merit: 500


View Profile
August 26, 2017, 06:54:22 AM
 #15756

Is btc1 wallet safer than btc core wallet for running a p2pool node (anti fraud or something) ?
I will be forced to synchronize everything again to the btc1 wallet ?
Safer? It depends on how the November fork plays out. It will be safer to use whichever node the other people you want to transact with are using.

btc1 will follow Segwit2x. Bitcoin Core will not.

Currently, 90.9% of the network hashrate is signaling support for Segwit2x (https://coin.dance/blocks). Segwit2x also has the support of Bitpay, Coinbase, and every other major Bitcoin company that has registered an opinion on the matter except for Blockstream. Blockstream, plus a number of smaller companies (Échange de Montréal, Bitbrains, Bitstop) oppose it (https://coin.dance/poli).

Personally, I think Segwit2x will be the dominant chain. The data seem to be in its favor. I could be wrong, though.

The blockchain downloaded by btc1 and Bitcoin Core will be compatible until November. If you want to switch, all you need to do is stop one bitcoind and start the other. After the November fork, though, it will require you to resync your blockchain in order to switch between the two.

veqtrus's code (v17 shares) is incompatible with btc1, and only works with Bitcoin Core. My code will work with either btc1 or Bitcoin Core, though it will give you a warning message if you try to use Core.

Thanks.That will help me planing my node creation project although is on a mini laptop.But i hope it works.
Blue Bear
Jr. Member
*
Offline Offline

Activity: 31
Merit: 0

If a Bear sits on a miner does it break?


View Profile
August 26, 2017, 06:57:16 AM
 #15757

Is btc1 wallet safer than btc core wallet for running a p2pool node (anti fraud or something) ?
I will be forced to synchronize everything again to the btc1 wallet ?
Safer? It depends on how the November fork plays out. It will be safer to use whichever node the other people you want to transact with are using.

btc1 will follow Segwit2x. Bitcoin Core will not.

Currently, 90.9% of the network hashrate is signaling support for Segwit2x (https://coin.dance/blocks). Segwit2x also has the support of Bitpay, Coinbase, and every other major Bitcoin company that has registered an opinion on the matter except for Blockstream. Blockstream, plus a number of smaller companies (Échange de Montréal, Bitbrains, Bitstop) oppose it (https://coin.dance/poli).

Personally, I think Segwit2x will be the dominant chain. The data seem to be in its favor. I could be wrong, though.

The blockchain downloaded by btc1 and Bitcoin Core will be compatible until November. If you want to switch, all you need to do is stop one bitcoind and start the other. After the November fork, though, it will require you to resync your blockchain in order to switch between the two.

veqtrus's code (v17 shares) is incompatible with btc1, and only works with Bitcoin Core. My code will work with either btc1 or Bitcoin Core, though it will give you a warning message if you try to use Core.

Jtoomim

Respectfully I believe your assumption that support for Segwit2x as the dominate chain is wrong. In slushpool the strongest support goes to Bitcoin with only 10% signaling for for the fork. I don't know but the source you are showing as evidence may only be getting their information from like minded people and not from the community as a whole. As for the exchanges signaling their support , I know that Coinbase was not going to support it to begin with and then rethought it from a economic point of view in that they can make money off of the split from people moving their coin from one branch to another after the split.

I think people are people and will move in their own self interest which is why it has taken so long just to get segwit to activation in the first place. People do not like to feel uncomfortable expressly when their money is involved. The new chain will have to prove itself before people will jump into the pool. Look at how long it took Bitcoin to increase in value over $10.00 per coin. Consider Litecoin, Darkcoin, Dogcoin, Ethereum and all the rest. Ethereum is one of the newest and has been preforming better that Litecoin which has been around longer. What has happened to the others?

I think is a good move on your part to support both sides until you know which way the coin will land. I believe you may have blinders on though.

Respectfully,

BB

 
veqtrus
Member
**
Offline Offline

Activity: 107
Merit: 10


View Profile WWW
August 26, 2017, 08:29:28 AM
 #15758

Unless you provide us some details about the software you use we won't be able to help you. OS? From source or not?

OS is Windows 10 Professional

Downloaded v17 from https://github.com/p2pool/p2pool/tree/17.0

followed directions in readme file to Reset Python27 however was unable to successfully install twisted. (as I said earlier I am not a coder I am a hardware guy) Everything else seemed to install ok.

I also noted that the run_p2pool application file is not present in v17 I am not sure if it is something that came from the v16 sig files but when I try to run the run_p2pool.py file it does nothing ...

Honestly I think I was lucky getting v16 to run.

At first I thought I would be able to replace the v16 files with the new v17 files ... that did not work.

Then I tried to configure from scratch. Still didn't work ... I am missing a step or two some where ...

I went back to the instructions for v16 they seam Identical ...

what steps have  I missed?


I wrote a guide for vtc but it may help you with btc too if you want to run from source. Also use the master branch which includes a necessary commit.

P2Pool donation button | Bitrated user: veqtrus.
Blue Bear
Jr. Member
*
Offline Offline

Activity: 31
Merit: 0

If a Bear sits on a miner does it break?


View Profile
August 26, 2017, 02:50:58 PM
 #15759

I wrote a guide for vtc but it may help you with btc too if you want to run from source. Also use the master branch which includes a necessary commit.

Thank you Veqtrus

I will dig in and see what I come up with ...

BB
Cryptonomist
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
August 26, 2017, 06:29:21 PM
 #15760

Hello all,

I'm looking for technical information about P2pool. My goal is to understand the source code of P2pool, so that I get a better understanding of how the pool works. I've already read https://en.bitcoin.it/wiki/P2Pool, and quite a lot of posts on this forum, but now I'm looking for information related to how for example shares are constructed, how they are transmitted, how the difficulty is adjusted, etc... I've been looking so far to the code on github, using the bitcoin wiki as a guide, but I'm wondering whether there is some sort of guide available that contains more information? I'm familiar with Python and programming in general, so that is not an issue.

Any suggestions on the best way to tackle this?

Thank you.
Pages: « 1 ... 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 815 »
  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!