-
Aaajww291
Am I correct in saying the top three pools now have a collective of ~3.47 GH/s?
-
Aaajww291
-
br-m
<anotherone:xmr.se> p2pool #4 yay
-
br-m
<crypt0_bear:matrix.org> DataHoarder: for moneroblocks. I'm launching a new pool and want to make sure blocks get tagged right. Is the easiest way to make a PR and add the api endpoint? (You just need the json of the latest blocks produced by the pool right?)
-
DataHoarder
if you can match what nodejs-pools or cryntonote pools produce that'd be perfect
-
DataHoarder
then yes, it's only one pr away
-
DataHoarder
like
supportxmr.com/api/pool/blocks but with ... non-string keys plz :D
-
DataHoarder
supportxmr is "special" there
-
Snipa
You don't love our string keys?
-
DataHoarder
-
DataHoarder
-
DataHoarder
-
Snipa
xD I think it's because we're shoving them in via redis.
-
Snipa
And just not converting on the way back out.
-
DataHoarder
your "diff" and "shares" are also strings
-
DataHoarder
not height!
-
DataHoarder
I guess that comes from elsewhere
-
DataHoarder
ts is :)
-
Snipa
Probally.
-
DataHoarder
eternal finder field :)
-
DataHoarder
@crypt0_bear:matrix.org you'd also want the other endpoint that miningpoolstats can use
-
DataHoarder
-
DataHoarder
similar to that
-
Snipa
Hrm, so we're getting it back from psql, but storing it in redis, but shoving it through json.stringify. Wonder if it's something in node that doesn't like the large ints.
-
DataHoarder
depending on library large ints > 2^31 get converted to strings
-
DataHoarder
php also does that
-
DataHoarder
to prevent float conversion on the way back
-
Snipa
Yeah, this is stock node json, but it's an old version of node, so quite possible.
-
Snipa
Might also be the psql library doing something weird on the way out.
-
Snipa
I'll make a note to unbork that in the fixed API I'm working on. xD
-
DataHoarder
Snipa: use Number(fieldValue)
-
Snipa
It's all getting rewritten in go.
-
DataHoarder
but it's float hmm
-
DataHoarder
hahah
-
DataHoarder
good
-
Snipa
I've auctually got most of it done, but I need to rework a couple core components because I've changed how the pool-edges work.
-
DataHoarder
I also don't have *all* the pools added there, just the ones that were big or I could bother finding how to query the api when first loading the site
-
DataHoarder
specially if they had some custom hell and they were small
-
DataHoarder
-
Snipa
Man, I haven't looked at cryptonote-universal-pool in forever. xD
-
DataHoarder
if you have more questions @crypt0_bear:matrix.org feel free to ping me or drop by #p2pool-observer I treat that channel as my dev project channel
-
DataHoarder
oh and #monero has the new bridge so you should even get a joinable link directly
-
DataHoarder
plowsof: invite rights for appservice-irc plz :)
-
DataHoarder
or maybe something else is going on, as none of our messages made it in
-
DataHoarder
test message?
-
br-m
<datahoarder> @crypt0_bear:matrix.org: yep, sadly seems there are issues on this room for IRC to reply so maybe we can move discussion onto #p2pool-observer:monero.social (it's my dev channel for observer/monero stuff)
-
br-m
<datahoarder> You probably also want to read up from here as I answered your queries :)
libera.monerologs.net/monero/20250903#c579823
-
DataHoarder
test message
-
DataHoarder
that worked now. sorry Snipa they missed all our banter :)
-
DataHoarder
ignore ping plowsof it probably was one of the recent changes to have consistent order of IRC messages, reverted those for now