- 
gingeropolous hrm, this would be neat to tie into Primo , the hash for web service thing 
- 
QuickBASIC I just googled "primo hash", thanks G. 
- 
gingeropolous here yah go QuickBASIC .  repo.getmonero.org/selene/primo . no idea if ure primo hash google got u there 
- 
QuickBASIC The joke was that googling "primo hash" brings up something unrelated, but ironically tangentially related to Monero. 
- 
gingeropolous i know :) 
- 
garth Custom monerod fails to build on fresh Ubuntu 20 VPS:  paste.Debian.net/1209858
- 
garth 8GB RAM so not a memory issue  
- 
garth Ah I did a make clean and restarted and now it worked. No idea… 
- 
garth Maybe 4 cores of git on a 8GB RAM VPS was too much 
- 
hyc there are definitely parts of the build that require more than 2GB RAm per cpu 
- 
garth Interesting ok 
- 
hyc ^ this wouldn't be an issue if it was all written in C ... 
- 
garth Well time for a code base rewrite Mr Chu 
- 
garth ;) 
- 
QuickBASIC While I'm certain he could do it, the benefit of the current codebase is the amount of auditing it's seen and with that trust that the community has in it. A complete rewrite is bound to have some non-breaking change that might expose Monero to an attack. 
- 
hyc pluses and minuses\ 
- 
sudo_ki[m] 'Create a separate restricted user account for testing. p2pool is untested and can have serious bugs/vulnerabilities!' 
- 
sudo_ki[m] Is this still relevant?  
- 
selsta probably yess 
- 
sech1 very much yes 
- 
sech1 QuickBASIC multiple connections from the same IP open a DoS attack vector, so it's safer to disable them. Users behind provider's NAT will just connect to different nodes from the IP they share. 
- 
sech1 old p2pool found 3 more blocks: 2439532, 2439566, 2439636, and it looks like those 35 MH/s finally switched after finding 2439636 
- 
QuickBASIC I'm pretty sure I saw a estimated payout in p2pool status last night, but I'm not seeing it this morning and my wallet still says 0 XMR (I did already set refresh-type full). 
- 
sech1 pool didn't find a block yet 
- 
jaska087 woah, got balance! 
- 
jaska087 D: 
- 
jaska087 gj whoever found the block 
- 
gingeropolous sech1, did the recent p2pool update require a monerod update as well? 
- 
sech1 no 
- 
sech1 same branch 
- 
gingeropolous hrm. my p2pool stratum reports that I have no hashrate pointing at it 
- 
gingeropolous this was after changing my mining address 
- 
gingeropolous and restarting p2pool 
- 
gingeropolous uptime would be nifty on status somewhere maybe 
- 
gingeropolous i wonder if my xmr address in the xmrig config would screw things up if it is different than that in the p2pool config? 
- 
QuickBASIC I guess my question is, why would I see estimated balance 0.0039... etc at 00:00 UTC last night, but this morning at 12:00 UTC it says Estimated balance 0.000000 but not see a payout... Shouldn't it just count up until a block is found? 
- 
gingeropolous QuickBASIC, your shares can get pushed out of the sidechain window 
- 
QuickBASIC Ohhhhh 
- 
gingeropolous the sidechain is only so deep. if you find a block in the sidechain, and then a mainchain block isn't found... yeah i think u got it 
- 
QuickBASIC So if a block isn't found during the window, the shares are lost and don't count? 
- 
hyc yeah I lost a bunch of shares 
- 
QuickBASIC Aww. Okay. I understand. Because it's PPLNS not PPS. 
- 
gingeropolous i guess i just haven't found a share recently 
- 
gingeropolous i wonder if my diff got too high when the 30 Mh miner wasn't in the p2pool? 
- 
gingeropolous what a jump: 2021-09-01 14:15:00.9692 SideChain received a longer alternative chain: height 4 -> 11552, cumulative difficulty 2070369 -> 404312660193 
- 
QuickBASIC I wonder if it would be beneficial to clarify that in the 'status' command before mass adoption because we might have people that won't understand and will think they've lost something that's owed to them. Maybe (Estimated Payout if block found in window). 
- 
QuickBASIC The current mining paradigm, it only shows you pending payout that actually has been earned so I could see room for confusion. 
- 
jaska087 Would it be impossible to calculate est. for avarage time to get paid? "you need to mine min. x days" 
- 
QuickBASIC I'm a relatively technical user (I'm a support engineer for Microsoft 365/AzureAD for God sakes) and I'm confused by this stuff lol. 
- 
QuickBASIC sech1 Regarding the IP address question, the reason I'm excited for p2pool is it's ability to extend mining and therefore Monero financial freedom to the unbanked by allowing them to get payouts much sooner using low hashrate hardware than using a pool. Someone pool mining on old hardware etc they might wait months or more to hit a threshold, where p2pool they might not. The reason this matters is university students, people in remote villages,  
- 
QuickBASIC shared housing situations, hotels, apartment buildings, shelters, or homeless might only have one public IP amongst many and these people that need it the most won't have access to run it on a VPS. 
- 
QuickBASIC This is a philosophical thing and not technical, but I thought it beared mentioning. 
- 
sech1 Renamed "Next payout" to "Block reward share" 
- 
Inge QuickBASIC: heh. if you aren't confused by Azure Ad's .. intricacies, then nothing fazes you. 
- 
QuickBASIC Inge I can hard match an AD account to AzureAD and compute the b64 for the ImmutableID in my head. Jk, but yeah it's overly complex. 
- 
QuickBASIC Bit not true "engineer" despite the title. 9 times out of 10, I'm teaching admins how any of it works rather than actually doing anything too complex. 
- 
QuickBASIC I helped a nurse do an Exchange migration of 1000+ people after their hospital decided to fire their Exchange admin the other day. Because "Office 365 doesn't need an Exchange admin because it's cloud" according to their budget committee lol. 
- 
Inge ooof 
- 
Inge someone should definitely do a pluralsight course on securing office 365 if nothing else. 
- 
sudo_ki[m] <sech1> "very much yes" <- Is a restricted shell prudent enough? 
- 
sech1 I don't know, imagine p2pool does "rm -rf /" because of some bug 
- 
sudo_ki[m] Gotcha :) 
- 
murr4y Made a working build on arch linux \o/ 
- 
aypro does the new 0.17.2.3 monero release include the code needed for p2pool ? 
- 
hyc no 
- 
hyc the monerod patch set was too large and came in too late to be reviewed in time 
- 
QuickBASIC I believe selsta said it will definitely be in 0.17.2.4 though right? 
- 
hyc probably, if there's a 17.2.4 at all 
- 
hyc whatever the next point release I suppose 
- 
selsta there is some other things I want released so there should be a v0.17.2.4 
- 
hyc are they minor enough for .2.4, what would qualify it for v0.17.3? 
- 
selsta we can also do .3 I guess 
- 
hyc since p2pool support bumps the RPC version numbers, it seems to qualify  
- 
sech1 p2pool.io [Dislaimer: I'm not a frontend dev] 
 
- 
hyc ugh that color scheme 
- 
hyc dis is definitely laimer :P 
- 
sech1 It's Monero colors (sort of) 
- 
hyc plain black&white would be easier to read. you can add some colored borders if you want 
- 
sech1 white background? I heard it's not trendy anymore 
- 
sech1 all right, black & white it is 
- 
hyc nah, do whatever you like, don't mind me 
- 
sech1 shades of grey are def better 
- 
hyc ah yeah that works 
- 
hyc I also just took your page and set the background to black 
- 
hyc 
- 
jaska087 what is dat border 
- 
sech1 damn, I like that color scheme 
- 
sech1 reminds me of Pornhub, lol 
- 
hyc poolhub :P   pornpool. something 
- 
QuickBASIC sech1 I like the gray background. Looks nice. 
- 
QuickBASIC Off-white on dark grey is in... And orange is Monero themed 
- 
QuickBASIC And people can just CSS theme it if they don't like. 
- 
hyc i think the monero orange is a bit redder than that ;) 
- 
QuickBASIC Just used a color picker on logo. Looks like f26822 
- 
sech1 Monero orange is too orange for the text 
- 
QuickBASIC ^ agree 
- 
garth Alright my VPS p2pool is up and running with 25k KH/s  
- 
garth Was pretty easy to set up tbh. Im not even a dev. I’ve set up a few private pools for fun before though, so maybe I’m not a good example of the average user 
- 
garth Hey sech1 I’m curious what you think about monerod’s zmq. The guy who wrote it was always behind on his CCS 
- 
garth Milestones and I always wondered if it affected the code 
- 
selsta vtnerd took zmq code over a long time ago 
- 
garth Oh ok I should maybe ask him 
- 
sech1 zmq is still in half-done state, it misses a lot of APIs 
- 
garth If you think it’s important we could create a todo list for any interested devs to try and complete it. But maybe you think there’s more pressing things to work on 
- 
QuickBASIC garth do you mind letting us know what VPS provider you use. I worry that some might not like anything crypto related, but I was considering setting up my own personal node that doesn't use my home ip for privacy. 
- 
garth Digital Ocean 
- 
garth They’ve been fine as long as you don’t mine 
- 
garth Although maybe others know how to do it that doesn’t trip their sensors 
- 
QuickBASIC Yeah not planning on mining on VPS. Just want a node I can connect to from mobile phone that's not NAT or on dynamic residential IP. 
- 
QuickBASIC (one that I control I mean, I know there are some public ones) 
- 
jaska087 Got dynamic address, hasn't changed for 2 years 
- 
jaska087 :P 
- 
CzarekNakamoto[m i was running full node on vpscheap.net and it worked not bad 
- 
sech1 pruned node is enough 
- 
sech1 p2pool also have "--light-mode" parameter for low memory vps, but it'll be slower 
- 
sech1 *has 
- 
jaska087 resulting in uncle shares? 
- 
jaska087 or just slower? 
- 
sech1 it will use RandomX light mode, so it'll spend additional 10 ms verifying each block. So more uncle shares in theory 
- 
sech1 but the real difference will be probably negligible 
- 
sech1 that's the only place where it will be slower in light mode (also the initial sync because it checks RandomX hashes too) 
- 
jaska087 Haven't seen any uncle shares yet, though I only send 2-3 shares every 24h 
- 
sech1 I see 4 uncles total in PPLNS window 
- 
sech1 in status 
- 
jaska087 yes 
- 
sech1 that's like 0.2%, not bad for 10 second block time 
- 
QuickBASIC How resource intensive is p2pool? I'm running it on a 7 year old laptop with 4GB ram and a mobile Celeron and it seems fine. 
- 
sech1 as long as it has enough memory, close to 0% CPU after initial sync 
- 
sech1 it only needs to wake up and use CPU when it receives a block from other nodes, or a share from stratum server 
- 
QuickBASIC Good to know. I suspect based on your description,  someone could compile and run it on an ARM device like a phone as long as it's connecting to a remote node. 
- 
QuickBASIC Although, the last time I compiled xmrig in Termux I only got like 120 h/s on a modern device. 
- 
sech1 It should be able to run on ARM devices using a remote monerod 
- 
QuickBASIC That's so cool. This is such an amazing thing that you've made. Not trying to blow smoke up your ass, but you solved one of the last problems of centralization Monero faced. 
- 
bugs_ fyi on fedora there is no gss library supplied - p2pool links fine without it 
- 
bugs_ $ diff CMakeLists.txt.1 CMakeLists.txt 
- 
bugs_ <       set(LIBS ${LIBS} pthread gss dl) 
- 
bugs_ >       set(LIBS ${LIBS} pthread dl) 
- 
jaska087 btw sech1 how would you start a new sidechain on your own? 
- 
jaska087 change pplns window/block time? 
- 
jaska087 don't connect to any nodes? 
- 
sech1 just use custom config.json (--config config.json) 
- 
sech1 change pool name, set password if you want it private 
- 
sech1 then only nodes with the same config will be able to join it 
- 
sech1 
- 
jaska087 oh sorry, I haven't really checked the config.json file :D  
- 
jaska087 my bad 
- 
gingeropolous hrm, p2pool might be a good way to get transpeer to get some legs 
- 
gingeropolous well, nvermind 
- 
gingeropolous or maybe. basically, use p2pool to allow a way to advertise the existence of all of the available p2pool sidechains 
- 
gingeropolous yay, my hashrate came back 
- 
gingeropolous so i think i asked this already, but is there a max for how long the pplns / sidechain can be? 
- 
sech1 if it's too long, coinbase transaction will get too big 
- 
sech1 also, if you go beyond 2160 blocks, minimal payouts gets too small (compared to transaction fees) 
- 
QuickBASIC Dang it. I forgot to cp config.json when I compiled earlier today and I think I was mining on a sidechain. 
- 
Hisha When I use the status command and get this: Block reward share (est)  = 0.005203966594 XMR and see nothing in my wallet is something wrong or just wait longer? 
- 
QuickBASIC That's the amount you would get based on your current shares if a block is found, but not guaranteed. If your shares fall outside of the PPLNS window before a block is found, they won't count. 
- 
nioc why was PPLNS chosen?  
- 
Hisha ahh ok 
- 
QuickBASIC You'd have to ask sech1 to be sure, but it's probably impossible to do trustless PPS because there's no custody. 
- 
Tonux Is it normal to have loads of "failed to save peer list" errors? 
- 
aypro never had that, maybe it doesn't have write access to p2pool_peers.txt 
- 
QuickBASIC Pretty sure you can just delete the file and it will recreate it. 
- 
Tonux Hmm, looks like it was never created, shall investigate further. 
- 
Tonux Well, that's really, really strange. It p2pool cannot create the files when I run it inside gnu screen. Hmmm. 
- 
Tonux Wait. Sorted it. 
- 
Tonux Looks like p2pool doesn't like to be called from outside its directory 
- 
garth Wooo got three shares 
- 
garth I’ve had one error. If I SSH into my VPS and use ‘screen’ to isolate the pool and it’s open and I resize my SSH window it freezes. Not sure if this is important. The problem doesn’t appear if I just keep the window the same size