00:06:38 I would say, instead of bitcoin p2pool lacked uncle blocks, bitcoin p2pool had a problem with orphan blocks 00:06:48 (which uncle blocks solves)\ 00:19:24 hyc. Yeah I can update it. 00:20:00 sech1 you merged it before I fixed the missing " in the Windows build section. I'm sorry. I only saw it after I created the PR. 00:23:26 hyc "P2Pool as a concept was first developed for the Bitcoin blockchain but was never fully realized due to its limitations and because had a problem with orphaned blocks which is solved in Monero P2Pool by uncle blocks.", yes? 00:23:49 Ah, I was too sleepy to see it. Fixed 00:25:13 sech1 Awesome thank you. 00:26:36 sech1 s/then select "Build from the menu"/then select "Build" from the menu/ 00:26:46 It probably doesn't matter lol. Messy messy commit history. 00:34:35 Tangentially related because it's for the monero-site PR for the blog post for P2Pool... is it bad to rebase squash and force push a bunch to times to clean up history? 00:34:49 hyc added your suggested verbiage. 07:38:02 so I'm confused about coinbase transactions. first off, how is the coinbase reward size decided? can't the miner choose whatever amount they want, since the miner is the one building the block? and how does p2pool make coinbase transactions to multible miners, like if one miner gets added to the coinbase transactions then the block hash changes and mining takes longer? 07:56:57 coinbase reward size is part of Monero consensus, it's calculated for each block 07:57:56 where can I learn more about it? 07:59:14 https://www.getmonero.org/library/Zero-to-Monero-2-0-0.pdf 07:59:18 7.3.1 Block reward 07:59:23 "so I'm confused about coinbase..." <- The miners can add whatever they want to the blocks, but nodes wont accept blocks that dont adhere to their conditions, and almost all nodes run the same software with the same conditions 07:59:39 thanks 08:04:35 If p2pool miners can make their own blocks, then how does p2pool prevent them from not paying out miners? I dont understand how merge mining works but I assume p2pool only awards you for shares that have the correct coinbase transactions? 08:26:42 blocks with incorrect payouts will not be accepted by p2pool 13:13:16 QuickBASIC: "because *it\* had a problem" 13:40:40 and I'd say "solved with uncle blocks" - not "by" 18:24:29 Does anyone know how to direct the blockchain file to a local network location using the --data-dir monerod parameter? What the syntax looks like? 18:28:24 hyc sorry just seeing this I grok s/by uncle blocks/with uncle blocks/ on line 13, but what's the other suggestion? Emphasis on it? 18:32:55 shadowfax-87[m]: on Linux, you would mount it on a folder, then just point to that folder 18:33:16 on Windows, you would use a ... path with a drive letter? 18:37:20 DataHoarder: Yes on Linux. But what is the correct syntax? For example -> user⊙110/mnt/data/.bitmonero Is that correct? 18:37:40 you would mount the folder first on your system, then just point to it 18:37:49 so if you mount a folder on /mnt/test 18:38:00 you can just then say /mnt/test/.bitmonero 18:38:26 monerod will not mount it for you, but if you can find where the folder is, it will work that way 18:39:08 DataHoarder: But in what machine? Is there another form to specify it? 18:39:40 you first need to mount the "remote network location" on the local system 18:40:15 be it using mount manually, adding it to /etc/fstab, or using fuse or similar 18:41:32 QuickBASIC: yeah "it" was missing 18:42:37 LMDB is not supported on network filesystems 18:42:40 DataHoarder: I think I understand I will try. Thank you. 18:43:22 see hyc's warning first, but if your network FS is POSIX compliant it should work 18:43:32 I'd wager a guess LMDB could run on an iSCSI volume 18:43:42 if it's a block device it would do yes 18:44:07 yeah that ought to work, haven't tried it myself 18:45:37 hyc I think that got fixed in one of the commits I squashed 18:45:50 ok cool\ 18:47:10 Thank you for your eyes on it though, I'm pretty sloppy as a technical writer. You should have seen the first version that I submitted via the PR lol. 18:48:35 heh 20:17:23 There you are!! 20:17:52 curious.... p2pool is using regular monerod to mine, right? 20:18:14 at the moment is using a patched version, pending on a PR to be reviewed and merged, that adds some RPC methods 20:18:20 https://github.com/monero-project/monero/pull/7891 20:18:39 and xmrig was separate miner that could get better hashrate, right? is p2pool much lower hashrate, essentially is what i'm asking? 20:18:50 current instructions have building/using a custom monerod build, but should not be needed later on 20:18:53 p2pool is not a miner 20:19:07 you can mine with xmrig here, in fact, I'm doing so at the moment 20:19:20 so xmrig and p2pool will work together? 20:19:27 monerod is just necessary for p2p? 20:19:29 p2pool is basically a pool, distributed 20:19:41 monerod is necessary to create your block templates to mine on 20:20:05 just strange that xmrig didn't use monerod.. 20:20:13 it can 20:20:19 for solo mining 20:20:26 ahh... right 20:20:28 cause xmrig gets the template *usually* from the pool, which gets it from monerod/etc. 20:20:57 monerod < (syncs new blocks and transactions to get fee from, mining template) > p2pool < (gets/sends jobs) > xmrig 20:21:32 typically when mining on centralized/custodial pools xmrig just connects to them, and they do the template/transaction selection on your behalf 20:21:51 on the > is p2pool much lower hashrate 20:22:11 for a pure pool with no bonuses you would get the same hashrate/rewards on average 20:22:47 i like bonuses :-) 20:23:14 that's why i'm here. :-D 20:23:59 well, bonuses, I already see lack of fees and you controlling your own setup as a bonus 20:24:22 then some people like xmrvsbeast[m] have added some of their own bonuses, but that's their own choice 20:25:56 so... i just noticed the [m]'s.... this is like International Team Monero(TM) Support logo? 20:26:48 Those are Matrix users 20:26:52 right... xmrVb was poppin' until I saw the old server is at 0 Bonus level now 20:27:12 why do i always miss the union meetings? 20:58:51 grndslm I recall XvB said something about wanting to incentivize the miners on his pool to move over to p2pool, so you're in the right place. Off-topic: is your username a reference to GGG's PoE? 20:59:40 QuickBASIC: negative. baseball connotation, disemvoweled (sp?) 21:00:49 Ack grand slam, not ground slam. grndslm 21:02:21 bingo ;) 21:20:14 soo... on my windows rig, copying this modified monerod over the original and running this new monerod, p2pool, & xmrig will "just work"? how are xmrig config files setup for p2pool? 21:20:37 don't see any option on the "old" Configuration Wizard ... https://xmrig.com/wizard 21:20:51 New monerod should just work, it is a new rpc 21:21:03 p2pool just exposes a stratum port 21:21:10 connect xmrig to that 21:21:32 localhost:randomPort? 21:22:16 For example, by default 3333, read this section https://github.com/SChernykh/p2pool/blob/master/README.md#how-to-mine-on-p2pool 21:22:17 monerod needs to be run as administrator? 21:22:29 no 21:23:15 You don’t need a full xmrig config file if you just want to specify to connect to p2pool, but should work too :) 21:23:55 strictly xmrig && the -o switch is all I need? very nice 21:29:02 You might want -u x+30000 in there too to set the diff. (Where 30000 represents approx 30 * hashrate expected). i.e 30000 is 1000*30. 21:29:51 "2021-09-19 21:28:05.445 F Error starting server: Failed to bind IPv4 (set to required)" 21:30:14 this an OS thing, or a router thing? 21:30:38 i hate changing things that were working just fine a few days ago... 21:31:06 What program is giving that error? 21:31:27 monerod... says it should be run until fully synced 21:32:35 It stopped working when running with --zmq-pub tcp://127.0.0.1:18083 ? 21:33:24 hmm... maybe it was already running.. 21:34:03 Yup. That's because it can't bind the interface on a specific port if it's already being used. 21:34:58 CTRL+SHIFT+ESC then Show All, then look for multiple monerod under "Background Processes" 21:35:47 If you're serious about running a node on Windows I suggest using something like nssm to run it as a Windows service so you can start and stop it easily. 21:36:08 jesus, i hate windows 21:36:24 wtf are there 7 tabs of different running processes? 21:36:40 monerod wasn't under Processes, but "Details"... 21:36:57 Windows 10 is bleh 21:53:33 QuickBASIC: how do i determine best -u x+???? setting for my rig? 21:53:50 if my expected hashrate is 2000, i should set it to 60000? 21:54:07 ahh... now i see your i.e. 21:56:22 think on my last step now.... 21:56:35 opening port 3333 for xmrig.exe 21:57:16 i'm definitely not a windows person, and the automagical Defender firewall didn't auto-question me about this new connection. :-/ 21:58:10 You do not need to set that but if you want to see stats you can put a value there 21:58:41 and btw if you want the raffle, set it to around 600000 otherwise XvB will ignore it 21:59:27 i think i've pretty much had to approve each new app.... monderod, p2pool, and now xmrig incoming on port 3333 doesn't seem to be working 21:59:56 it blows my mind that PC manufacturers are still shipping Windows.... even if it is free 22:02:21 i see i can just allow the app on all ports. brilliant!! 22:03:04 If you don't like windows, then don't use it. I've got my p2pool set up on a VPS with Ubuntu Linux, so I can just connect my Windows machines to it as if it was a normal pool. 22:03:20 You could also recycle old hardware, by installing a Linux distribution on it and using it as a server for your miners. 22:05:25 Hell, if it's only one computer and you're running on Windows, You could run monerod and p2pool in WSL2 (just use netsh to proxy the port), or you could install a docker image. 22:06:45 just bough this brand new HP computer with 24" monitor for a couple hundo... added better RAM and SSD.... was trying to preserve moving 1TB windows partition to a 500 GB ssd, but doesn't look like that'll be easy, either. 22:07:36 been a looonnnggg time since using a desktop or windows. need to grease the ol' gears or something like that 22:09:00 You're better off making sure that your windows license is attached to your Microsoft account and then doing a full reinstall then trying to transfer an EFI partition. 22:09:38 that's another thing. Microsoft accounts to use an OS? ffs 22:10:14 You can skip the Microsoft account login, if you disconnect your Wi-Fi during the OOBE. 22:10:44 But it's better to have a throw away Microsoft account not attached to anything else, because your Windows license and BitLocker keys are tied to it. 22:10:47 xmrig.exe now saying no active connection... "127.0.0.1:3333 connect error: "connection refused" 22:11:06 even after adding TCP / UDP incoming connections for xmrig 22:11:29 QuickBASIC: good to know 22:12:23 throwaway name used to be a porn star's name. Booted up Xbox One after several years of sitting in a box somewhere, the kids are like: "Who's Ron Jeremy?" 22:12:27 Are you sure p2pool is running? 22:13:07 You shouldn't have to open any ports to connect to local host on windows. 22:13:07 mom and i are like STFU... and they're like: "hey google, who's Ron Jeremy?" changed my name to Scooby Doo, but it took a few days for the windows login name to change. just retardedness all around 22:13:20 QuickBASIC: yup, definitely running and appears to be running properly 22:14:17 What come in line are you running to run p2pool? 22:14:19 height = 2453094 22:14:26 *command line 22:14:54 p2pool.exe --host 127.0.0.1 --wallet 22:19:06 Try running it without --host 127.0.0.1 just --wallet 22:26:52 QuickBASIC: same thing... "connection refused" 22:27:22 Is it connected to monerod grndslm 22:28:02 p2pool will not expose stratum port before it is connected to monerod both on RPC and ZMQ ports, and monerod has synced to network 22:28:34 DataHoarder: is xmrig connected to monerod? 22:29:11 DataHoarder: thought that's what the purpose of p2pool is.. :-) 22:29:40 but xmrig is fully synced and running, p2pool appears to be running correctly, as well 22:30:05 just xmrig isn't working.. 22:31:21 DataHoarder: i am so slow.... so yea, apparently i haven't enabled ports for RPC and ZMQ 22:33:10 DataHoarder: i'm assuming i should be making p2pool incoming connections open on those ports, right? not monerod 22:33:25 altho, the newer monerod was updating RPC... hmm... 22:34:05 xmrig is not the thing that syncs 22:34:14 xmrig connects to p2pool for the mining 22:34:28 p2pool connects to monerod to get current Monero network information 22:34:45 without it connecting to Monero, well, you don’t produce valid work 22:35:28 you need to enable RPC and ZMQ on monerod. Please read provided README for p2pool for the command line parameters :) 22:36:57 DataHoarder: so p2pool does NOT need RPC & ZMQ incoming ports open? 22:37:58 only mention of either RPC or ZMQ on the p2pool README is the command: "monerod.exe --zmq-pub tcp://......" which i am running 22:45:37 changed only enabling TCP/UDP to enabling ALL ports in Windows firewall.... 22:45:41 no p2pool won't work at all 22:45:45 *now 22:45:54 p2pool connects TO those ports 22:46:22 anyhow seems like you are fighting windows more than anything, would do as QuickBASIC recommended 22:46:47 i'm so close... i'll figure it out soon enough. thanks for the help, DataHoarder 22:47:39 Yep, a few ports to remember, read a bit about monerod help and maybe that has some guides about these Windows issues 22:57:28 grndslm, I hadn't actually tested this on Windows yet, but I just did on my Windows machine to see what problems you might be running into. In my test, I was able to just run monerod.exe --zmq-pub tcp://127.0.0.1:18083 and p2pool.exe -wallet walletaddresshere and xmrig -u x+30000 -o 127.0.0.1 from an unelevated command prompt and Windows firewall 22:57:29 prompted me once to allow p2pool to connect to the internet. 22:58:01 I suggest you go to Windows Settings > Windows Security > Firewall and Network Protection and Reset your firewall. I didn't have to add any manual rules for ports. 22:58:24 So maybe you put something in there that's causing the issue because you were messing with the firewall settings. 22:59:04 Also check that your new HP didn't come with any firewall or internet security apps that are running by default. (Norton 360 is pretty common nowadays on HP OEM installs, I see it all the time.) 23:48:15 grndslm, I was able to repro the error you're seeing on Windows and I think I know the solution. Windows Smartscreen is probably triggering. Run monerod.exe once by double-clicking it, click "More Info", then "Run anyway", then you can run from command line as normal or use Unblock-File PowerShell cmdlet.