-
gingeropolous
anyone know how to bug
miningpoolstats.stream/monero to get p2pool in there?
-
QuickBASIC
If you want huge pages in WSL, you need to upgrade to WSL2.
-
QuickBASIC
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
-
QuickBASIC
wsl --set-default-version 2
-
QuickBASIC
Still don't recommend it at this point since you can compile for Windows now.
-
XvB
for
miningpoolstats.stream/monero they have a submit form at the bottom
-
QuickBASIC
XvB: "for
miningpoolstats.stream/monero they have a submit form at the bottom" gingeropolous I put the pool api url in there days ago.
-
gingeropolous
squeaky wheel
-
gingeropolous
ah. "It will be manually verified and added to the list if public API can be identified."
-
XvB
xmrvsbeast.com/stats_mod this is the api syntax the site expects, anything else and they will have to manually adjust to make it work properly
-
gingeropolous
okay, so i (or someone) has to press buttons to make
p2pool.io/api/pool/stats looks like
xmrvsbeast.com/stats_mod
-
gingeropolous
in the githubs
-
gingeropolous
well wait. i dunno.
-
XvB
well if you submit a new pool with the expected api syntax it will get added quickly, otherwise not so quickly
-
gingeropolous
ah.
-
XvB
we do need p2pool represented there, want to see it climb to the top :)
-
nioc
I imagine there will be more than 1 instance of a p2pool
-
XvB
If multiple wallet address per instance is supported then we might see others pop up
-
abberant[m]
does p2pool need custom daemon/wallet software? or can I just use the regular ones
-
abberant[m]
I'm trying to troubleshoot "JSONRPCRequest failed to parse response, result = 24" after trying to connect to my AUR monerod with both AUR p2pool and compiled on windows
-
nioc
yes custom monerod as per instructions linked at top of page
-
nioc
disclaimer: I have not attempted to run p2pool cause I am clueless
-
XvB
-
abberant[m]
and I assume there isnt an AUR package for that like there is with p2pool-git... unless its part of it
-
XvB
no, it is just p2pool, you will have to build monerod yourself, at this point
-
abberant[m]
so the aur package only does half the work, rip
-
karce[m]
I made the AUR package BTW. If you have questions I can answer them.
-
karce[m]
Yes it is only the p2pool part.
-
XvB
pacman -S monerod cmake boost unbound gtest ccache doxygen graphviz qt5-tools
-
XvB
will give you everything you need to compile monerod
-
karce[m]
abberant: the only other part that needs doing is the special build of monerod.
-
XvB
just follow the instructions on the p2pool github
-
karce[m]
You can pull xmrig from AUR as well.
-
abberant[m]
alright, I installed the dependencies XvB listed except for monerod cause it didnt exist, I have the monerod package since it doesnt exist, but I have the monero package so I figured it'd be fine, then I followed the rest of the steps and it looks like the compiling finished but there was some "Error" stuff even after trying to troubleshoot with resyncing dependencies and other small things, I can't seem to find where monerod would be
-
abberant[m]
assuming it finished and didn't break
-
XvB
sorry should be monero not monerod
-
XvB
pulls in the release plus more libs you will need
-
abberant[m]
in build/Linux/p2pool-api-v0.17/release/bin I got most of the executables but not monerod
-
XvB
so it is pacman -S monero cmake boost unbound gtest ccache doxygen graphviz qt5-tools
-
abberant[m]
yep, got all those
-
XvB
make sure you follow the monerod build steps exactly as on the p2pool github page
-
karce[m]
Under the ubuntu section for monerod
-
abberant[m]
"Warning: Could not load "/usr/lib/graphviz/libgvplugin_gdk.so.6" - It was found, so perhaps one of its dependents was not. Try ldd."
-
abberant[m]
I get this with graphviz, it a concern?
-
karce[m]
Looks like it
-
XvB
then monerod is under ../monero/build/Linux/p2pool-api-v0.17/release/bin
-
abberant[m]
XvB: yeah, it was missing in there so there must be another issue
-
abberant[m]
some old form post says to try installing gtk2 and it fixed it so gonna try to rebuild
-
XvB
you should delete the monero git repo you have and clone fresh
-
abberant[m]
yep
-
XvB
-
XvB
sorry, git clone --recursive
github.com/SChernykh/monero
-
XvB
will not build properly unless exact steps used
-
abberant[m]
I'm following the steps under "monerod binary compatible with p2pool:" under ubuntu, after installing the dependencies ofc
-
XvB
ok
-
karce[m]
I just did this on Arch 2 days ago but looks like submodules were added since then so maybe I should retry it.
-
XvB
what about making a pkg for p2pool-monerod? people are having issues with building it
-
abberant[m]
now "monero/build/Linux/p2pool-api-v0.17/release/bin" is empty :/
-
abberant[m]
same looking errors after compile
-
karce[m]
How long do you think it would take for sech1's changes to be merged and released in mainline monerod?
-
XvB
it might take months for a new monerro release that includes the changes
-
XvB
I thought it would all be included in the latest... but no luck on that
-
karce[m]
Give me a minute and let me test to see if I get the same issues. I'll consider making another package.
-
abberant[m]
that would be convenient for updating
-
abberant[m]
I appreciate all of your help btw
-
XvB
or deploying new nodes
-
XvB
np, we need more miners on p2pool and it will not happen if it take 5 hours to set it up
-
abberant[m]
are multiple block reward addresses a new thing? I assume thats why only gui/cli and monerujo support them?
-
karce[m]
Ok I just built monerod again and it worked for me. "ls build/Linux/p2pool-api-v0.17/release/bin/" shows all the correct binaries.
-
karce[m]
I'm guessing you might still be missing some dependency.
-
abberant[m]
same
-
karce[m]
I'm searching to see if I can find anything.
-
abberant[m]
I can try going through the ubuntu dependencies and see if I have the equivalents
-
karce[m]
I'm going to try making an AUR package for sech1's monerod to see if I can find out the full list of depends here. That way I can build it in clean chroot's that don't link back to my system libraries.
-
abberant[m]
awesome
-
karce[m]
If it works I'll share it or at least give you the full dependency list so you should be able to build it.
-
abberant[m]
keep me updated if you remember, thanks again for your community service ๐๏ธ
-
karce[m]
no problemo!
-
karce[m]
Were you able to install p2pool with p2pool-git aur package ok abberant ?
-
abberant[m]
yeah, I didn't have a node to connect it to obviously but it seemed fine and functioned the same as my compile on windows
-
karce[m]
Ok cool. I just wanted to make sure that one worked too. I think you are the first one to test it/build it besides myself so I'm glad to hear it.
-
abberant[m]
gotta love the aur ๐
-
karce[m]
If you haven't heard of the "paru" tool on aur you should look into it. Really really good.
-
karce[m]
Makes installing anything a breeze.
-
abberant[m]
wasnt paru featured on dt or something?
-
abberant[m]
I've stuck with yay, but I'd honestly rather use a rust program than go
-
abberant[m]
I'll try it out either way
-
karce[m]
"yay -S paru" I think should work. But I haven't used yay in so long I don't remember.
-
abberant[m]
can you remove the binaries after makepkg?
-
karce[m]
I think paru has cleanup commands. But it keeps a cache around for building later.
-
abberant[m]
so does yay, but I usually clear cache for ocd :(
-
abberant[m]
well assuming its functionally similar if not better than yay I'm gonna switch to paru cause I hate that go dependency and I actually use rust
-
abberant[m]
good tip
-
karce[m]
Yup it has been featured on the Rust and Archlinux subreddits before. That's how I learned of it.
-
QuickBASIC
abberant[m]: "are multiple block reward addresses a new thing? I assume thats why only gui/cli and monerujo support them?" early transactions used to be broken up into certain equal denominations before RingCT was implemented in order to make transactions less easy to identify by amount. At that time, coinbase transactions regularly had multiple outputs. At some point a change was made that causes wallets to only scan for
-
QuickBASIC
the first coinbase output and so the node change only reverts that change.
-
abberant[m]
cool, thanks
-
QuickBASIC
Look at block 1024's coinbase for example:
-
QuickBASIC
-
QuickBASIC
(any block from that time period is fine. I just picked a nice round number.)
-
abberant[m]
I learned something new
-
karce[m]
Have you installed base-devel, abberant ? I'm just running through different options here. I don't know if this is it.
-
abberant[m]
looks like it
-
abberant[m]
abberant[m]: meaning yes, I did have it, or at least It said I was reinstalling all of the packages I could see so
-
abberant[m]
I'll try rebuilding again in a bit for fun since I screwed around with package syncing cause paru
-
karce[m]
Mine is building successfully even using a new PKGBUILD, but I'm not sure why it is working. I don't think I included all of the dependencies.
-
karce[m]
I'm guessing the submodules include dependencies it needs.
-
karce[m]
I'm getting off for the night but I'll be back on later. If you happen to still need help I can try and come up with something. Maybe another aur package would be helpful just to remove these types of variables.
-
abberant[m]
alright
-
abberant[m]
karce: It compiled successfully on one of my other home servers, I just scp'd the bin and gonna try and use those for the time being, hope it wont break
-
abberant[m]
the other server had a very similar setup excluding hardware
-
abberant[m]
also I can't compile p2pool manually either but aur works
-
abberant[m]
after more inspection it looks like I'm missing a lib called gss, I remember seeing that in ubuntu packages but can't find arch equivalent
-
abberant[m]
"/usr/bin/ld: cannot find -lgss" << determined from this, trying to read into it more, looks like stuff with gcc and linkers that I have no clue about
-
gingeropolous
PPLNS window = 2160 blocks (+90 uncles, 10 orphans)
-
gingeropolous
damn
-
gingeropolous
3 gh/s again
-
crypto_grampy[m]
can you guys ease up a bit? i'm still stacking over here
-
XvB
libgss, required for p2pool is not in arch repo nor in aur
-
XvB
-
XvB
extract, run ./configure && make && sudo make install
-
XvB
echo "export LD_LIBRARY_PATH=/usr/local/lib" >> ~/.bashrc && source ~/.bashrc
-
abberant[m]
well I shouldnt have to worry about it with the p2pool aur package, I spent time trying to remedy that only to find out that its not the same issue with the monerod compile :/
-
abberant[m]
monerod didnt compile on my old amd system either, I don't have a large enough sample size to determine if it has something to do with hardware or software
-
abberant[m]
and the xmrig wouldnt connect to my p2pool connected to my monerod, but I assume thats a seperate issue
-
abberant[m]
all of it is just... a tangle
-
abberant[m]
woah did I just get monerod to compile on the main system?
-
abberant[m]
I didn't even do anything, this is adding to the confusion........
-
XvB
if oyu have less than 4gb ram compile monerod with make -j1 instead of the -j$(nproc)
-
abberant[m]
all the machines have plenty
-
abberant[m]
JSONRPCRequest failed to parse response, result = 24
-
abberant[m]
^ p2pool giving this tho
-
XvB
you sure you are running the correct monerod? make sure the version is v0.17.2.3-9c82593b5
-
XvB
what is your p2pool command line
-
abberant[m]
yes its the correct monerod
-
abberant[m]
XvB: the default
-
abberant[m]
p2pool --host 127.0.0.1 --rpc-port 18081 --zmq-port 18083 --wallet YOUR_WALLET_ADDRESS --stratum 0.0.0.0:3333 --p2p 0.0.0.0:37889 --addpeers 65.21.227.114:37889
-
abberant[m]
except with my wallet in
-
abberant[m]
I've also tried with the host being my external ip, I've port forwarded 18080, 18081, 18083, and 37889 for testing
-
abberant[m]
and done the startup thingy with minimal options like just my wallet address and just wallet/stratum/p2p since I think the rest are defaults
-
abberant[m]
and my firewall is disabled for testing
-
abberant[m]
using the custom daemon, aur p2pool, and xmrig git from aur, which also doesnt connect to the p2pool node if you couldnt guess
-
XvB
and you are starting monerod with ./monerod --zmq-pub tcp://127.0.0.1:18083 ?
-
abberant[m]
yes, but I just found that out a few minutes ago and need to try port forwarding 18083 again just in case
-
abberant[m]
yeah, doesn't seem to be helping
-
XvB
are you doing all of this on the same machine? or connecting to different one for monerod?
-
abberant[m]
same machine
-
abberant[m]
I ssh in and use screens
-
XvB
not sure then, everything looks OK, the only thing that might be messed up is the p2pool aur, I have not tried to use it yet
-
abberant[m]
oo
-
abberant[m]
I do have a username and password on the node actually
-
abberant[m]
let me try to disable that
-
abberant[m]
ok console is being spammed I assume its syncing now ๐
-
abberant[m]
I would say that was a dumb mistake if it wasnt hidden between like 10 other problems
-
abberant[m]
any way to login to the node with p2pool yet, probably not
-
XvB
not sure, but doubt it
-
abberant[m]
do you know which ports I need input/output? otherwise I'll figure it out myself
-
XvB
18080 and 37889
-
abberant[m]
is 37889 tcp in and out I assume?
-
XvB
yes
-
sech1
I've added
p2pool.io/api/stats_mod just like xmrvsbeast has and submitted the url to
miningpoolstats.stream/monero
-
mandelbug
Hmm, not sure what's happened with mine, I have updated to latest version (git pull, make), I can see it indicates in my log
-
mandelbug
2021-09-08 08:14:47.6770 StratumServer SHARE FOUND: mainchain height 2444780, diff 100000, effort 100.001%
-
mandelbug
but my status reads
-
mandelbug
SideChain status
-
mandelbug
Main chain height = 2444782
-
mandelbug
Main chain hashrate = 2.917 GH/s
-
mandelbug
Side chain height = 68717
-
mandelbug
Side chain hashrate = 40.671 MH/s
-
mandelbug
PPLNS window = 2160 blocks (+86 uncles, 0 orphans)
-
mandelbug
Your shares = 0 blocks (+0 uncles, 0 orphans)
-
mandelbug
Block reward share = 0.000% (0.000000000000 XMR)
-
mandelbug
I was getting a fairly regular payout with 2 on 03, 1 on 04, 3 on 05 and 5 on 06 but suddenly seems to have stopped, with nothing yesterday
-
sech1
share with diff 100000 can be discarded, it's not a real one
-
sech1
these shares get found when you restart p2pool node and it's not synced yet
-
mandelbug
ah OK, fair enough
-
DataHoarder
current seed list on seeds.p2pool.io are 65.21.227.114, 168.119.137.28
-
DataHoarder
nice to have more than one seed now and a way to update them
-
sech1
The seeds can only be used for default sidechain
-
sech1
Also they must use default port 37889 and have it open
-
sech1
and have a fast Internet connection
-
DataHoarder
yup, saw
-
DataHoarder
hopefully also static ips :)
-
sech1
the second seed is from xmrig
-
DataHoarder
oh? nice
-
sech1
if someone else here hosts a fast node in a datacenter, I can add it
-
DataHoarder
thinking about it, have two running already on a cluster but they don't have the ability to open ports
-
DataHoarder
I'll get back once a third one is setup
-
mightysnowman
where can I see the current monero tx fee?
-
DataHoarder
for the pool or what you transact?
-
mightysnowman
transaction
-
sech1
xmrchain.net
-
sech1
Fee per byte: 0.000000005821
-
sech1
If you combine multiple p2pool payouts together (N inputs/2 outputs tx), the resulting tx will use ~512 bytes per input, fee will be 0.8% of your mined funds in the worst case (all payouts are ~0.0004 XMR)
-
sech1
if you move just one 0.0004 XMR payout, fee will be ~2%. But I don't see a point of moving such small amount.
-
sech1
if you get bigger payouts on average, fees will be proportionally smaller %
-
sech1
p2pool payouts themselves have 0 XMR fee
-
mightysnowman
but I cant controll the payout right?
-
sech1
No
-
XvB
if anyone needs a monerod node compat with p2pool, p2pmd.xmrvsbeast.com
-
sech1
XvB
p2pool.io/api/stats_mod does it look correct?
-
sech1
how long until miningpoolstats adds it?
-
XvB
Like 2 days I think
-
sech1
"automated" my ass
-
sech1
they should have FAQ for pool admins, with API examples
-
XvB
I just looked at one of the existing pools stats pages and copied
-
XvB
when the pools are offline or not responding it the site shows what api url is being used
-
DataHoarder
heh, we are at 42 MH/s
-
mightysnowman
its funny to see new miners crying about the xmrig minimum 1% fee and telling us that they won't join monero and tell us to go to nice places
-
DataHoarder
you can compile it yourself and put it to 0%, and just donate whenever you like to the devs
-
mightysnowman
its too conventient to download the pre-built binaries
-
sech1
XvB well, I copied supportxmr API because I know their API url, but it didn't help
-
mightysnowman
wait what, gminer and cryptodredge arent open-source?
-
sech1
almost every miner is not open-source
-
mightysnowman
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
-
mightysnowman
okay that im mad about, the forced 1% fee
-
mightysnowman
I'll have to learn binary reverse-engineering then and remove it that way
-
DataHoarder
you can kind of get around it by some /etc/hosts manipulation to forward fee host to yourself :)
-
mightysnowman
ah yes, the trickster
-
mightysnowman
also how can i use this site?
workers.xmrig.info
-
mightysnowman
what attribute i need to pass to xmrig
-
DataHoarder
you need to add workers there via what you configure on xmrig
-
DataHoarder
port to bind to for api, and access token if you provided one mightysnowman
-
DataHoarder
-
DataHoarder
probably also need --http-no-restricted
-
mightysnowman
how to generate the token for it
-
mightysnowman
config doesnt specify anything about it but random gibberish in the config as token gives errors
-
DataHoarder
mightysnowman: set anything random?
-
DataHoarder
here have one, randomness as a service mightysnowman : f50rPvRnOLQpqdDIftbCLaqkOSnYl8Z6udK0yTH9PvLSP4CqBr8Akm28t4QT6KN
-
DataHoarder
would recommend you generate your own
-
mightysnowman
oh deem nvm, I was missing " " xd
-
mightysnowman
the token wasnt the problem
-
DataHoarder
XvB: might use that node as a test, thanks
-
XvB
sure, that is why I put it up ;)
-
DataHoarder
got a few of my own but bootstraping new nodes takes a bit
-
mightysnowman
2021-09-08 10:12:06.319 E Transaction spends at least one output which is too young
-
mightysnowman
wat is this daemon log
-
DataHoarder
just checks working proper
-
DataHoarder
it's related to transactions in monero mempool
-
mightysnowman
how long does it take for the miners amount on p2pool site to update
-
mightysnowman
was going to check if im properly connected by checking the p2pool worker count increasing
-
DataHoarder
I believe that depends on different shares in current PPLNS threshold mightysnowman
-
mightysnowman
oh okay
-
XvB
nice, super low effort block 2444888
-
DataHoarder
0.35% nice
-
DataHoarder
last lowest was 3.60%
-
DataHoarder
wait, 20m, 3m, 2m ago?
-
DataHoarder
three nice blocks
-
XvB
was 2444888 actually accepted?
-
XvB
I am seeing: P2Pool submit_block: daemon returned error: 'unknown error', template id = 0, nonce = 0, extra_nonce = 0
-
DataHoarder
no :(
-
DataHoarder
it was ee4110829b5422ec8d49be1357cb6aefd6094887c2642090443d3cb4e83cf870
-
DataHoarder
-
DataHoarder
no nvm
-
DataHoarder
yes
-
XvB
lol
-
DataHoarder
got wrong hash
-
mightysnowman
is p2pool paying off for people with like under 10kh/s?
-
DataHoarder
it should average out at same payment rate as a pool
-
sech1
2444888 seems to be fine
-
XvB
p2pool.io is showing wrong hash for block 2444888 ?
-
XvB
should be 90c511bccf92dd47a345ac33ba60828bd4efb9f5a7167fbe7086e9219c87b752 I think
-
sech1
4d894506da72cfa8de4a2f806edb8af977ca6eb384e47a86d41f45e3315b556f
-
sech1
check on xmrchain.net
-
XvB
oh sorry that the tx hash
-
sech1
is anyone with Apple M1 here?
-
karce[m]
abberant: Good to hear you were able to compile. I removed libgss from the AUR package cmakelist because arch doesn't have it, or maybe it does with libgssglue. Didn't seem to affect the build though. I should have probably remembered that.
-
XvB
"No. Brew doesnโt like M1 Macs." someone stated in xvb subreddit
-
XvB
-
sech1
-
sech1
someone at least built it successfully
-
XvB
oh ok
-
sech1
but RandomX needs fixing. xmrig fixed it long time ago, but there are too many differences to just copy-paste the fix
-
sech1
and I don't have M1 to test
-
sech1
I think hyc compiled it on M1 too but he had other problems with it
-
karce[m]
He was getting a lot of rejects.
-
XvB
Peer list size = 61, people connecting but not mining...
-
DataHoarder
hmm? connecting to monerod or p2pool
-
XvB
p2pool
-
DataHoarder
Peer list size = 60
-
DataHoarder
new SideChain blocks are coming
-
DataHoarder
ohh
-
DataHoarder
that's quite a few blocks mined in a short period
-
DataHoarder
once every 2-5s
-
CzarekNakamoto[m
I have not found a single share in 2 days :( the diff is killing me
-
mandelbug
Set a manual diff
-
DataHoarder
won't do mandelbug
-
DataHoarder
difficulty of side chain cannot be changed
-
DataHoarder
will still not find shares
-
DataHoarder
what is your expected "solo mining" time CzarekNakamoto[m
-
mandelbug
I set my diff in xmrig and am finding shares. used HR*30 to calculate
-
DataHoarder
take that and divide by 2160, that should more or less be your expected average time
-
sech1
2.5 days with 2 kh/s
-
sech1
to find a pool share
-
DataHoarder
yes mandelbug you find shares but not SHARE FOUND on p2pool for all those
-
DataHoarder
aka
-
DataHoarder
doesn't get added to PPLNS window
-
DataHoarder
but it reports nicely yes
-
sech1
p2pool difficulty is ~850 times smaller than Monero network diff, so divide solo time by 850
-
CzarekNakamoto[m
DataHoarder: 5.4 years
-
XvB
we will need a L3 p2pool solution that allows miners to pool HR to find p2pool shares
-
XvB
;)
-
CzarekNakamoto[m
-
DataHoarder
that is for entire pool sech1, not for individual miners right? I mean the time they might find a share in this pool
-
sech1
it's the time to find a p2pool share (850 times less than to find a Monero block solo)
-
CzarekNakamoto[m
so ~3 days
-
CzarekNakamoto[m
Is changing the difficulty on client side affect the actual shares that are found?
-
DataHoarder
no CzarekNakamoto[m, just smoother reporting
-
DataHoarder
ah right, that math would only apply if the entire network was in p2pool right sech1 ?
-
DataHoarder
also yay height 70000 on sidechain
-
DataHoarder
and btw sech1, seed node on 13.69.194.86:37889
p2pool-seed.northeurope.cloudapp.azure.com
-
sech1
what's the connection bandwidth there?
-
CzarekNakamoto[m
Is 20mbps enough for a node or no?
-
CzarekNakamoto[m
if yes `192.243.103.185:37889` is also available
-
DataHoarder
static IP as well
-
DataHoarder
sech1: azure, checking the precise numbers, one sec. inbound shouldn't be limited
-
DataHoarder
should be 1000/1000 sech1
-
DataHoarder
static ip, but also p2pool-seed.northeurope.cloudapp.azure.com points to it
-
sech1
so 13.69.194.86:37889 ?
-
DataHoarder
yes, correct
-
sech1
ok, added
-
DataHoarder
will be up for the foreseeable future
-
DataHoarder
growing disk size of it, forgot to do it :^)
-
garth
sech1: how is this software different from Bitcoin p2p pool mining?
-
DataHoarder
it's for Monero :)
-
DataHoarder
(and other differences, it's made from scratch)
-
garth
Yep I know all that
-
sech1
Bitcoin p2pool is old and written in Python
-
sech1
and it doesn't have uncle blocks
-
garth
Interesting
-
DataHoarder
uncle blocks are nice given 10s sidechain block times
-
QuickBASIC
How long does it usually take to build monerod for Windows...? following instructions from github and it's been like 30mins. (Like 87% done).
-
DataHoarder
it takes a while unless you select only monerod target, but that's advanced
-
DataHoarder
also check RAM to see it's not going to swap
-
QuickBASIC
DataHoarder Yeah it's building everything not just monerod. I'll just be patient. Seems to be doing it's thing... just weird cause I built for linux on low spec VPS in like 3mins lol.
-
DataHoarder
maybe you did not build dependencies as well QuickBASIC
-
DataHoarder
but just the monero part
-
DataHoarder
while windows needs all the dependencies
-
DataHoarder
thank packaging systems :)
-
QuickBASIC
Ah that makes sense actually.
-
mightysnowman
yeet found my first share
-
mightysnowman
after total of 24 hours
-
QuickBASIC
Gratz.
-
mightysnowman
worth 0.0003xmr
-
mightysnowman
meanwhile I could've earned 0.0033 every 24 hours on any other pool
-
QuickBASIC
I've been mining 36 hours or so with 4.1 kH/s and haven't gotten any in that time. My last share was days ago.
-
mightysnowman
seems unfair so far, let's see if it 'evens out' after some weeks
-
QuickBASIC
mightysnowman: "worth 0.0003xmr" keep in mind that you can get that payout multiple times from a single share. Assuming we find multiple blocks in the PPLNS window before your share expires.
-
mightysnowman
we'll see
-
karce[m]
I got 6Kh/s and running it a couple days now. 0.004 xmr in rewards.
-
QuickBASIC
The other day I got three payouts from a single share because the pool found three blocks within 6 hours.
-
sethsimmons
People need to stop worrying so much about variance.
-
sethsimmons
The current p2pool hashrate is relatively low so variance will be a bit all over the place until it grows.
-
DataHoarder
worth nothing yet till a block is mined indeed mightysnowman
-
sethsimmons
Over the long-haul it will statistically average out, always.
-
DataHoarder
not worried about variance much, yep, averages
-
sethsimmons
You will earn the same (theoretically more due to lower fees) using p2pool as any large centralized pool.
-
DataHoarder
lucky here that since I started p2pool I have gotten payouts on each block mined
-
DataHoarder
though right now getting some awful luck with my shares
-
jaska087
my shares are usually late and pool gets unlucky and then again I get a share D:
-
jaska087
but eh, it's an experiment
-
DataHoarder
well, it's a working experiment, the best kind of experiment
-
DataHoarder
like, personal effort% currently is 728%
-
sech1
sorry, I took all your luck :P
-
sech1
-
DataHoarder
had nice luck the other day anyhow
-
DataHoarder
LULS
-
DataHoarder
talk of the devil
-
DataHoarder
just found 3 shares back to back
-
DataHoarder
StratumServer SHARE FOUND: mainchain height 2444978, diff 398471624, effort 16.063%
-
DataHoarder
StratumServer SHARE FOUND: mainchain height 2444979, diff 398360913, effort 1.883%
-
sethsimmons
-
DataHoarder
StratumServer SHARE FOUND: mainchain height 2444979, diff 399528341, effort 10.138%
-
DataHoarder
hah
-
DataHoarder
4 back to back
-
sethsimmons
awww yisss
-
jaska087
foreshadowing of 300% effort
-
karce[m]
Why is the diff there so low Seth ?
-
sethsimmons
Hmm, could have been false shares while syncing, I did just switch to a new host
-
sethsimmons
But I'm also setting custom diffs for workers and not sure if that gets reflected there
-
DataHoarder
exactly jaska087
-
sethsimmons
Ah, yeah, fake shares.
-
DataHoarder
yeah while syncing ones
-
sethsimmons
-
DataHoarder
look at the big numbers
-
sethsimmons
Yeah.
-
DataHoarder
yep, those are proper
-
sethsimmons
Didn't catch that before :)
-
karce[m]
Yeah that one looks right. That's sortof what I have.
-
DataHoarder
shame that while I am finding some now it was like 4h without shares, some got trimmed already :<
-
DataHoarder
all about averages
-
sethsimmons
yup
-
DataHoarder
110 shares so far :)
-
karce[m]
`202312:NOTICE 2021-09-07 06:58:26.9432 StratumServer SHARE FOUND: mainchain height 2444019, diff 324171014, effort 110.841%
-
karce[m]
280185:NOTICE 2021-09-08 03:05:14.0630 StratumServer SHARE FOUND: mainchain height 2444643, diff 383619554, effort 117.696%
-
karce[m]
308548:NOTICE 2021-09-08 10:22:47.1630 StratumServer SHARE FOUND: mainchain height 2444853, diff 423796145, effort 37.561%
-
karce[m]
`
-
karce[m]
* `202312:NOTICE 2021-09-07 06:58:26.9432 StratumServer SHARE FOUND: mainchain height 2444019, diff 324171014, effort 110.841%
-
karce[m]
280185:NOTICE 2021-09-08 03:05:14.0630 StratumServer SHARE FOUND: mainchain height 2444643, diff 383619554, effort 117.696%
-
karce[m]
308548:NOTICE 2021-09-08 10:22:47.1630 StratumServer SHARE FOUND: mainchain height 2444853, diff 423796145, effort 37.561% `
-
DataHoarder
-
DataHoarder
many 100% cause I was not setting custom difficulty on clients during those times
-
hyc
peerlist size 65. we've grown
-
QuickBASIC
Would something like this work to beep console:
-
QuickBASIC
tail -f p2pool.log | grep "SHARE FOUND" && echo -e '\a'
-
QuickBASIC
Don't have any recent shares to test.
-
hyc
I got no payouts in past 24hrs
-
hyc
4 the previous day
-
DataHoarder
no, the && will not finish QuickBASIC
-
DataHoarder
but you can do an xargs for "each line" found
-
QuickBASIC
Okay. Thanks DataHoarder
-
DataHoarder
tail -f p2pool.log | grep "SHARE FOUND" | xargs -L1 echo -e '\a'
-
DataHoarder
^ QuickBASIC
-
DataHoarder
can probably have webhooks on last line too
-
DataHoarder
if you want to get fancy
-
-
sethsimmons
Or monitor the log with a tool like Zabbix ๐ But that's a lot more complex haha
-
DataHoarder
I just look at actual cold storage wallet with view keys
-
DataHoarder
it's what matters in the end
-
DataHoarder
shiny โ๏ธ icon
-
QuickBASIC
DataHoarder Perfect thank you. SSH on Windows does audble console beep so I can just stop staring at it and do my work.
-
DataHoarder
ran that on a host that has a good old beeper, sounds nicely
-
QuickBASIC
<--- You should assume b/c my handle, but I love a good beeper.
-
DataHoarder
have done too many tools that use beep with tones
-
DataHoarder
not many monero blocks right now
-
QuickBASIC
Yeah windows console beeps in PS are lame tones like this one (Run in Powershell) [console]::beep(500,300)
-
QuickBASIC
Not a good old fashioned actual PC Speaker.
-
jaska087
ZMQReader failed to to bind port 37891 for ZMQ publisher, error Address already in use
-
jaska087
Trying to run multiple p2pool instances, seems to work fine anyway, using different p2p port for it too.
-
DataHoarder
yeah should run on different ports / ips each one
-
DataHoarder
for curiosity I have added p2pool_peers.txt as a downloadable file on
p2pool-seed.northeurope.cloudapp.azure.com
-
DataHoarder
though now existing methods + dns seed should get you working fine
-
DataHoarder
there is no pruning of the peer.txt list, I think
-
sech1
hyc it looks like I fixed it for M1:
i.imgur.com/lPVKVwv.png
-
DataHoarder
block!
-
DataHoarder
-
sech1
nice, and I had 4 shares in the window
-
sech1
which is 2x of the expected
-
DataHoarder
sneaked in an extra share about 20 seconds before block was found, heh
-
jaska087
oh joy, another block, zero shares ;P
-
DataHoarder
oh nice, moar blocks
-
DataHoarder
how do uncles get counted towards 2160 block share?
-
DataHoarder
do they "slide" other blocks away, "increase" the block count total for the range, or do some custom reward method?
-
sech1
PPLNS window is based on block height, so all heights from [top...top-2159] count
-
sech1
if there are uncle blocks, there will be more than 2160 blocks in the window
-
sech1
right now we have 73 uncles, so there are 2233 blocks in the window and it actually is ~6 hours 12 minutes because of that
-
sech1
also, uncle blocks are worth 20% less (miner who mined them as uncles takes these 20%)
-
DataHoarder
And I guess you could just have a lot of uncles if stars align
-
DataHoarder
makes sense, thanks
-
DataHoarder
Maybe detail on README how uncle blocks get paid out, at least %
-
sech1
I thought everyone knows it, it's the same in Ethereum
-
QuickBASIC
sech1 is it possible to have so many uncles that payout is too small to spend?
-
gingeropolous
i don't really understand uncles. i get the gist, but they are determined / validated etc. isn't clear to me
-
gingeropolous
but *how* they are determined etc
-
DataHoarder
one valid block with same height gets picked over the other, then later blocks can add blocks for same old height as "uncles"
-
DataHoarder
preferred path gets mined on top, uncles get noted (and validated at the old height)
-
DataHoarder
it gets more complex but I'm not probably the best one to explain it
-
sech1
when two blocks are mined at the same height, only one can continue the chain. The other one will be included as an uncle block
-
gingeropolous
ah, so its really a race of latency. and one or the other is decided by ?
-
sech1
it's not decided
-
sech1
if node gets block A first, it will be mining on block A
-
sech1
block B at the same height will be mined as an uncle
-
sech1
other nodes can get A and B in different order
-
QuickBASIC
So my share could be in an uncle or not depending on which p2pool node solves the block first?
-
gingeropolous
i don't think uncles spawn little blebs
-
QuickBASIC
It sounded like he was saying that nodes could be mining either block a or block b at the same time, wouldn't that mean that they consider the other block the uncle?
-
DataHoarder
you could be an uncle or be main
-
DataHoarder
most common case is no uncles, but uncles can happen
-
DataHoarder
right now
-
DataHoarder
PPLNS window = 2160 blocks (+71 uncles, 1 orphans)
-
DataHoarder
Your shares = 11 blocks (+1 uncles, 0 orphans)
-
QuickBASIC
Ah bob's your uncle.
-
DataHoarder
I see all the TEST_MEMPOOL_PICKING_ALGORITHM ifdefs, and the "Actual run time is 0.02-0.05 seconds on real full blocks. It's too slow and uses too much memory to be practical."
-
DataHoarder
maybe default picking method can be used, and this in the background then to replace simple picking method?
-
DataHoarder
haven't delved further into it to see how much better it is but maybe it's really not worth it :)
-
sech1
the difference is literally less than 0.000001 XMR, not worth it
-
sech1
I only used it to tweak the default picking algorithm and it's very good, sometimes it finds a perfect solution
-
DataHoarder
aha, nice
-
DataHoarder
maybe worth in a future with different fee markets than today, but yeah, that small difference is not worth it
-
DataHoarder
oh no, one of my shares got orphaned
-
DataHoarder
-
DataHoarder
many blocks received at once , hmm
-
sech1
hmm
-
sech1
my node didn't even receive your share with id 36a047e7522162563c7bf82fd2e6f0b56cac5deddcf8bedd7d136e77c2ab0303
-
sech1
oh, I know why
-
sech1
there were 3 Monero blocks in half a minute, so p2pool nodes didn't relay some shares because they were on different Monero heights
-
DataHoarder
yep, saw it on another node, where it caught up slower
-
DataHoarder
-
DataHoarder
about the same time interval
-
mightysnowman
Is there a monero block reward chart somewhere?
-
mightysnowman
Cant find one
-
DataHoarder
chart, as in, how much previous blocks earned?
-
mightysnowman
Yes
-
DataHoarder
not aware of one at the moment, but should not be hard to export data or make one
-
DataHoarder
oh, I see new changes, including --host that can resolve DNS
-
abberant[m]
anyone got iptables settings for machine running node and pool, I've spent hours and still get p2pserver not receiving new blocks while my monerod does, this is my current config and I'm not sure all of them are necessary, but they should be... (full message at
libera.ems.host/_matrix/media/r0/do…33d5ebc5af39d239b163dc9e4b3fc909755)
-
sech1
you drop all output packets
-
sech1
OUTPUT default policy should be ACCEPT
-
abberant[m]
btw every so often it seems to catch up with these settings
-
garth
sech1: As Iโm beta testing this software on a VPS (mining to it with a 3950x getting 20k/s) how often do you want me (us) to git pull and recompile the binaries? How often do you want me (us) to submit Error/Warnings from the logs?
-
abberant[m]
sech1: doesnt it drop output packets besides what my rules are?
-
garth
I see new commits every day and Iโm unsure how often you want me to include them
-
sech1
just update every day
-
garth
Ok
-
abberant[m]
right now its working actually with these rules, idk if one snuck through to persist because of the cstate rule or what
-
garth
Do you want me to submit the log error/warnings only
-
sech1
abberant you should also allow input/output packets on localhost
-
garth
If there is funny business?
-
DataHoarder
most changes coming are improvements or fixes for people that have something not working, so every day should be fine
-
sech1
iptables -A INPUT -i lo -j ACCEPT
-
sech1
same for OUTPUT
-
abberant[m]
alright
-
DataHoarder
have been reporting curious or interesting logs here at least, then I see a silent commit fixing or improving the cause :)
-
abberant[m]
sech1: any rules you notice I don't need? I don't think I need all 4 of those ports forwarded and input and output
-
sech1
port 18081 is RPC port, you only need it on localhost if you don't use this node from outside
-
sech1
same for 18083 (ZMQ port)
-
abberant[m]
oh yeah I need to mention, I have friends who use the node outside lan and are going to connect their p2pools to mine
-
sech1
then you need all ports open, just add --restricted-rpc to monero command line
-
DataHoarder
(also bind to 0.0.0.0 or whatever public address you want)
-
DataHoarder
plus --confirm-external-bind
-
sech1
if p2pool doesn't receive new blocks then it can't connect to zmq (18083)
-
abberant[m]
DataHoarder: yep, got those in the node settings
-
abberant[m]
sech1: does it need input for that I would assume? I figured it did all the connecting to other nodes over 37889
-
abberant[m]
welp I'll get to that issue once I figure out how to get it to compile again, having same issues as last night which were fixed by seemingly luck
-
sech1
you have this port open already, double check that you run correct monerod version and have "--zmq-pub tcp://0.0.0.0:18083" in command line for it
-
abberant[m]
yeah, I was just checking for if I had to disable it, but I guess I do need it
-
sethsimmons
-
sethsimmons
Would love any feedback before I share broadly!
-
DataHoarder
very uppercase, I guess it's all CSS
-
sech1
sethsimmons add a disclaimer that a new wallet must be created for mining because wallet addresses are public on p2pool. Use it for p2pool only!
-
sethsimmons
DataHoarder: Yeah it's not supposed to be all uppercase haha
-
sethsimmons
sech1: Ah, yes, good callout!
-
sech1
p2pool doesn't log addresses anywhere, but it's not hard for "interested parties" to add this functionality
-
DataHoarder
it's a must because of privacy not due to technical reasons, so there's less question about it
-
DataHoarder
yeah already saw how it could be done sech1
-
DataHoarder
and I guess mined blocks on-chain have it on extra data?
-
sech1
p2pool has to know wallet addresses to create coinbase transactions
-
sech1
extra data only has the hash of p2pool block (32 bytes)
-
DataHoarder
ah
-
sech1
wallet addresses stay on sidechain and get pruned eventually
-
DataHoarder
nice
-
sech1
but active monitoring can still catch all addresses
-
DataHoarder
hmm, I have seen that technically mining to subaddresses can be implemented, there was a long lost PR to main monero repo
-
sech1
yes, but it double the size of coinbase tx
-
DataHoarder
ah
-
sethsimmons
Adding:
-
sethsimmons
` ***NOTE: Be sure to create a new wallet for using with p2pool, and only use a "standard" address starting with a 4, subaddresses are not yet supported.***`
-
DataHoarder
should probably note it's for privacy reasons and not technical, or people might question it
-
sethsimmons
`NOTE: Be sure to create a new wallet for using with p2pool to preserve your privacy, and only use a "standard" address starting with a 4, subaddresses are not yet supported.`
-
DataHoarder
-
QuickBASIC
sethsimmons Good writeup. Let me know when you post it and I'll retweet it or tweet it.
-
sethsimmons
Thanks, will do!
-
sethsimmons
sech1: thanks for adding DNS resolution so quickly :D
-
DataHoarder
p2pool now appears on
minexmr.com/pools Hashrate Pie too
-
DataHoarder
right now MO sized
-
DataHoarder
and afaik xmrvs points hashrate to p2pool
-
Epsilon
I thought MoneroOcean would be larger to be honest
-
abberant[m]
If you go to the coins tab on their website, it says randomx mining only accounts for 21% of their payouts
-
abberant[m]
since its algo switch, like a third is from gpu algos, some for monero, and then the rest is other cpu algos more profitable at the time then monero
-
DataHoarder
it is larger due to profit switching and mining other coins as well, that they later use to buy XMR Epsilon
-
DataHoarder
(or people not switching and just mining something else)
-
DataHoarder
then get paid out in XMR
-
abberant[m]
@XvB:libera.chat: karce I think I figured out why my monerod wouldnt compile on arch, when I run monerod it seems to cache almost all my free memory, and it was probably causing issues with the compiler. Building the package after a reboot or "make -j1" as XvB recommended in the case I had less than 4g of ram, I originally discounted it as I didn't think cache would use that up. Hope someone else can learn from my mistake.
-
abberant[m]
* of ram works, I
-
DataHoarder
across two days, > Average effort = 202.617%
-
DataHoarder
Yay two blocks