00:21:27 hrm, this would be neat to tie into Primo , the hash for web service thing 00:24:32 I just googled "primo hash", thanks G. 00:39:14 here yah go QuickBASIC . https://repo.getmonero.org/selene/primo . no idea if ure primo hash google got u there 00:46:26 The joke was that googling "primo hash" brings up something unrelated, but ironically tangentially related to Monero. 00:48:36 i know :) 01:26:12 Custom monerod fails to build on fresh Ubuntu 20 VPS: https://paste.Debian.net/1209858 01:27:24 8GB RAM so not a memory issue 01:32:54 Ah I did a make clean and restarted and now it worked. No idea… 01:33:34 Maybe 4 cores of git on a 8GB RAM VPS was too much 01:35:20 there are definitely parts of the build that require more than 2GB RAm per cpu 01:47:56 Interesting ok 01:59:14 ^ this wouldn't be an issue if it was all written in C ... 02:45:01 Well time for a code base rewrite Mr Chu 02:45:11 ;) 02:51:41 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. 03:03:37 pluses and minuses\ 04:00:34 'Create a separate restricted user account for testing. p2pool is untested and can have serious bugs/vulnerabilities!' 04:00:34 Is this still relevant? 04:28:35 probably yess 05:36:30 very much yes 05:37:18 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. 05:42:20 old p2pool found 3 more blocks: 2439532, 2439566, 2439636, and it looks like those 35 MH/s finally switched after finding 2439636 12:58:58 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). 13:08:20 pool didn't find a block yet 13:52:29 woah, got balance! 13:52:30 D: 13:54:01 gj whoever found the block 14:06:23 sech1, did the recent p2pool update require a monerod update as well? 14:06:45 no 14:06:49 same branch 14:07:38 hrm. my p2pool stratum reports that I have no hashrate pointing at it 14:08:15 this was after changing my mining address 14:08:21 and restarting p2pool 14:08:50 uptime would be nifty on status somewhere maybe 14:09:36 i wonder if my xmr address in the xmrig config would screw things up if it is different than that in the p2pool config? 14:10:16 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? 14:10:58 QuickBASIC, your shares can get pushed out of the sidechain window 14:11:07 Ohhhhh 14:11:23 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 14:11:36 So if a block isn't found during the window, the shares are lost and don't count? 14:11:49 yeah I lost a bunch of shares 14:12:36 Aww. Okay. I understand. Because it's PPLNS not PPS. 14:12:50 i guess i just haven't found a share recently 14:13:10 i wonder if my diff got too high when the 30 Mh miner wasn't in the p2pool? 14:15:56 what a jump: 2021-09-01 14:15:00.9692 SideChain received a longer alternative chain: height 4 -> 11552, cumulative difficulty 2070369 -> 404312660193 14:16:22 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). 14:17:03 The current mining paradigm, it only shows you pending payout that actually has been earned so I could see room for confusion. 14:17:46 Would it be impossible to calculate est. for avarage time to get paid? "you need to mine min. x days" 14:18:21 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. 14:28:37 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, 14:28:37 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. 14:29:35 This is a philosophical thing and not technical, but I thought it beared mentioning. 14:34:56 Renamed "Next payout" to "Block reward share" 14:39:06 QuickBASIC: heh. if you aren't confused by Azure Ad's .. intricacies, then nothing fazes you. 14:45:49 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. 14:47:19 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. 14:49:30 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. 14:50:31 ooof 14:50:50 someone should definitely do a pluralsight course on securing office 365 if nothing else. 14:50:55 "very much yes" <- Is a restricted shell prudent enough? 14:51:55 I don't know, imagine p2pool does "rm -rf /" because of some bug 14:52:54 Gotcha :) 15:05:20 Made a working build on arch linux \o/ 16:34:09 does the new 0.17.2.3 monero release include the code needed for p2pool ? 16:34:21 no 16:35:06 the monerod patch set was too large and came in too late to be reviewed in time 16:40:45 I believe selsta said it will definitely be in 0.17.2.4 though right? 16:42:09 probably, if there's a 17.2.4 at all 16:42:26 whatever the next point release I suppose 16:45:33 there is some other things I want released so there should be a v0.17.2.4 16:48:29 are they minor enough for .2.4, what would qualify it for v0.17.3? 16:49:34 we can also do .3 I guess 16:52:56 since p2pool support bumps the RPC version numbers, it seems to qualify 16:54:17 https://p2pool.io/ [Dislaimer: I'm not a frontend dev] 16:55:14 ugh that color scheme 16:55:19 dis is definitely laimer :P 16:55:37 It's Monero colors (sort of) 16:56:39 plain black&white would be easier to read. you can add some colored borders if you want 16:57:00 white background? I heard it's not trendy anymore 16:58:27 all right, black & white it is 16:58:45 nah, do whatever you like, don't mind me 16:59:48 shades of grey are def better 17:01:26 ah yeah that works 17:01:41 I also just took your page and set the background to black 17:10:20 or something like this http://highlandsun.com/hyc/p2pool.io.html 17:11:18 what is dat border 17:12:52 damn, I like that color scheme 17:13:04 reminds me of Pornhub, lol 17:16:51 poolhub :P pornpool. something 18:09:59 sech1 I like the gray background. Looks nice. 18:10:34 Off-white on dark grey is in... And orange is Monero themed 18:11:09 And people can just CSS theme it if they don't like. 18:13:31 i think the monero orange is a bit redder than that ;) 18:17:11 Just used a color picker on logo. Looks like f26822 18:18:15 Monero orange is too orange for the text 18:27:53 ^ agree 18:33:50 Alright my VPS p2pool is up and running with 25k KH/s 18:35:29 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 18:38:25 Hey sech1 I’m curious what you think about monerod’s zmq. The guy who wrote it was always behind on his CCS 18:38:40 Milestones and I always wondered if it affected the code 18:39:02 vtnerd took zmq code over a long time ago 18:39:16 Oh ok I should maybe ask him 18:39:37 zmq is still in half-done state, it misses a lot of APIs 18:40:31 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 19:01:05 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. 19:01:14 Digital Ocean 19:01:33 They’ve been fine as long as you don’t mine 19:01:56 Although maybe others know how to do it that doesn’t trip their sensors 19:09:50 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. 19:10:29 (one that I control I mean, I know there are some public ones) 19:12:09 Got dynamic address, hasn't changed for 2 years 19:12:11 :P 19:30:22 i was running full node on vpscheap.net and it worked not bad 19:30:35 pruned node is enough 19:31:01 p2pool also have "--light-mode" parameter for low memory vps, but it'll be slower 19:31:04 *has 19:31:29 resulting in uncle shares? 19:31:40 or just slower? 19:32:37 it will use RandomX light mode, so it'll spend additional 10 ms verifying each block. So more uncle shares in theory 19:32:49 but the real difference will be probably negligible 19:33:44 that's the only place where it will be slower in light mode (also the initial sync because it checks RandomX hashes too) 19:34:08 Haven't seen any uncle shares yet, though I only send 2-3 shares every 24h 19:35:10 I see 4 uncles total in PPLNS window 19:35:20 in status 19:35:32 yes 19:35:39 that's like 0.2%, not bad for 10 second block time 19:39:58 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. 19:43:26 as long as it has enough memory, close to 0% CPU after initial sync 19:43:58 it only needs to wake up and use CPU when it receives a block from other nodes, or a share from stratum server 19:55:46 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. 19:56:56 Although, the last time I compiled xmrig in Termux I only got like 120 h/s on a modern device. 19:57:40 It should be able to run on ARM devices using a remote monerod 20:00:35 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. 20:01:27 fyi on fedora there is no gss library supplied - p2pool links fine without it 20:01:33 $ diff CMakeLists.txt.1 CMakeLists.txt 20:01:33 < set(LIBS ${LIBS} pthread gss dl) 20:01:33 > set(LIBS ${LIBS} pthread dl) 20:01:45 btw sech1 how would you start a new sidechain on your own? 20:02:11 change pplns window/block time? 20:02:20 don't connect to any nodes? 20:02:24 just use custom config.json (--config config.json) 20:02:41 change pool name, set password if you want it private 20:02:52 then only nodes with the same config will be able to join it 20:03:19 https://github.com/SChernykh/p2pool/blob/master/config.json 20:03:25 oh sorry, I haven't really checked the config.json file :D 20:03:35 my bad 20:25:20 hrm, p2pool might be a good way to get transpeer to get some legs 20:25:35 well, nvermind 20:26:36 or maybe. basically, use p2pool to allow a way to advertise the existence of all of the available p2pool sidechains 20:29:03 yay, my hashrate came back 20:30:27 so i think i asked this already, but is there a max for how long the pplns / sidechain can be? 20:45:45 if it's too long, coinbase transaction will get too big 20:47:01 also, if you go beyond 2160 blocks, minimal payouts gets too small (compared to transaction fees) 22:16:03 Dang it. I forgot to cp config.json when I compiled earlier today and I think I was mining on a sidechain. 22:37:40 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? 22:46:14 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. 22:46:50 why was PPLNS chosen? 22:46:59 ahh ok 22:50:55 You'd have to ask sech1 to be sure, but it's probably impossible to do trustless PPS because there's no custody. 22:51:04 Is it normal to have loads of "failed to save peer list" errors? 22:55:32 never had that, maybe it doesn't have write access to p2pool_peers.txt 22:56:34 Pretty sure you can just delete the file and it will recreate it. 22:57:00 Hmm, looks like it was never created, shall investigate further. 23:00:04 Well, that's really, really strange. It p2pool cannot create the files when I run it inside gnu screen. Hmmm. 23:02:36 Wait. Sorted it. 23:02:59 Looks like p2pool doesn't like to be called from outside its directory 23:44:04 Wooo got three shares 23:45:14 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