14:08:18 Am I correct in saying the top three pools now have a collective of ~3.47 GH/s? 14:11:11 https://i.imgur.com/CdZux7u.png 14:27:41 p2pool #4 yay 21:06:37 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?) 21:07:04 if you can match what nodejs-pools or cryntonote pools produce that'd be perfect 21:07:10 then yes, it's only one pr away 21:07:36 like https://www.supportxmr.com/api/pool/blocks but with ... non-string keys plz :D 21:07:42 supportxmr is "special" there 21:07:47 You don't love our string keys? 21:07:47 see https://api.moneroocean.stream/pool/blocks 21:08:32 no Snipa https://git.gammaspectra.live/WeebDataHoarder/monero-blocks/src/branch/master/pool/nodejs-pool/pool.go#L73-L113 21:08:39 :D https://git.gammaspectra.live/WeebDataHoarder/monero-blocks/src/branch/master/pool/nodejs-pool/pool.go#L31-L37 21:08:53 xD I think it's because we're shoving them in via redis. 21:09:00 And just not converting on the way back out. 21:09:22 your "diff" and "shares" are also strings 21:09:35 not height! 21:09:41 I guess that comes from elsewhere 21:09:47 ts is :) 21:09:49 Probally. 21:10:11 eternal finder field :) 21:10:53 @crypt0_bear:matrix.org you'd also want the other endpoint that miningpoolstats can use 21:11:00 https://api.moneroocean.stream/pool/stats 21:11:05 similar to that 21:11:16 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. 21:11:40 depending on library large ints > 2^31 get converted to strings 21:11:42 php also does that 21:11:49 to prevent float conversion on the way back 21:11:59 Yeah, this is stock node json, but it's an old version of node, so quite possible. 21:12:41 Might also be the psql library doing something weird on the way out. 21:13:03 I'll make a note to unbork that in the fixed API I'm working on. xD 21:13:27 Snipa: use Number(fieldValue) 21:13:42 It's all getting rewritten in go. 21:13:42 but it's float hmm 21:13:45 hahah 21:13:47 good 21:14:18 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. 21:16:36 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 21:16:56 specially if they had some custom hell and they were small 21:17:19 as you can find with the //TODO list there :D https://git.gammaspectra.live/WeebDataHoarder/monero-blocks/src/branch/master/main.go#L42-L52 21:18:17 Man, I haven't looked at cryptonote-universal-pool in forever. xD 21:22:11 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 21:22:37 oh and #monero has the new bridge so you should even get a joinable link directly 21:23:11 plowsof: invite rights for appservice-irc plz :) 21:23:38 or maybe something else is going on, as none of our messages made it in 21:24:01 test message? 21:26:38 @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) 21:26:57 You probably also want to read up from here as I answered your queries :) https://libera.monerologs.net/monero/20250903#c579823 21:27:04 test message 21:27:24 that worked now. sorry Snipa they missed all our banter :) 21:27:49 ignore ping plowsof it probably was one of the recent changes to have consistent order of IRC messages, reverted those for now