-
daedera[m]
Is there a p2pool config file yet where we can put in all the command line options/wallet etc?
-
daedera[m]
Nevermind I see its there.
-
daedera[m]
It looks like it doesn't use/support the wallet address yet.
-
QuickBASIC
Can someone smart check my basic explanation on Reddit comment of you get a chance. I think it's accurate, but I don't want to mislead anyone.
-
QuickBASIC
-
QuickBASIC
s/of/if
-
mxcl
Anyone compiled for arm? I have a few compile errors that I intend to fix and PR, but wondering if I'm alone in the pursuit of that
-
QuickBASIC
I don't recall anyone mentioning actually doing it, but I'm pretty sure sech1 said it should be possible.
-
mxcl
thanks
-
mxcl
Aiming to run it on an AWS t4g since they are cheap
-
garth
Interesting write up quickBASIC I’m also confused about the specifics on how this works so I’m interested to hear any corrections other people have
-
QuickBASIC
Right. He asked for a simple explanation and that's about the depth of my understanding sooo I took a whack at it.
-
garth
What I don’t understand is the entire side chain of the pool. Does it have a difficulty? Does it have different block solutions from main chain? How Gf
-
garth
Is this six hour window calculated? Etc?
-
garth
I wish there was a graphic or a video that spelled it out. I know Bitcoin has p2pool before us. I wonder if someone did a graphic or a video for them
-
QuickBASIC
I imagine you might could just read the code for some of those answers, but it's a bit over my head to be honest.
-
garth
Not a dev 😆
-
QuickBASIC
Well this p2pool was written from scratch so imagine some of it might not apply. Monero p2pool has uncle blocks for instance.
-
mightysnowman
Deem sad xmrvsbeast shutting down
-
mightysnowman
But atleast they helping us with hashrate if I understood it right
-
mandelbug
Hi, just tried to build the latest version and got the following error:
-
mandelbug
CMake Error at CMakeLists.txt:12 (add_subdirectory):
-
mandelbug
The source directory
-
mandelbug
/home/mydir/p2pool/external/src/RandomX
-
mandelbug
does not contain a CMakeLists.txt file.
-
mandelbug
-- Configuring incomplete, errors occurred!
-
sech1
git submodule sync && git submodule update --init --force --recursive
-
sech1
-
mandelbug
Perfect thank you
-
DataHoarder
> BLOCK FOUND: main chain block at height 2443394 was mined by this p2pool
-
DataHoarder
nice
-
sech1
orphaned
-
DataHoarder
sad
-
DataHoarder
yep, indeed
-
sech1
-
sech1
the block that orphaned it was mined a whole minute later. Is someone playing dirty?
-
sech1
no, I was wrong
-
sech1
-
sech1
so someone mined block 0.14 seconds later
-
sech1
it was skypool
-
sech1
and the next block was from minexmr, so they choose their block
-
sech1
we need better connectivity to major pools :D
-
DataHoarder
time to bump connections :D
-
sech1
This is what I use: "--add-priority-node=node.supportxmr.com:18080" in monerod command line
-
sech1
but it was minexmr that borked everything... And I don't know their nodes
-
DataHoarder
yep, I have a few other nodes across regions pinned
-
DataHoarder
let's see if I can add a few more
-
sech1
eventually it will be less of a problem when more miners join
-
sech1
p2pool broadcasts mined blocks to all other p2pool nodes, and they all submit it to their monerod
-
sech1
one of them will for sure be 1 hop away from a major pool node
-
DataHoarder
-
DataHoarder
only 443 though
-
DataHoarder
so no p2p ports afaik
-
sech1
pools keep their nodes in secret because these nodes are a target for DoS
-
DataHoarder
indeed
-
DataHoarder
can always have a second one for other syncing, which just pushes blocks towards their main one
-
DataHoarder
oh well, once it grows enough it should be better than normal pools
-
DataHoarder
given it will run many nodes
-
sech1
big pools can just connect p2pool node to one of their nodes to get blocks from p2pool quickly
-
DataHoarder
hmm, does p2pool work with connections from xmrig-proxy at the moment?
-
sech1
it should work
-
DataHoarder
no need to do --simple I guess then
-
sech1
almost all p2pool blocks were mined using proxy of some sort, judging by their nonce values
-
sech1
most likely xmrig-proxy
-
hyc
p2pool builds fine for ARM linux, I'm currently running it on rockpro64
-
hyc
it builds ok on M1 Mac too but doesn't run well there due to OS/platform bugs
-
hyc
gcc/linux ARM support has been mature for years, asking "does it work on ARM" about any software at this point is just a dumb question
-
DataHoarder
is the sidechain serialized to disk in any form? haven't checked code deeply, there was something about found_blocks though
-
» moneromooo installs qubes os on arm
-
sech1
no, it's stored in p2pool.cache
-
DataHoarder
aha, then that's fine
-
DataHoarder
every restart it still fetches all new blocks from that it seems?
-
sech1
but it's just a cache, not all blocks are stored there
-
sech1
it fetches only blocks that are not in cache
-
sech1
mostly new blocks that were mined since it shut down
-
DataHoarder
hmm, 10 seconds and it fetched a few thousand blocks
-
DataHoarder
(10 second between stop and restart)
-
DataHoarder
oh well, it's quick enough
-
DataHoarder
just causes connected miners to cycle through several jobs rapidly
-
sech1
it fetcehs them from cache
-
karce[m]
Hmm been mining for about a day now with no payout. Trying to see if there is some issue or not. I only saw one occurrence of "share found" in p2pool, do I need to be seeing that often for it to count? Maybe just unlucky? xmrig is getting jobs and shares are being accepted by p2pool.
-
DataHoarder
karce[m]: if running low hashrate, it'll take a while to have a share found + have a block mined within PPLNS threshold
-
DataHoarder
over time it averages out at same payout
-
karce[m]
Hashrate is 6-7 KHz
-
jaska087
what your found statistics show in xmrig?
-
jaska087
# | DIFFICULTY | EFFORT % |
-
jaska087
1 | 468M | 81.32 |
-
jaska087
# | DIFFICULTY | EFFORT % |
-
jaska087
1 | 467M | 67.47 |
-
jaska087
5kh vs 9kh
-
karce[m]
# | DIFFICULTY | EFFORT % |
-
karce[m]
1 | 118M | 235.57 |
-
karce[m]
2 | 96622K | 287.72 |
-
karce[m]
3 | 71299K | 389.91 |
-
jaska087
no wait, other way around
-
jaska087
right so you haven't hit the mark just yet
-
karce[m]
What diff is the mark? 468M?
-
DataHoarder
it's just random in the end
-
jaska087
336M or over is what you need
-
jaska087
atm
-
karce[m]
Ah ok. I'll keep mining then and see how it goes. Thanks guys.
-
DataHoarder
few shares found here, let's see about when we find a block and doesn't get orphaned
-
karce[m]
Ah hold on one more question. Is there specific difficulty I should set xmrig to use? Or if I just remove it will p2pool still handle "good enough" shares?
-
sech1
set it to 30x your hashrate, so your miner will submit shares every ~30 seconds. If you don't set custom difficulty, it will still be fine
-
karce[m]
Ok thanks sech1, appreciate it.
-
hyc
this Mac really sucks. Have I said that before?
-
hyc
15303/791 shares. 791 rejects. my other boxes have zero rejects.
-
karce[m]
Oh wow that is a lot of rejects. How does that happen? Latency too slow?
-
hyc
I can't imagine it is slower than my old phone
-
hyc
but it def appears to have bugs in its network stack
-
hyc
among other bugs
-
hyc
also it's literally sitting right next to my wifi router
-
hyc
they're physically touching
-
karce[m]
Have you ever tried w/ a thunderbolt dock and ethernet? If you have one that is.
-
hyc
haven't got a dock
-
hyc
regardless, this machine is a PoS if it doesn't work reliably out of the box
-
hyc
which it doesn't
-
karce[m]
Oh, really? I thought you might have been using one of the newer M1 macs.
-
hyc
it is
-
karce[m]
Oh haha
-
hyc
13" M1 macbook pro, ordered in April
-
karce[m]
Oh wow that is an expensive PoS, huh?
-
hyc
sure is
-
hyc
not a complete waste of money, I bought it to port/test LMDB. but its bugs broke my LMDB tests too
-
hyc
it is certainly a finely crafted metal case, and a brilliant screen. but the guts are garbage.
-
karce[m]
That's pretty weird to me. You think it is just buggy because it is Apple's first version of this new architecture or something else?
-
hyc
typical apple dreck, form over function. no idea where the cause lies.
-
hyc
it's not like ARM64 is an exotic architecture these days
-
hyc
it's not like compilers are immature
-
hyc
so the bugs have to be either in the hardware itself or in MacOS
-
karce[m]
Yeah my experience is on raspberrypi and I didn't have any issues at all with it.
-
karce[m]
Yeah I figure it might be in MacOS.
-
hyc
but I doubt that MacOS on x86 has these problems ...
-
hyc
dunno tho
-
karce[m]
I don't have a Mac of any kind so I dunno either.
-
karce[m]
I'm using my gaming pc. Mining with p2pool on cpu and moneroocean with gpu.
-
karce[m]
Seems to work well enough. My power bill though...
-
hyc
lol. gaming PCs aren't built to be frugal
-
karce[m]
Winter can't come soon enough so I can start heating the house up with this thing.
-
karce[m]
Yeah they aren't. It works out well though. If I want to play games then I can just pause mining and do that. Then when I'm done I go back to mining. It might not be super profitable but it can offset the cost of the hardware quite a bit.
-
DataHoarder
new block 8b827160902e1f9eaf821eebed2ccfecc842c05bd58d5f65d81b5bf8f87499a8
xmrchain.net/block/2443454
-
sech1
yay
-
DataHoarder
and confirmed output got received, so all the tracking works yay
-
QuickBASIC
Okay, so can someone tell me why setting diff low on miners makes stratum stats more accurate... I'm new to this mining stuff, so I can't wrap my head around it... Is xmrig just saying "here yah go" more often to p2pool and it's like OK, whereas with a higher diff in xmrig, it's not talking to p2pool as much?
-
moneromooo
Low diff means more shares meet that diff. Law of large numbers, gets closer to average faster.
-
QuickBASIC
Yeah, but p2pool wants high diff stuff right, so why does telling xmrig to send lower diff shares to p2pool make the average more accurate?
-
QuickBASIC
Or am I totally off base?
-
QuickBASIC
Oh oh oh... I think I get it.
-
DataHoarder
lower diff = more data points to calculate avg from
-
garth
Wow haha someone is taking 90% of the p2pool reward. Damn
-
garth
My entire experience with mining is all hobbyist. I have always wondered what the large hashrate setups look like
-
DataHoarder
seems like xmrvsbeast
-
garth
Oh it’s just a pool.
-
DataHoarder
they are redirecting most hashrate there afaik
-
DataHoarder
a pool that mines on a decentralized pool
-
moneromooo
Interesting attack. Drive diff up so nobody bothers with p2pool...
-
DataHoarder
(basically they are closing in favor of people moving to p2pool, but meanwhile they just pointed hashrate to p2pool)
-
DataHoarder
> We Are Moving to Decentralized Mining With P2pool
-
garth
Well I know there are actual XMR mining farms out there and I’m super curious what they look like. Sech1 or Hyc do you have any experience in what they look like? Rooms filled with AMD CPUs on open mobo trays?
-
garth
Interesting attack mooo
-
DataHoarder
and yeah they are getting most of the PPLNS share counts, but it also ends up with more regular blocks found
-
sech1
it's not an attack
-
DataHoarder
^
-
sech1
an attack would be if this hashrate orphaned everyone else's shares
-
moneromooo
Are they a middleman between p2pool users and the p2pool chain ?
-
sech1
no, they're just mining like everyone else
-
DataHoarder
they are while they are closing, until it's in release state
-
DataHoarder
according to the communications
-
moneromooo
Oh, it's their own hash, not their miners ?
-
moneromooo
In that case, nevermind.
-
sech1
Yes, it's their personal hash. p2pool needs significant hashrate for the release to avoid 51% attacks
-
DataHoarder
in practice every pool out there could just point towards p2pool right?
-
sech1
because if it's at 100 kh/s, someone with 110 kh/s can come and start orphaning blocks, effectively making those 100 kh/s mine to attacker's wallet
-
sech1
any pool could in theory point to p2pool node instead of monerod
-
sech1
but nodejs pool implementations don't support it (yet)
-
DataHoarder
every block is a pool payout block :)
-
DataHoarder
effort% becomes everyone's effort%
-
DataHoarder
would be funny, end result is your expected time for solo mining / 2016
-
CzarekNakamoto[m
DataHoarder: which for average miner with only average laptop would still be too much.. Is there any way to create multiple p2pool chains? Like 10 of them? And you will mine for one for let's say 24h and then it will change, if I get this correctly the difficulty should be lower..
-
DataHoarder
or more PPLNS spots
-
CzarekNakamoto[m
yeah
-
DataHoarder
multiple p2pool chains, well, each one creates custom template with outputs afaik
-
CzarekNakamoto[m
but that would possibly flood the blockchain when, let's say 20k users would need to get paid for each block
-
DataHoarder
probably nesting that won't go well due to all paying out instantly
-
DataHoarder
well, those outputs are kind of "cheap"
-
CzarekNakamoto[m
how much in bytes is one?
-
DataHoarder
when you spend them it creates more sure
-
CzarekNakamoto[m
DataHoarder: ^this
-
DataHoarder
what was it, 68 bytes?
-
DataHoarder
cannot remember exactly
-
hyc
38
-
hyc
but you're just shuffling deck chairs
-
DataHoarder
when they get spent you pay the fee and bytes indeed
-
hyc
no matter how you slice things up, you only have <your hashrate> / <total hashrate> chance of getting a payout
-
DataHoarder
which go back to miners :') so larger outputs kind of win
-
hyc
expected income of <your hashrate> / <total hashrate> * <avg block reward>
-
hyc
that doesn't change, whether you're mining on a smaller pool or a larger one
-
CzarekNakamoto[m
I think of that as a possibility to embed the miner in the monero wallet, and mine when idle on let's say laptops, it give much higher chance than solo mining
-
CzarekNakamoto[m
I think of that as of a way to get my fees back ;p
-
DataHoarder
yep, though custodial pools tend to coalesce "dust" over time then provide that over a single tx output on-chain
-
DataHoarder
so you end up with let's say, single output with 1 monero in, vs same 1 monero but across 200 outputs
-
DataHoarder
but there is no trust required
-
DataHoarder
while on custodial pool there is
-
mightysnowman
wait so whats the point of p2pool if 51% attack is possible
-
mightysnowman
had me confused a bit
-
gingeropolous
i think its a 51% attack on the p2p share chain
-
gingeropolous
is whats being discussed. regardless of the mechanism, 51% are possible on a PoW network. thats just dependent on one entity controlling a lot of hashrate
-
gingeropolous
the only way to prevent a 51% attack is to MINE! MINE WITH ALL YOU'VE GOT!
-
hyc
lol
-
hyc
true
-
hyc
sitting here wondering whether it's worth the effort to write support for mining on 2GB devices, or just forget about them and move on
-
mightysnowman
wait didnt notice it before but anyone else'
-
mightysnowman
anyone else's xmrig only spamming 'new job'
-
mightysnowman
not a single 'accepted'
-
crypto_grampy[m]
<hyc> "sitting here wondering whether..." <- Think of all the smart fridges out there
-
DataHoarder
difficulty is high mightysnowman
-
DataHoarder
you can lower it if you want to see some accepted
-
mightysnowman
ooh okay but not necessary?
-
DataHoarder
otherwise it's set for the minimum to be added to current side chain
-
DataHoarder
not necessary
-
DataHoarder
just for stats
-
mightysnowman
I set it to my old difficulty x 30 as someone here suggested
-
CzarekNakamoto[m
<gingeropolous> "the only way to prevent a 51..." <- aight, let me compile xmrig for a smart fridge
-
DataHoarder
as it will just have "share found" for the actual side chain difficulty
-
hyc
... as long as nobody blames me for their ice cream melting ...
-
crypto_grampy[m]
You know they put those horrible kuerig coffee makers into fridges now... It will just help keep the water warm
-
mightysnowman
what do different log levels show? where can I see that
-
mightysnowman
what log level to see only "share found"?
-
CzarekNakamoto[m
mightysnowman: ./p2pool | grep 'share found'
-
mightysnowman
wait what
-
mightysnowman
so it will work live?
-
DataHoarder
mightysnowman: 0
-
CzarekNakamoto[m
yeah
-
DataHoarder
-
CzarekNakamoto[m
but it's case sensitive so make sure to set it correcly
-
CzarekNakamoto[m
s/correcly/correctly/
-
DataHoarder
you can probably find all levels attached to their LOG calls
-
mightysnowman
deem discovered one thing. most of the crypto guides or whatever when talking about miners they refer to them as 'him'. makes me wonder if any women are into crypto mining
-
DataHoarder
there are
-
DataHoarder
just biased language or writers
-
DataHoarder
% might also be biased, but that I have no data on
-
hyc
not really relevant is it?
-
DataHoarder
indeed
-
hyc
studies show that in open source communities, when contributors are known to be female, they get more hassle
-
DataHoarder
^
-
hyc
they're better off not being recognized as female
-
DataHoarder
I just imagine every contributor is a naked cat, but no one else knows about it
-
jaska087
naked cat
-
DataHoarder
😸
-
jaska087
Do cats usually wear clothes :D
-
DataHoarder
the fur-less ones :)
-
hyc
those furless ones are damn ugly
-
DataHoarder
exactly!
-
jaska087
dat feel of petting loose skin
-
hyc
well, tbf, they have a layer of fuzz
-
DataHoarder
gotta take care of the oils though
-
mightysnowman
-
mightysnowman
what, why it sent message as pastebin but ok
-
DataHoarder
probably cause it was copy pasted all at once
-
DataHoarder
instead of sending multiple lines
-
mightysnowman
who designed irc
-
mightysnowman
why
-
DataHoarder
line based :)
-
DataHoarder
like most classic protocols
-
moneromooo
University of Oulu IIRC.
-
DataHoarder
but yeah clients do whatever
-
QuickBASIC
My client just spams a ton of lines if I paste multi-line stuff.
-
QuickBASIC
Like this.
-
QuickBASIC
So must be your client.
-
DataHoarder
^
-
DataHoarder
specific to each client indeed
-
DataHoarder
some web-based "for the masses" clients do that to prevent new people spamming unknowingly
-
hyc
very thoughtful
-
DataHoarder
the worst one I saw was someone copy pasted an image... and client they used pooped it out as base64-encoded
-
hyc
lol
-
DataHoarder
some 8 MiB png
-
DataHoarder
could still be reconstructed though :)
-
hyc
-
hyc
so, your p2pool payouts will be visible there
-
QuickBASIC
I can't stop laughing about the mental image of IRC scrolling crazily while it's spitting out the b64 of an image.
-
hyc
I think the freenode server would've just dropped your conn
-
hyc
I assume it was a freenode-side config
-
mightysnowman
test line1
-
mightysnowman
test line2
-
mightysnowman
test line3
-
mightysnowman
ooh I just had to change my client settings
-
QuickBASIC
I sometimes need to ask people for email headers at work to check spam filter settings, and sometimes they'll copy paste the full text of the email envelope including base64 encoded embedded images. My ticketing system doesn't like that and won't load the page because the text of the email is too long.
-
DataHoarder
hyc: private server, user got applied some throttle but kept sending it out at slower speeds
-
DataHoarder
yay more shares found for me, ... effort 395%
-
DataHoarder
was wondering if I had done anything wrong
-
QuickBASIC
Hmm... I must have more hr than I thought. Now that I fixed diff my 1 hour est is like 3.1 kH/s (a bunch of disparate devices so I've never tabulated it before.) Or I could have just been lucky last hour.
-
hyc
the estimates are still pretty far off on my side, even with fixed diff
-
hyc
no big deal
-
QuickBASIC
Yeah. My laptop+eGPU is like 1000 and my son's gaming rig is like 1400 according to xmrig and a couple of other devices so it could be close.
-
QuickBASIC
weird question, why can't I interact with p2pool (i.e. status command etc) via ssh unless I use -t on windows, but if I ssh from a Linux box I don't need -t ? (For context windows built in ssh is OpenSSH).
-
QuickBASIC
I can type commands in monerod interactively via ssh on Windows too (w/o -t) weirdly.
-
QuickBASIC
Doesn't really matter, it's just weird.
-
DataHoarder
probably cause due to env variables it knows it's a tty QuickBASIC
-
DataHoarder
while on windows it doesn't and you need to tell it
-
QuickBASIC
Ah that makes a lot of sense. Thanks DataHoarder.
-
DataHoarder
$TERM probably
-
DataHoarder
and other ways too
-
DataHoarder
which means you can just put that in your environment and not need to do so, if you know what kind of terminal you have
-
DataHoarder
small feature suggestion, have --host support hostnames instead of just ips. right now if it's a hostname it'll fail with an RPC error
-
DataHoarder
"fixed" it for now on container setup via --host "$(getent hosts monero | awk '{print $1}')"
-
mightysnowman
2021-09-06 16:56:56.8483 SideChain add_external_block: block a79648fdfebbf0214eaf092e6ab6ba324d24ffd1f1a3293f303bf21bfdfe2030 has enough PoW for Monero network, submitting it
-
mightysnowman
2021-09-06 16:56:56.8485 P2Pool submit_block: height = 2443566, external blob (6297 bytes)
-
mightysnowman
2021-09-06 16:57:03.2219 P2Pool BLOCK FOUND: main chain block at height 2443566 was mined by this p2pool
-
mightysnowman
-----------------------------------------------------------------------------------------------
-
mightysnowman
| ###### # ####### ##### # # ####### ####### # # # # ###### |
-
mightysnowman
| # # # # # # # # # # # # # # ## # # # |
-
mightysnowman
| # # # # # # # # # # # # # # # # # # |
-
mightysnowman
| ###### # # # # ### ##### # # # # # # # # # |
-
mightysnowman
| # # # # # # # # # # # # # # # # # # |
-
mightysnowman
| # # # # # # # # # # # # # # # ## # # |
-
mightysnowman
| ###### ####### ####### ##### # # # ####### ##### # # ###### |
-
mightysnowman
-----------------------------------------------------------------------------------------------
-
mightysnowman
2021-09-06 16:57:03.3969 P2Pool submit_block: BLOCK ACCEPTED at height 2443566 and difficulty = 332695066894
-
mightysnowman
what does this mean?
-
DataHoarder
aaah I missed the new block!
-
DataHoarder
it means new block was found by p2pool mightysnowman
-
mightysnowman
yeah okay makes sense
-
DataHoarder
and please use a paste site next time :)
-
mightysnowman
for a second I was hoping I got reward or something
-
DataHoarder
> use a pastebin for multi-line messages, paste.debian.net
-
DataHoarder
-
mightysnowman
No incoming connections - check firewalls/routers allow port 18080
-
mightysnowman
also I keep getting this?
-
mightysnowman
but p2pool seems to be working
-
DataHoarder
monerod right?
-
DataHoarder
that means it's only using outgoing connections
-
mightysnowman
should I be concerned or its fine
-
mightysnowman
monerod yeah
-
DataHoarder
it tends to sync better and faster with both outgoing and incoming
-
DataHoarder
you know, for getting new blocks faster
-
mightysnowman
hm okay but my internet is behind isp's nat
-
mightysnowman
so there cant be incoming connections?
-
DataHoarder
oh, one of those ISPs, ugh
-
DataHoarder
CGNAT?
-
mightysnowman
no im in eu
-
mightysnowman
wait
-
DataHoarder
?
-
mightysnowman
idk
-
mightysnowman
all I know is that I cant host services, have tried it
-
DataHoarder
it should still work, keep an eye on it not getting new blocks for a while
-
DataHoarder
add well known nodes, as mentioned before
-
mightysnowman
how to add them?
-
DataHoarder
can add --add-priority-node node.supportxmr.com:18080
-
DataHoarder
so it stays connected to them
-
DataHoarder
to monerod commmand
-
DataHoarder
there are more out there if wanted
-
mightysnowman
how can i add more
-
DataHoarder
more get added from peer lists and discovery, otherwise you can keep adding more --add-priority-node
-
QuickBASIC
Do any of the block explorers show the extra coinbases yet, or not until new monerod version with changes?
xmrchain.net/block/2443566
-
DataHoarder
click on transaction hash QuickBASIC
-
QuickBASIC
Oh wow. Thanks yeah I see it now.
-
QuickBASIC
Wow last block someone got 97.18%
-
QuickBASIC
of the reward. Jeez.
-
QuickBASIC
Someone is mining with 20+ Mh/s?
-
mightysnowman
some pool owner directed their rigs to p2pool
-
DataHoarder
QuickBASIC: xmrvsbeast, they are forwarding hashrate from their pool till they close in favor of p2pool
-
QuickBASIC
Yeah, but p2pool hr has been pretty steady for last 4 days around 30 MH/s, did the start a few days ago?
-
hyc
yes
-
QuickBASIC
AH
-
QuickBASIC
Sorry, I'm a bit slow on the pickup.
-
mxcl
Spending 7 hours partially syncing the blockchain seems a blocker to general adoption of p2pool over general pools
-
DataHoarder
you get the plus of doing your own transaction selection :)
-
DataHoarder
but yeah pools did the selection and running/syncing the node for you
-
DataHoarder
afaik the expensive part here is making the template and why there is a custom node required right?
-
DataHoarder
otherwise you could connect to remote ones
-
sech1
it's possible to point p2pool node to someone else's monerod
-
sech1
also, pruned node syncs faster
-
DataHoarder
^ got a pruned node to sync yesterday
-
DataHoarder
still, 38-39 GiB after the whole pruned sync
-
DataHoarder
I do see the "point and forget" style pool mentality
-
DataHoarder
and the "upside" of not having to run your own node is the drawback of them
-
DataHoarder
but yeah, pointing elsewhere should be fine, once there is no need for a custom patch right?
-
sech1
public nodes are usually slow
-
sech1
it's fine for wallet sync, but it destroys mining performance
-
DataHoarder
not specifically public but "someone else's" like a friend group
-
DataHoarder
oh, new block
-
DataHoarder
-
sech1
two blocks
-
sech1
2443601 too
-
jaska087
ayup
-
jaska087
first time getting paid for 3 blocks
-
sech1
that's a compensation from the luck gods for the orphan block earlier today
-
DataHoarder
oh, I did not see any messages on logs for 2443601
-
sech1
my node did
-
sech1
otherwise it wouldn't be visible on p2pool.io
-
DataHoarder
seems like it was received first as "new miner data"
-
DataHoarder
then 2443602 was also mined
-
DataHoarder
then SideChain updated for 2443602 h55022 and sidechain updated for 2443601 h55021
-
DataHoarder
ordering issue?
-
DataHoarder
-
sech1
2443601 was very close to 2443602, but it came ~1 second before on my node
-
DataHoarder
-
DataHoarder
for latest that got a notification
-
sech1
so you got notification from monerod before you got p2pool block, this is why your node didn't see it
-
DataHoarder
yep
-
DataHoarder
too well connected?
-
QuickBASIC
do I have to run set refresh-type full every time I open the wallet or just the first time?
-
sech1
only once
-
QuickBASIC
ty
-
sech1
it's saved in the wallet file
-
sech1
or just use wallet from v0.17.2.3 release
-
QuickBASIC
Oh, I thought it wasn't in that release or is it the zmq stuff?
-
QuickBASIC
Sorry what I mean is, what part of p2pool compatibility is pending the next official release?
-
sech1
zmq stuff
-
QuickBASIC
Ah okay. Cool. Thank you always sech1
-
sech1
monerujo already updated, it should be fine
-
QuickBASIC
Nice. I don't prefer the GUI of monerujo, but maybe it's better since I last used it. I've gotten used to cli wallet because I used to play Minko.to and needed to send mutliple outputs per transaction.
-
sech1
yep, synced my miner wallet on monerujo and it saw all payouts
-
QuickBASIC
Yeah I'm installing it. I pasted my Test Wallet seed in Google Keep so I can open the wallet lol. I dare google to steal my $0.38.
-
abberant[m]
Is there any benefit to private p2pools over the default one?
-
jaska087
more decentralization?
-
jaska087
though that little payments you get from the default sidechain will take hella alot longer
-
DataHoarder
QuickBASIC:
monero-project/monero #7894 this got merged on v0.17.2.3
-
DataHoarder
abberant[m]: a group of friends can just make their own little one if they want, without connecting to main one
-
DataHoarder
they *can*
-
DataHoarder
it doesn't share info with the public one, if that is a benefit
-
DataHoarder
other PR pending seems to be
monero-project/monero #7891
-
Tonux
Could it be implemented that status for StratumServer saves the current effort when p2pool is restarted?
-
QuickBASIC
p2pool.log is huge... can someone share me an example of their logrotate config for p2pool? I'm trying to read the man page and... yeah.
-
jaska087
what was the default loglevel for p2pool?
-
DataHoarder
4
-
jaska087
thx
-
QuickBASIC
I think I got it. Using
paste.debian.net/1210689. service is running as monero user so it ends up there. Does this look okay?
-
abberant[m]
<DataHoarder> "abberant: a group of friends can..." <- figured it wasn't very practical besides privacy for addresses, due to the infrequency of payouts. thanks for confirming.
-
QuickBASIC
Depends on who your friends are. ;-P
-
abberant[m]
true lol
-
abberant[m]
well I'm sure I'll run into the problem later, I'm thinking of getting all my normie friends to mine on this. is there any way for them to use my node instead of running their own and me being able to tell who to pay what if there isn't an easier way? I'm assuming the only way would be to run a node for each of their addresses individually.
-
DataHoarder
you can start several p2pool instances abberant[m]
-
DataHoarder
then share a node for all them
-
abberant[m]
Thanks that makes sense, but arnt p2pool instances not nodes themselves if I want to be picky about terminology?
-
QuickBASIC
No he's saying run several instances of p2pool, but they all use the same Monero node.
-
abberant[m]
I should be asking these after I try to get it running so sorry about that
-
DataHoarder
well yes, they can run it themselves and connect to your monerod node if that's the heavy part
-
DataHoarder
you can either have them run everything
-
abberant[m]
ok, the p2pool things are light, thats the answer I was looking for
-
DataHoarder
you run monerod and they run p2pool
-
DataHoarder
or you run all, but as of this moment, you run multiple p2pool instances, one per payout addr
-
abberant[m]
sweet
-
abberant[m]
thanks for the help
-
hyc
my logrotate config is simple:
-
hyc
/home/software/p2pool/build/p2pool.log
-
hyc
{
-
hyc
rotate 7
-
hyc
daily
-
hyc
missingok
-
hyc
}
-
hyc
put that in a file /etc/logrotate.d/p2pool and forget about it
-
QuickBASIC
Thanks hyc.
-
abberant[m]
DataHoarder: QuickBASIC
-
abberant[m]
I'm reading the github page for setting this up, and it looks like all the configuration including the payout address is done in the p2pool instance and I would need a way to route my friends to their own instances on my machine somehow. My first thought is to just change the port on each of them, got input?
-
DataHoarder
just different ports yes
-
DataHoarder
you could do some custom spawning new instances based on payout address, but meh
-
abberant[m]
👍️
-
DataHoarder
KISS :)
-
abberant[m]
DataHoarder: yeah, I'm not smart enough for that yet so ports it is :/
-
abberant[m]
otherwise that sounds like the best idea
-
DataHoarder
hmm, I need to look a bit more into p2pool code
-
DataHoarder
probably not today
-
abberant[m]
I mine on my node with the spare cpu power with nice values, im about to just make like 12 screen sessions for each of those ports, this might be a pain if this thing crashes :/
-
abberant[m]
I'm trying to avoid looking into systemd services
-
DataHoarder
while [[ 1 ]]; do ./p2pool ... && sleep 5; done
-
DataHoarder
lazy restart :)
-
DataHoarder
probably look at services and similar
-
abberant[m]
I mean if the whole machine goes down
-
DataHoarder
startup script?
-
DataHoarder
I'm going to clean up the docker-compose setup a bit more and post it out so others can use it soon
-
abberant[m]
I have been putting off docker for so long
-
DataHoarder
docker / podman etc.
-
DataHoarder
playing with tor a bit at the moment, seeing if I can make it cooperate well enough with p2pool
-
abberant[m]
is it worth to learn and containerize all my stuff? I've been doing all this as a hobby for years now but I'll be able to be employed for this stuff soon
-
DataHoarder
all? probably not
-
abberant[m]
I'm probably most interested in docker for tor
-
DataHoarder
makes sense to have them when they are tightly integrated
-
abberant[m]
DataHoarder: well not all, but where it makes sense I mean
-
abberant[m]
I still don't understand containerization completely, seems like the main benefits are in deployment and security
-
abberant[m]
both are not much of a concern as a hobbyist with home servers
-
DataHoarder
aye, and gets you, if properly setup, a system you can transfer across multiple places or clone easily
-
DataHoarder
as the bringup/compile/configuration/placement/network interconnects are all defined there
-
abberant[m]
are they used like qubes as well?
-
DataHoarder
like, let's say you want to do this again on another machine or update
-
DataHoarder
once you set it up once it's easier
-
sech1
running 12 p2pool instances on the same machine is a bad idea
-
DataHoarder
^ unless you got memory
-
DataHoarder
randomx allocation right?
-
DataHoarder
it did require the hugepages, had to map them into docker
-
abberant[m]
only got 16 gigs, that might be the dream killer
-
DataHoarder
there is the light mode command line parameter, but haven't checked if that works well enough
-
sech1
there's also a restriction of 1 connection from the same IP
-
sech1
other p2pool nodes will not allow 12 connections from the same IP
-
abberant[m]
sech1: so only one miner can be connected to one node at a time without proxy?
-
DataHoarder
aha
-
sech1
your friends should really run their p2pool instances, they can point them to your monerod
-
DataHoarder
hmm, you could have a single node you control that has the limit removed
-
DataHoarder
then you join more to it locally :')
-
DataHoarder
but yes of the three options 2nd was you run monerod node, they run p2pool and point towards you
-
DataHoarder
do note it doesn't do domains on --host
-
DataHoarder
(yet!)
-
abberant[m]
sech1: I assume its pretty easy to run an instance with their miners? since they do it half the time on gaming machines
-
sech1
change monerod command line to "--rpc-bind-ip 0.0.0.0 --confirm-external-bind --zmq-pub tcp://0.0.0.0:18083" and open port 18083 also to make it possible
-
sech1
you just need to give them command line to run p2pool
-
DataHoarder
18081+18083
-
abberant[m]
I make batch scripts to open all their stuff, so that doesnt sound too bad
-
abberant[m]
I guess I'll try and go that route
-
sech1
and also add "--restricted-rpc" to monerod command line, unless you open ports only to your friends's IPs
-
abberant[m]
whats zmq? just like a more advanced rpc for interacting with nodes? I assume p2pool uses some fancy stuff that would need that
-
sech1
-
abberant[m]
sech1: yeah, I also password protect it
-
sech1
password protect monero rpc?
-
QuickBASIC
Just keep in mind, they'll need to run xmrig as admin on Windows for performance reasons, but you don't probably want them to run p2pool as admin, so a single batch might not be great.
-
abberant[m]
sech1: my node...?
-
abberant[m]
QuickBASIC: why not p2pool as admin out of curiosity, otherwise good to know
-
DataHoarder
run it with the least amount of privileges necessary
-
abberant[m]
also I just want to mention that I appreciate the charity from you guys, I love learning about this stuff
-
abberant[m]
DataHoarder: I suppose this is always good advice, especially for a beta project
-
DataHoarder
hmm my last 7 pool shares all have had 100.00% effort, the three before that were 8.465%, 64.387%, 284.344%
-
DataHoarder
like, exactly 100.00%
-
QuickBASIC
abberant[m] it's untested software. What if a bug deletes your %appdata% or something.
-
QuickBASIC
Same reason sech1 said run as alt user on Linux.
-
abberant[m]
DataHoarder: rare
-
DataHoarder
very basic and quick Dockerfile for p2pool btw
paste.debian.net/1210709
-
DataHoarder
can specify ref for commit to build from p2pool repo, then you run it with your parameters
-
DataHoarder
you might need to pass as a volume something for /p2pool/data and hugepages mount
-
DataHoarder
don't recommend it over just cloning and compiling the repo, it's more complex via docker atm
-
DataHoarder
I threw this on a cluster, in a VM, inside docker, on a different VLAN for itself
-
DataHoarder
no need to trust it :)
-
DataHoarder
just works(tm)
-
DataHoarder
but yes still wondering about all those 100.00% shares
-
DataHoarder
oh, new share, 100.00% too (though the time between them definitely varies, so that % is not correct, given it's already a guess)
-
sech1
if you're not using custom diff for miners, it will always be 100%
-
DataHoarder
aha!
-
sech1
your miners need to submit lower diff shares for more fine-grained counting of %
-
DataHoarder
was using it before, then switched to counting that on xmrig-proxy side
-
DataHoarder
well this is on a roll, shouldn't be getting as many shares as this but in the last hour I have gotten more shares than in the last day
-
DataHoarder
and yep, difficulty is proper
-
DataHoarder
lucky
-
sech1
do they show up in "status" command?
-
DataHoarder
cannot get to there with current setup, but they got added to side chain and others are building on top of it
-
DataHoarder
I'm now just waiting for a block that will never come
-
DataHoarder
too much luck, it'll probably even out by going by 2160 sidechain blocks without finding anything
-
DataHoarder
hmm, there is no way to query p2pool except by cli correct, no api implemented for it
-
QuickBASIC
I've just been running p2pool in screen so I can ssh in and run status.
-
xmrpow
Finally I managed to move my hashrate to p2ppool. Yay :) That's rly cool what you have done there sech1! Somehow a dream coming true... Thank you very much for the work and effort you put into this project!!!
-
DataHoarder
^ it's good stuff :)
-
xmrpow
It is :)
-
DataHoarder
oh, nice! this is a fix for the ordering issue that did not report the block
SChernykh/p2pool 899d5a8