- 
gingeropolous 41 uncles in this current window 
- 
gingeropolous P2POOOOL! P2POOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOLLLLLL!!!! 
- 
gingeropolous how u get an orphan with uncles? 
- 
gingeropolous also, how resilient is the current p2pool against attackers? can't think of how it would go down, but perhaps dos etc 
- 
hyc dos by bad hash submissions? 
- 
hyc or just sending garbage to the rpc ports i suppose? 
- 
sech1 or if your monerod is lagging 
- 
sech1 3 more blocks were mined: 2438762, 2438818, 2438881 
- 
Inge are you mining on mainnet now? 
- 
Inge yes you are. 
- 
sech1 p2pool hashrate 39.697 MH/s, oh my 
- 
Inge xnbya: wen p2pool hashrate on minexmr.com? 
- 
Inge I guess it is currently part of the 507MH unknown hashrate 
- 
sech1 it's not easy to get this hashrate automatically yet 
- 
sech1 you have to type "status" in console 
- 
Guest9960 Hi all! Tried out p2pool this morning, following the instructions on github. Got everything to work, but difficulty is 401M, way too high for my miner. Is there any way to adjust the difficulty? Thanks! 
- 
sech1 xmrig -u x+10000 -o 127.0.0.1:3333 
- 
sech1 to set static difficulty 10000 for your miner 
- 
sech1 or "user":"x+10000", in pools section of config.json 
- 
Guest9960 Okay, xmrig is now showing lots of accepted shares w/ diff 10001. However status in p2pool says Your hashrate = 0 H/S and Your Shares = 0 
- 
sech1 because you need to find that pool share with difficulty 401M 
- 
sech1 check the hashrates that StratumServer status shows 
- 
Guest9960 So I am supposed to find one share once in a few weeks? 
- 
sech1 what's your hashrate? 
- 
sech1 more like one share once in a few days even for low-end PCs 
- 
Guest9960 about 2KH/s 
- 
sech1 Read "How PPLNS works in p2pool" in readme 
- 
sech1 so it'll take ~2.5 days on average for you. But once you find a share, it's almost guaranteed payout (sometimes even more than one) with current p2pool hashrate. 
- 
Guest9960 Thanks for clarification, sech1. I really appreciate your work and will keep mining. 
- 
sech1 Current p2pool hashrate is ~39.5 MH/s, it finds Monero blocks every ~2 hours 15 minutes on average and PPLNS window size is 6 hours 
- 
hyc ooo I have 1 share in current window 
- 
ErCiccione Hey folks, would you mind writing a short blog post about p2pool? I think people should be aware of this great project and a blog post on getmonero would give it a lot of visibility. Something short that just announces the project and point people to the github repo and communication channels would be enough. If you give me the markdown with the blog post i can take care of the rest 
- 
ErCiccione or even jsut a draft with the core points, then i'll take care of making the post 
- 
hyc prob any useful info you want to relay is in the p2pool README.md 
- 
ErCiccione yeah i could do it but maybe the people who work on the project would like to mention something specific. If that's not the case or nobody feels like writing a post i can do it from scratch later 
- 
sech1 I don't know, try to compile something from README.md and the reddit post:  reddit.com/r/Monero/comments/p9apyd…ro_decentralized_mining_pool_p2pool
- 
ErCiccione ok 
- 
sech1 hyc re "dos by bad hash submissions/just sending garbage" p2pool checks everything and bans bad peers, in theory. There's always a possibility I missed something. 
- 
moneromoooo For the record, relaying blocks before checking would bypass that (unless done very carefully maybe). 
- 
sech1 p2pool nodes don't relay unchecked blocks. Broadcast is only done after full verification 
- 
sech1 p2pool verification is much lighter than monerod's 
- 
sech1 it does call submit_block RPC after only checkin PoW when it sees p2pool block with enough PoW, but it only happens when someone finds Monero block 
- 
QuickBASIC I finally got Ubuntu installed on an old laptop and compiled p2pool there and have been able to point all my other miners. Seems to be working. 
- 
QuickBASIC Although I was having some weird "End of file" error on some of my miners until I stopped and started p2pool, but it was probably an issue on the miner side. 
- 
jaska087 avg result time 19h 
- 
jaska087 nice 
- 
gingeropolous ah, ErC is gone. sech1 , is p2pool ready for blog posts etc? or are we still in the "only ppl that can help debug should use" phase? 
- 
sech1 It's ok, as long as these people are able to compile their binaries. 
- 
sech1 people are de-facto using it already, 38-40 MH/s already would make p2pool #11 on  miningpoolstats.stream/monero
- 
gingeropolous true 
- 
gingeropolous even though its only 7 total peers afaict :/ 
- 
jaska087 nice, did my share go old already before p2pool found a block? 
- 
jaska087 D: 
- 
sech1 p2pool is a bit unlucky right now 
- 
sech1 should've found 2-3 blocks since the morning, but nothing so far 
- 
garth Is it possible for me to install p2pool on my VPS and then mine to it via my home computer so that it doesn’t broadcast my home IP? 
- 
sech1 yes 
- 
moneromoooo Yes. And if you publish your VPS address, you might even get free hash. 
- 
jaska087 myxmr.net:3000 tee-hee 
- 
jaska087 does p2pool regonize subaddress/integrated addresses 
- 
gingeropolous no jaska087 , main addy only 
- 
jaska087 right, so it won't run if subaddress/integrated address is used? 
- 
sech1 it will say "Invalid wallet address" 
- 
jaska087 Ah ok, that dono address was main address then 
- 
sech1 PSA: current sidechain is borked, I found a bug tx keys generation :D 
- 
sech1 I'll update p2pool soon and we'll start a new sidechain 
- 
sech1 borked = not all payouts might be spendable 
- 
sech1 or maybe they are spendable, but it's still a bug there. I added a few more checks for tx public/secret keys and they fail at some blocks 
- 
sech1 the 3 outputs in my wallet were all spendable, that's good. Can everyone try to run sweep_all in their miner wallets? 
- 
jaska087 got no balance so no go 
- 
moneromoooo Is this test useful for the testnet wallet ? I have not mined on mainnet yet. 
- 
sech1 yes, check testnet wallet too 
- 
moneromoooo OK, I'll try a bit later when I can that vm) 
- 
sech1 PSA: I've started a new sidechain, you'll need to build the latest code and connect to port 37889 instead (everything else is the same) 
- 
sech1 funny thing is that old p2pool will continue to run and I can't stop it until everyone switches :D 
- 
jaska087 done switching 
- 
sech1 now we need to wait for those 40 MH/s to switch... 
- 
jaska087 what? my 9kh is not enough!? 
- 
sech1 every hash counts 
- 
jaska087 :P 
- 
moneromoooo 1581 outputs, all could be spent. 
- 
jaska087 setting custom diff for xmrig is just to calculate the pool hashrate more accurate, it does not get added to shares, right? 
- 
sech1 it's to calculate hashrate 
- 
sech1 in stratum server status 
- 
jaska087 ah yes that is what i meant, good to know 
- 
sech1 moneromoooo interesting... Funny thing is that my generate_keys skipped sc_reduce32 sometimes on 1 in 15 attempts:  SChernykh/p2pool 780afd8#diff-3700f1a6da19be70db791c8b323a328192eda62ce64f3f5b70c868e1bdbf63baR87
- 
sech1 I totally forgot how "continue" works in a do..while loops. 
- 
sech1 So some tx secret keys that were generated were not correct 
- 
sech1 they are used to calculate stealth addresses, so I assume if you see a payout, you should be able to spend it 
- 
sech1 but with added checks in that commit, old sidechain failed to verify 
- 
jaska087 PPLNS window              = 411 blocks (+1 uncles, 1 orphans) 
- 
jaska087 nnnooo...! think of the orphans! 
- 
sech1 that was a block at height 0. I guess someone joined with miners connected and started mining before fully synced 
- 
oliver_ that was me, sorry 
- 
sech1 it's not a problem 
- 
sech1 more like a normal way of operation for p2pool 
- 
sech1 hyc ping. You need to update to the latest and switch to the new sidechain 
- 
hyc ok 
- 
sech1 port number changed to 37889 to avoid lots of warnings from old nodes 
- 
sech1 your shares on old sidechain will stay there and will be reward if old nodes mine a Monero block 
- 
Inge .mine 15000 
- 
jaska087 so many banned nodes 
- 
sech1 Then it's better to stop p2pool, delete p2pool_peers.txt and start again 
- 
sech1 but it's not required, bans are temporary 
- 
jaska087 aight 
- 
sech1 old sidechain is still alive, mined block  xmrchain.net/block/2439270
- 
sech1 I got a payout from that block 
- 
QuickBASIC Sorry. Just checked. Need to rebuild and change port, right? My old one is still running on old chain for another hour or so not going to disrupt anything? 
- 
sech1 Just rebuild, change port and delete p2pool_peers.txt before starting again 
- 
sech1 old one will not disrupt because port number has changed 
- 
QuickBASIC Roger will do. I'm out and don't have access to it at the moment. 
- 
hyc hm i didn't delete peers file 
- 
sech1 It's not critical. Your node will ban incompatible peers 
- 
sech1 when they update and ban expires, they should reconnect again 
- 
QuickBASIC I stopped it and will rebuild later today. I wasn't getting any shares with my 1900 h/s anyway. 
- 
QuickBASIC One of my miners kept periodically saying "end of file" and "connection refused". Over the last 10 hour or so, but then would go right back to getting "new jobs" by itself. 
- 
QuickBASIC To be clear I I built an install it on Ubuntu running on actual hardware now, so it's not running in a vm container anymore. 
- 
QuickBASIC I opened up the ports with ufw on Ubuntu, but was still seeing periodically connection refused and then it would go back to normal. 
- 
QuickBASIC Xmrig was running on a separate Windows machine and connecting to the p2p stratum on Ubuntu. 
- 
sech1 connection refused shouldn't happen if p2pool is running, it's happens when you try to connect and no one is listening on that port 
- 
aypro i had it happen to me one time, turns out my p2pool banned 127.0.0.1 ... don't know why 
- 
aypro 16:56:56.7097 StratumServer peer 127.0.0.1:59955 is banned, disconnecting 
- 
sech1 it should have ban reason a few lines up in the log 
- 
sech1 or more than a few lines up. You can search the log for warnings from StratumServer 
- 
aypro WARNING 2021-08-31 17:17:04.4182 StratumServer client: invalid JSON request (unknown method) 
- 
aypro WARNING 2021-08-31 17:17:04.4182 StratumServer peer 127.0.0.1:57404 banned for 600 seconds 
- 
sech1 unknown method? What miner is it? 
- 
aypro xmrig 
- 
aypro 6.14.1 
- 
sech1 do you have keepalive on in xmrig config? 
- 
aypro yes 
- 
sech1 set it to false then 
- 
sech1 I need to fix it on p2pool side though 
- 
sudo_ki[m] Hi all, I'm having trouble with setting up p2pool.  
- 
sudo_ki[m] I have built the latest version of monero-gui (17.2.3). I have firewall rules for the ports I've specified but when I run the software I get: p2pool get_miner_data RPC response is invalid. On the node I get: invalid zqm/sub message. Can anyone lend me a hand? 
- 
aypro ok, will do 
- 
sech1 The node must run custom monerod build 
- 
sudo_ki[m] Ah, release is not OK? Where abouts is the repo for that build? 
- 
sech1 
- 
sech1 you need to follow the instructions for monerod binary 
- 
sudo_ki[m] XD, I glossed over it. Thanks a lot 
- 
selsta v0.17.2.3 does not contain all the changes for p2pool 
- 
QuickBASIC Can the next one be named 'mainnet test 2 electric boogaloo'? 
- 
garth p3pool 
- 
sech1 Something interesting will be here  p2pool.io/api
- 
sech1 when it works, it should be enough to have an entry at  miningpoolstats.stream/monero
- 
QuickBASIC Every time I build p2pool I have to manually go add the path to UV_LIBRARY and UV_LIBRARY_DEBUG to the CMakeCache.txt (because it's set to NOTFOUND). Am I possibly doing something wrong? It works when I add the path under /use/lib/x86_64_yaddayadda for the .so, but I prefer not to have to do it every time. 
- 
QuickBASIC * autocorrect mangled the /usr/ path but you get the idea. 
- 
moneromoooo 
- 
QuickBASIC Sorry moo, not a dev so I'm not sure what you're pointing out here. 
- 
selsta try to change it as in the posted patch 
- 
QuickBASIC Ah understood. Away from that machine at the moment but will try as soon as I can. 
- 
QuickBASIC Yeah, just tested the diff and cmake finds it now. 
- 
QuickBASIC But that's changing four lines manually instead of two. 
- 
selsta sech1: can you merge ^ ? 
- 
QuickBASIC Ahh umm my git-fu is not up to par. I'm assuming there's a programmatic way to apply the diff, but I just copy and pasted using nano lol. 
- 
selsta git apply patch 
- 
QuickBASIC Thanks selsta. 
- 
sech1 merged 
- 
QuickBASIC Yay! 
- 
QuickBASIC Oh damn. I found 3 shares with my piddly 1.9 kH/s in the last 30 mins since I got back up and running. 
- 
QuickBASIC Actually more like 1 hour. 
- 
QuickBASIC But that's super lucky. I should have like 1-2 shares per 2.5 days or so. 
- 
QuickBASIC I just noticed you added the stratum hashrate stats sech1. Too cool. 
- 
gingeropolous sech1, so i think im on the new sidechain now 
- 
sech1 10 different nodes, 10 wallets in PPLNS window. This second test is more interesting so far 
- 
sech1 QuickBASIC you'll get more shares now while difficulty is low 
- 
QuickBASIC sech1 I noticed a commit that doesn't allow multiple connections from the same IP. Does that mean that someone sharing a single residential connection couldn't both use p2pool independently?