Author

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

sr. member
Activity: 434
Merit: 250
I apologize for all the questions i just dont have the time to comb through this thread would be nice to organize the info in this thread so it's easier to access what you need.

You might find this useful:

A guide for mining efficiently on P2Pool, includes FUD repellent and FAQ

If it is any help to you, the script I use on my linux machine reads:

Code:
screen -d -m -S btcp2pool ~/code/p2pool/run_p2pool.py --irc-announce --outgoing-conns 10 --address yourbitcoinaddressforfeestogoto --fee 0 --give-author .5 --net bitcoin bitcoinuser bitcoinpassword

Obviously, replace the address with your own if you have a fee. Since I have --fee 0 at the moment I might not even need --address. The "bitcoinuser" and "bitcoinpassword" are the rpcuser and rpcpassword set in your bitcoin.conf file.
full member
Activity: 213
Merit: 100
just make a .bat file either in .exe or linux version with the cmds you want or need then make a shortcut on desktop

looks something like this for linux version running in windows :

run_p2pool.py --give-author 0 YourBitcoinAddInYourBitcoin.confIfBlankItWillGoToYourWallet FollowedWithOtherCmdsYouWishToAdd

Spaces are important ! don't forget to port forward

Ok I reread your post I would put in my bitcoin.conf nice got that set up any other codes i should put in there to increase payout?
The size of the block etc. Set Broadband cap.... For so reason i can't get over diff over 1k putting out 2.5 k on this node are there intervals that it should be set at.
I apologize for all the questions i just dont have the time to comb through this thread would be nice to organize the info in this thread so it's easier to access what you need.  A screen shot of python run_p2pool.py --help would be nice.
sr. member
Activity: 434
Merit: 250
I really don't like the idea of mining to a wallet that could crash potentially bad idea. Maybe there should be an added change in code to support exchange deposits would be nice. Thanks dude the fast replies.

As jonnybravo mentioned, the exchanges are the ones who don't process deposits properly when they are in the coinbase of the block (the newly minted reward coins). Nothing p2pool can do about that.

You could mine to an online wallet at a variety of places if you don't want to run a wallet locally. On my PC I use Electrum. Doesn't require downloading the blockchain, syncs very quickly, and gives you a seed you can print out and store in case you ever need to recreate your wallet from scratch.
member
Activity: 103
Merit: 10
Hi Guys

I seem to have found the issue,

The VPS used didn't have enough ram to run properly, up'd the ram and it seems to be all good now Smiley .........just got to wait for the blockchain to download and then I can carry on with the installation.

Thanks
legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
I'm also have an issue of not recieving funds from the last block that was found it gives me an amount but it doesn't show up in my wallet transactions.
I was hoping to use my exchange to cut down on fees. I know they say not to do that but i have been doing it on my exchange from all of my mining and it works just fine. Is there a reason for me not to on the p2p network.
Unlike most other pools, p2pool pays you from the reward generation transaction.  In other words, you get newly minted coins.  Some exchanges don't play nicely with newly minted coins - they expect the coins to come from a known input transaction, not generated.  That's why you don't mine to an exchange.
I really don't like the idea of mining to a wallet that could crash potentially bad idea. Maybe there should be an added change in code to support exchange deposits would be nice. Thanks dude the fast replies.

That would be up to the exchanges.  They'd have to alter their code to allow for generated coins.

As for wallets crashing, if you're mining on your own p2pool node, sure that's bad because the p2pool code requires a connection to a functional Bitcoin daemon.  Then again, you're taking that chance no matter on which pool you're mining.  Heck, you can mine to a paper wallet if you really want to.  As long as you've got the public/private keys in your control it doesn't matter.

Personally, I run a p2pool node on a VPS.  The Bitcoin daemon is compiled and built with no wallet functionality.  It's job is to feed the p2pool node work.  The addresses I use for mining are completely separate of that box.  I make regular backups of my wallet.dat file and keep those backups stored safely.  If I execute any large transactions, I make a backup immediately afterwards.
full member
Activity: 213
Merit: 100
just make a .bat file either in .exe or linux version with the cmds you want or need then make a shortcut on desktop

looks something like this for linux version running in windows :

run_p2pool.py --give-author 0 YourBitcoinAddInYourBitcoin.confIfBlankItWillGoToYourWallet FollowedWithOtherCmdsYouWishToAdd

Spaces are important ! don't forget to port forward

ok so i would make the .bat file in my p2p folder? can wait to try this wish i had a more comprehensive tutorial. I will make one Once I figure things out to hopefully get more people into this.
full member
Activity: 213
Merit: 100
I'm also have an issue of not recieving funds from the last block that was found it gives me an amount but it doesn't show up in my wallet transactions.
I was hoping to use my exchange to cut down on fees. I know they say not to do that but i have been doing it on my exchange from all of my mining and it works just fine. Is there a reason for me not to on the p2p network.
Unlike most other pools, p2pool pays you from the reward generation transaction.  In other words, you get newly minted coins.  Some exchanges don't play nicely with newly minted coins - they expect the coins to come from a known input transaction, not generated.  That's why you don't mine to an exchange.
I really don't like the idea of mining to a wallet that could crash potentially bad idea. Maybe there should be an added change in code to support exchange deposits would be nice. Thanks dude the fast replies.
legendary
Activity: 1500
Merit: 1002
Mine Mine Mine
just make a .bat file either in .exe or linux version with the cmds you want or need then make a shortcut on desktop

looks something like this for linux version running in windows :

run_p2pool.py --give-author 0 YourBitcoinAddInYourBitcoin.confIfBlankItWillGoToYourWallet FollowedWithOtherCmdsYouWishToAdd

Spaces are important ! don't forget to port forward
legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
I'm also have an issue of not recieving funds from the last block that was found it gives me an amount but it doesn't show up in my wallet transactions.
I was hoping to use my exchange to cut down on fees. I know they say not to do that but i have been doing it on my exchange from all of my mining and it works just fine. Is there a reason for me not to on the p2p network.
Unlike most other pools, p2pool pays you from the reward generation transaction.  In other words, you get newly minted coins.  Some exchanges don't play nicely with newly minted coins - they expect the coins to come from a known input transaction, not generated.  That's why you don't mine to an exchange.
legendary
Activity: 1258
Merit: 1027
I'm also have an issue of not recieving funds from the last block that was found it gives me an amount but it doesn't show up in my wallet transactions.
I was hoping to use my exchange to cut down on fees. I know they say not to do that but i have been doing it on my exchange from all of my mining and it works just fine. Is there a reason for me not to on the p2p network.

I'd suggest mining to a wallet you control....

If you post or PM the address I'll take a look.

full member
Activity: 213
Merit: 100
I'm also have an issue of not recieving funds from the last block that was found it gives me an amount but it doesn't show up in my wallet transactions.
I was hoping to use my exchange to cut down on fees. I know they say not to do that but i have been doing it on my exchange from all of my mining and it works just fine. Is there a reason for me not to on the p2p network.
legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
I finally got a node up and running. How do you change the difficulty of your miner? Are there any interfaces i should look into that allow me more control? I saw some people charging for there public nodes. Once you have one set up how would you charge a fee? It would be worth it if the fees helped me pay for extra bradband.
To change the difficulty of your miner, you use the "/" and "+" arguments after your BTC address.  For example, if you're mining with an S3, you might want to change the difficulty to 500.  In the config screen, you set your worker like this:

1DeVLDoGvkbbB5n3dPvbpDbwiKGjYckCy9+500/500

The +500 sets your pseudo-share difficulty.  The /500 sets you up to use the p2pool minimum share difficulty.  There has been plenty of discussion on the usage of "+" and "/" in this thread.  The short of it is that the "+" makes the graphs look nice.  The "/" will tell p2pool what difficulty share to accept from you to add to the share chain.  If you set "/" less than the current p2pool network share difficulty, it automatically uses the network share difficulty.  If you set it higher than the network difficulty, it uses what you set.

You can add a fee to your node by passing the --fee parameter on startup of your node.  For example:

Code:
./run_p2pool.py --give-author 0.5 --fee 0.5
That will donate 0.5% to the author and will collect 0.5% fee for you.

Thanks you.
this is a massive the thread so sorry that i asked the question i was scanning through it and couldnt find an answer. The code you refer to ./run_p2pool.py that would be used in linux? I'm running windows. Where do i input that code through python? I never understood that part wish it was spelled out better in by op. Next pc is def a lunix based. I'm tired of compiling windows programs.
I'm not a Windows guy, so I can't offer you much help there.  I would imagine it's somewhat similar... maybe something like: c:\path\to\python.exe run_p2pool.py...
full member
Activity: 213
Merit: 100
I finally got a node up and running. How do you change the difficulty of your miner? Are there any interfaces i should look into that allow me more control? I saw some people charging for there public nodes. Once you have one set up how would you charge a fee? It would be worth it if the fees helped me pay for extra bradband.
To change the difficulty of your miner, you use the "/" and "+" arguments after your BTC address.  For example, if you're mining with an S3, you might want to change the difficulty to 500.  In the config screen, you set your worker like this:

1DeVLDoGvkbbB5n3dPvbpDbwiKGjYckCy9+500/500

The +500 sets your pseudo-share difficulty.  The /500 sets you up to use the p2pool minimum share difficulty.  There has been plenty of discussion on the usage of "+" and "/" in this thread.  The short of it is that the "+" makes the graphs look nice.  The "/" will tell p2pool what difficulty share to accept from you to add to the share chain.  If you set "/" less than the current p2pool network share difficulty, it automatically uses the network share difficulty.  If you set it higher than the network difficulty, it uses what you set.

You can add a fee to your node by passing the --fee parameter on startup of your node.  For example:

Code:
./run_p2pool.py --give-author 0.5 --fee 0.5
That will donate 0.5% to the author and will collect 0.5% fee for you.

Thanks you.
this is a massive the thread so sorry that i asked the question i was scanning through it and couldnt find an answer. The code you refer to ./run_p2pool.py that would be used in linux? I'm running windows. Where do i input that code through python? I never understood that part wish it was spelled out better in by op. Next pc is def a lunix based. I'm tired of compiling windows programs.
full member
Activity: 213
Merit: 100
I then have to restart the bitcoin server for it to work again?
Yes, if bitcoin-qt or bitcoind unexpectedly quit, you need to restart it. P2Pool needs its running.
Any ideas why its doing this?
I had that problem once or twice. It's probably a bug in bitcoin-qt / bitcoind.
Try downloading the newest bitcoin qt 10.0.1 if you havent yet
legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
That will donate 0.5% to the author and will collect 0.5% fee for you.

An important thing to remember is that the way it works is a % of shares founds, not a % of the bitcoin paid by those shares. So each share has a 1% chance of going towards the fee+donation. 99% of the shares are paid totally to you. If you run a public node with 1% in fee+donation, you might not see anything happening at first.

My hope is that one day if there's ever another major p2pool version released with mandatory upgrade, that forrest adds support for the donation (and fee?) to appear right with the share data in the blockchain. Thus if you are 1% donation, and a block is found, 1% of that share's pay goes to forrest and 99% to the share's owner. This smooths it out so you don't randomly lose a share (which you might only be finding once a day as small miner), and provides less variance to miners, pool operators, and forrest himself.
Great point roy7, and it's worth repeating.  When you charge a fee and/or donate to the author, the percentage you set is translated into a percentage chance that your found share will in fact be credited to the author's BTC address or your node's BTC address.

Imagine you're only finding a share a day, and the share you found was the one the node used for a fee/donation.
sr. member
Activity: 434
Merit: 250
That will donate 0.5% to the author and will collect 0.5% fee for you.

An important thing to remember is that the way it works is a % of shares founds, not a % of the bitcoin paid by those shares. So each share has a 1% chance of going towards the fee+donation. 99% of the shares are paid totally to you. If you run a public node with 1% in fee+donation, you might not see anything happening at first.

My hope is that one day if there's ever another major p2pool version released with mandatory upgrade, that forrest adds support for the donation (and fee?) to appear right with the share data in the blockchain. Thus if you are 1% donation, and a block is found, 1% of that share's pay goes to forrest and 99% to the share's owner. This smooths it out so you don't randomly lose a share (which you might only be finding once a day as small miner), and provides less variance to miners, pool operators, and forrest himself.
legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
I finally got a node up and running. How do you change the difficulty of your miner? Are there any interfaces i should look into that allow me more control? I saw some people charging for there public nodes. Once you have one set up how would you charge a fee? It would be worth it if the fees helped me pay for extra bradband.
To change the difficulty of your miner, you use the "/" and "+" arguments after your BTC address.  For example, if you're mining with an S3, you might want to change the difficulty to 500.  In the config screen, you set your worker like this:

1DeVLDoGvkbbB5n3dPvbpDbwiKGjYckCy9+500/500

The +500 sets your pseudo-share difficulty.  The /500 sets you up to use the p2pool minimum share difficulty.  There has been plenty of discussion on the usage of "+" and "/" in this thread.  The short of it is that the "+" makes the graphs look nice.  The "/" will tell p2pool what difficulty share to accept from you to add to the share chain.  If you set "/" less than the current p2pool network share difficulty, it automatically uses the network share difficulty.  If you set it higher than the network difficulty, it uses what you set.

You can add a fee to your node by passing the --fee parameter on startup of your node.  For example:

Code:
./run_p2pool.py --give-author 0.5 --fee 0.5
That will donate 0.5% to the author and will collect 0.5% fee for you.
sr. member
Activity: 507
Merit: 253
I then have to restart the bitcoin server for it to work again?
Yes, if bitcoin-qt or bitcoind unexpectedly quit, you need to restart it. P2Pool needs its running.
Any ideas why its doing this?
I had that problem once or twice. It's probably a bug in bitcoin-qt / bitcoind.
member
Activity: 103
Merit: 10
Hey guys

Still struggling to get the node to work on my Linux box, when I leave the installation to download the blockchain I come back a few hours later run the command "bitcoin-cli getblockcount" and find out the server has turned itself off then when looking in "top" its not even in there. I then have to restart the bitcoin server for it to work again?

Any ideas why its doing this?

Thanks
full member
Activity: 213
Merit: 100
I finally got a node up and running. How do you change the difficulty of your miner? Are there any interfaces i should look into that allow me more control? I saw some people charging for there public nodes. Once you have one set up how would you charge a fee? It would be worth it if the fees helped me pay for extra bradband.
Jump to: