Author

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

legendary
Activity: 1258
Merit: 1027
...

Thanks windpath for the fast reply! but now I have another noob question... i can reload bitcoind bitcoin.conf without restart p2pool and loose incoming connection? E

You can, obviously you may miss out on a share during the restart. Your bitcoin peer connections will be lost, but p2pool peers will stay, here is what to expect:

p2pool will throw the following error while it can not reach Bitcoind

Code:
Failure: twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 61: Connection refused.

If the bitcoin restart takes more then a minute this message displays in the log and front end:

Code:
> ########################################
> Warning: LOST CONTACT WITH BITCOIND for 1.0 minutes! Check that it isn't frozen or dead!
> ########################################

newbie
Activity: 26
Merit: 0
Give this a try...

Code:
blockmaxsize = 500000
mintxfee = 0.0001
minrelaytxfee = 0.0001

Thanks windpath for the fast reply! but now I have another noob question... i can reload bitcoind bitcoin.conf without restart p2pool and loose incoming connection? E
legendary
Activity: 1258
Merit: 1027
Hello I have a problem with a p2pool that I have installed on my computer ... I have the "Bitcoind GetBlockTemplate Latency" very high (avarage 646ms, max over 1s), you have some advice to improve performance? my pool is this http://2.234.55.84:9332/



specs:
server pool: toshiba tecra s10 (2x intel P8600 2.4 GHz - 4 g ram - hd wd scorpio black)

Internet connection: 100mbit

bitcoin.conf:

rpcuser = MYREALUSER
rpcpassword = MYREALPASSWORD
server = 1
blockmaxsize = 1000000
mintxfee = 0.00001
minrelaytxfee = 0.000001
maxconnections = 15
addNode = bitseed.xf2.org
addNode = dnsseed.bluematt.me
addNode = seed.bitcoin.sipa.be
addNode = dnsseed.bitcoin.dashjr.org
addNode = bitcoin.coinprism.com
addNode = btcnode1.evolyn.net
addNode = InductiveSoul.US
addNode = archivum.info

Thanks in advance Erik

Give this a try...

Code:
blockmaxsize = 500000
mintxfee = 0.0001
minrelaytxfee = 0.0001
newbie
Activity: 26
Merit: 0
Hello I have a problem with a p2pool that I have installed on my computer ... I have the "Bitcoind GetBlockTemplate Latency" very high (avarage 646ms, max over 1s), you have some advice to improve performance? my pool is this http://2.234.55.84:9332/

http://s7.postimg.org/3z8nzrddj/Schermata_da_2014_08_27_14_38_50.jpg

specs:
server pool: toshiba tecra s10 (2x intel P8600 2.4 GHz - 4 g ram - hd wd scorpio black)

Internet connection: 100mbit

bitcoin.conf:

rpcuser = MYREALUSER
rpcpassword = MYREALPASSWORD
server = 1
blockmaxsize = 1000000
mintxfee = 0.00001
minrelaytxfee = 0.000001
maxconnections = 15
addNode = bitseed.xf2.org
addNode = dnsseed.bluematt.me
addNode = seed.bitcoin.sipa.be
addNode = dnsseed.bitcoin.dashjr.org
addNode = bitcoin.coinprism.com
addNode = btcnode1.evolyn.net
addNode = InductiveSoul.US
addNode = archivum.info

Thanks in advance Erik
legendary
Activity: 1258
Merit: 1027
the page http://p2pool.info/luck/ don't work.
http://p2pool.info/scripts/p2pool-luck.js tries to load /stats and /blocks?all=true. it should be /data/stats and /data/blocks?all=true

p2pool.info has been inaccurate for some time, try http://minefast.coincadence.com/p2pool-stats.php
member
Activity: 64
Merit: 10
the page http://p2pool.info/luck/ don't work.
http://p2pool.info/scripts/p2pool-luck.js tries to load /stats and /blocks?all=true. it should be /data/stats and /data/blocks?all=true
member
Activity: 112
Merit: 10
Hey guys, running windows 8.0 Bitcoin core and my p2pool node.
Is there anyway for me to get this all up and running with this sort of setup?
I cant figure out how you guys are doing this.

Must I be running lenox?

Any info would be much much appreciated....
Thanks.

Three simple steps:
1) Go to http://www.java.com and download and install the executable installer for your platform.  You only need the JRE, not the full JDK.
2) Open a cmd prompt (I think it's now powershell in Win8?) and navigate to the "bin" subdirectory where java installed itself.
3) Execute the same commandline as above.

Now, there are enhancements you can do to this, namely putting it into a batch file and running it in the background (i.e. as a service) so that it will run without needing the powershell window open all the time.  However since I'm not a windows guy you'll have to do some research on the best way to achieve that.

But, those 3 steps should get you up and running quickly for now.

legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
hello I modified blixnood frontend making a version with a dark theme ... if someone likes you can download it from here https://github.com/erikyo/P2PoolExtendedFrontEnd

preview: http://2.234.55.84:9332/static/

What's with the cats?

How often does p2pool query namecoind getblockaux? I would like to make sure the namecoind internal recalculation time step makes sense.
Great question.  I'll look into the code to see if I can find the answer for you.  If somebody happens to know this off the top of your head, please respond to phelix.
member
Activity: 83
Merit: 10
Just grabbed the new version, working perfectly.  Also adding -Xmx my virt mem went from 11GB down to 2GB usage, so I'm a happy camper.

Great work Matt!


Hey guys, running windows 8.0 Bitcoin core and my p2pool node.
Is there anyway for me to get this all up and running with this sort of setup?
I cant figure out how you guys are doing this.

Must I be running lenox?

Any info would be much much appreciated....
Thanks.

You should be able to download the latest Java JRE from Oracle, then run the same command:

Code:
java -Xmx100m -jar DRIVE:\PATH\TO\RelayNodeClient.jar public.YOURRELAYREGION.relay.mattcorallo.com 127.0.0.1:8333

I'm not a Windows user, so I might have a minor detail wrong, but Java is cross-platform and works on many operating systems.
legendary
Activity: 1708
Merit: 1020
How often does p2pool query namecoind getblockaux? I would like to make sure the namecoind internal recalculation time step makes sense.
member
Activity: 85
Merit: 10
Just grabbed the new version, working perfectly.  Also adding -Xmx my virt mem went from 11GB down to 2GB usage, so I'm a happy camper.

Great work Matt!


Hey guys, running windows 8.0 Bitcoin core and my p2pool node.
Is there anyway for me to get this all up and running with this sort of setup?
I cant figure out how you guys are doing this.

Must I be running lenox?

Any info would be much much appreciated....
Thanks.
newbie
Activity: 26
Merit: 0
hello I modified blixnood frontend making a version with a dark theme ... if someone likes you can download it from here https://github.com/erikyo/P2PoolExtendedFrontEnd

preview: http://2.234.55.84:9332/static/
member
Activity: 112
Merit: 10
Just grabbed the new version, working perfectly.  Also adding -Xmx my virt mem went from 11GB down to 2GB usage, so I'm a happy camper.

Great work Matt!
hero member
Activity: 924
Merit: 1000
Watch out for the "Neg-Rep-Dogie-Police".....
The java application connects on 8336 only:

Ahh, right. Got it  Smiley

Yep, that's exactly how I'm running it at the moment on my node (although I still need to add the xmx part).

Excellent, thanks for that  Smiley

Sorry for the issues (still working out the new protocol from last night...), but if you're using the jar, you should update to the latest version ("fuck it, ship it").

Great stuff - love the version name  Cheesy Cheesy

Thanks for the help everyone - job for tomorrow, I need sleeeeep  Wink
member
Activity: 83
Merit: 10
Ha!

Code:
Aug 25 22:44:32 p2pool.domain.name java[13614]: Aug 25, 2014 10:44:32 PM com.google.bitcoin.core.Peer processVersionMessage
Aug 25 22:44:32 p2pool.domain.name java[13614]: INFO: Connected to 127.0.0.1: version=70002, subVer='/Satoshi:0.9.2.1/', services=0...=317494
Aug 25 22:44:32 p2pool.domain.name java[13614]: Connected to local bitcoind!
Aug 25 22:44:32 p2pool.domain.name java[13614]: Connected to node with version: fuck it, ship it!
Aug 25 22:44:35 p2pool.domain.name java[13614]: 1409021075219: Received transaction bdece7858e2fdaa412f904dae818db7b7591f290056eae9...428ac7f
hero member
Activity: 755
Merit: 515
Sorry for the issues (still working out the new protocol from last night...), but if you're using the jar, you should update to the latest version ("fuck it, ship it").
member
Activity: 112
Merit: 10
Right, didn't realise the jar version worked differently. So, from the command line my syntax would be:

Code:
nohup java -Xmx100m -jar /PATH/TO/RelayNodeClient.jar public.YOURRELAYREGION.relay.mattcorallo.com 127.0.0.1:8333 &

Is this correct?

Thanks  Smiley
Yep, that's exactly how I'm running it at the moment on my node (although I still need to add the xmx part).
member
Activity: 83
Merit: 10
kgb2mining is correct, the arguments to RelayNodeClient.jar include the host:port of your local bitcoind and the port for the Relay Network host is not required. The java application connects on 8336 only:

Code:
[root@p2pool ~]# netstat -a |grep relay
tcp6       0      0 p2pool.domain.:45203 do-nyc1.relay.matt:8336 ESTABLISHED

Glad I could help make p2pool that much more awesome! Kudos to Matt for reaching out to me and the thread to announce the upgrade, clear up our questions, and most importantly his massive improvement to the Bitcoin network.
hero member
Activity: 924
Merit: 1000
Watch out for the "Neg-Rep-Dogie-Police".....
Right, didn't realise the jar version worked differently. So, from the command line my syntax would be:

Code:
nohup java -Xmx100m -jar /PATH/TO/RelayNodeClient.jar public.YOURRELAYREGION.relay.mattcorallo.com 127.0.0.1:8333 &

Is this correct? Don't I have to stipulate either port 8334 or 8335 anywhere?

Thanks  Smiley
member
Activity: 112
Merit: 10
Change to the Relay Network region closest to your p2pool node:
Code:
ExecStart=/bin/java -Xmx100m -jar /PATH/TO/RelayNodeClient.jar public.YOURRELAYREGION.relay.mattcorallo.com 127.0.0.1:8333

Shouldn't this be:

Code:
ExecStart=/bin/java -Xmx100m -jar /PATH/TO/RelayNodeClient.jar public.YOURRELAYREGION.relay.mattcorallo.com:8335

 Huh
No, the above is right running the jar version... I believe it connects to your local bitcoind instance first, and interacts with it, relaying out to his server on 8335/8336.  At least that's the way I am running it, and it seems to work.

BTW for those running it on the commandline, don't forget "nohup ... &" if you're not running in the same screen as when you started p2pool.
Jump to: