-
ErCiccione
Who is available for a fork-dedicated dev meeting the upcoming sunday at 17:00 UTC (if there aren't too many meeting. Otherwise saturday)?
-
starcoder0x[m]
Hello
-
starcoder0x[m]
I am new here
-
moneromooo
hi
-
starcoder0x[m]
moneromooo: Hello
-
starcoder0x[m]
Im here to learn about Monero
-
starcoder0x[m]
I never heard of it before
-
starcoder0x[m]
I am also a self taught dev
-
moneromooo
Lookup "zero to monero" and "mastering monero", these will teach you. Reading the code also will (that's how I learnt).
-
starcoder0x[m]
moneromooo: Okaoy I will
-
starcoder0x[m]
> <@moneromooo:libera.chat> Lookup "zero to monero" and "mastering monero", these will teach you. Reading the code also will (that's how I learnt).
-
starcoder0x[m]
* Okay I will
-
starcoder0x[m]
Is Monero better than bitcoin?
-
moneromooo
Depends for what. For privacy, most definitely.
-
hyc
for decentralization, yes. for dynamic scalability yes. for use as peer 2 peer electronic cash yes...
-
starcoder0x[m]
Wow
-
starcoder0x[m]
I can not believe I just heard about this. I was going through Github on a bored night. That is how I stumbled upon Monero.
-
hyc
talk about needle in a haystack
-
starcoder0x[m]
Wow
-
starcoder0x[m]
This is going to be the next big thing
-
moneromooo
Next year will be the year of Monero on the desktop!
-
starcoder0x[m]
Wow
-
starcoder0x[m]
Can not believe I was living under a rock.
-
Halver[m]
<starcoder0x[m]> "I am also a self taught dev" <- Links to resources for Monero dev :
moneroar4fiojlkzkvwgt25rp6vifswcpwa…lhfkdenczbhc4luqad.onion/monero-dev
-
Halver[m]
Yes, Monero is better than Bitcoin.
-
Halver[m]
But, being better is a never ending task !
-
starcoder0x[m]
I would like to contribute to this project.
-
starcoder0x[m]
I am sure that is the biggest thing I have done ever if I did.
-
starcoder0x[m]
I can use monero blockchain now?
-
moneromooo
Anytime, it's available as long as you can find a peer.
-
moneromooo
You find, and connect to, peers that keep copies of the blockchain. You then become one of those peers yourself.
-
starcoder0x[m]
Right
-
starcoder0x[m]
Thanks
-
moneromooo
So as long as you find a peer (that's recursively in contact with a peer that's got the longest valid chain), you're good and will end up with the right chain.
-
moneromooo
You may want to use --enable-dns-blocklist, it'll prune some known malicious peers which may make it harder for you to find that peer that has the highest chain.
-
starcoder0x[m]
Thanks
-
starcoder0x[m]
How fast does it take a miner to earn one monero?
-
moneromooo
2 minutes times 3.9 divided by your hash rate divided by 0.7.
-
moneromooo
3e9, not 3.9.
-
moneromooo
Expected time in the long term average, it'll vary of course.
-
starcoder0x[m]
I gotcha
-
starcoder0x[m]
GM
-
gingeropolous
howdy
-
WinslowEric[m]
Is there a Javascript implement to RandomX? I want to use it as a hash algo in my project(just for fun).
-
UkoeHB
WinslowEric[m]: seems unlikely, it would be abysmally slow
-
WinslowEric[m]
UkoeHB: Oh I didn't consider the memory costed... Guess I'll have to kill some fun =(
-
WinslowEric[m]
* Oh It's true and I, * I also didn't consider
-
UkoeHB
I imagine you could make a randomx executable that can be called from javascript... or something
-
WinslowEric[m]
UkoeHB: Yeah I do find a implement for nodejs an Github but even light mode is costing too much memory, I'll use regular sha after all
-
WinslowEric[m]
s/an/on/
-
rbrunner
I think this one *might* be the only working Monero JavaScript RandomX miner:
minero.cc
-
rbrunner
-
rbrunner
You might get a single digit number of hashes per second (!)
-
WinslowEric[m]
<rbrunner> "You might get a single digit..." <- One hash per second is definitely unacceptable for formal use lol
-
WinslowEric[m]
I'll add it as a option in config xd
-
WinslowEric[m]
But first I think I'll need to try to get the randomx part unwrapped from it's compressed js code
-
WinslowEric[m]
s/it's/its/
-
rbrunner
I think nobody here every verified whether the calculated RandomX hashes are in fact correct, so maybe be careful
-
rbrunner
I mean it's quite a feat, as far as I know they can't use JavaScript reals, but have to freaking emulate floating point math
-
rbrunner
Because of those special rounding modes that RandomX uses that are not available in plain JavaScript, and neither in WASM if I remember correctly
-
hyc
yeah ISTR not present in WASM either
-
WinslowEric[m]
rbrunner: that's really freakin
-
rbrunner
Yes, if they really did that and did not simply use standard JavaScript reals and just pretend they mine anything ...
-
rbrunner
I mean, with that you find a block in a thousand years or so, nobody will ever notice :)
-
jeffro256[m]
Hey what's the difference between EXPECT_EQ and ASSERT_EQ in unit tests?
-
UkoeHB
jeffro256[m]: assert with abort the test, expect lets the test continue
-
UkoeHB
will*
-
jeffro256[m]
UkoeHB Awesome thanks!
-
mj-xmr[m]
jeffro256[m]: But it doesn't mean, that a failing EXPECT will flag the test as successful. It will just let other messages accumulate.
-
jeffro256[m]
mj-xmr[m] right, thanks. I pushed a new commit where I adapted epee/tests/src/misc/math_test.h and put it in unit_tests
-
jeffro256[m]
Basically it was the only usable test out of the 4 test files in epee/tests
-
mj-xmr[m]
That's nice. I didn't want to ask for it in one go. A compromise would be to leave the tests in epee for now and proceed with the move later.
-
mj-xmr[m]
jeffro256[m]: That's OK. Always something.
-
mj-xmr[m]
jeffro256[m]: I think the math_test.h was already used somewhere...
-
jeffro256[m]
There's already rolling_median tests for sure, which I believe uses epee::misc_utils::median so the new tests might honestly be pointless
-
mj-xmr[m]
aaah. That was it.
-
mj-xmr[m]
Well, it depends.
-
mj-xmr[m]
Even if it touches the basic code THROUGH the rolling median, then you still need to have a functioning rolling median to test the basic functionality :)
-
mj-xmr[m]
And this exactly defies the idea of Unit Tests.
-
mj-xmr[m]
So I don't know. It's really not expected from anybody to fix everything in one go.
-
mj-xmr[m]
Unless that "thing" you're fixing is tightly related.
-
UkoeHB
jeffro256[m]: I have this one
monero-project/monero #7856
-
mj-xmr[m]
-
mj-xmr[m]
OK, then I'd say, go ahead and delete the epee tests :)
-
mj-xmr[m]
The "knowledge" is stored temporarily and visibly in Ukoe's PR.
-
jeffro256[m]
UkoeHB Ah good point, that makes it a little hairier
-
jeffro256[m]
I'll delete that commit then
-
jeffro256[m]
mj-xmr[m] Okay I force-pushed to remove that commit
-
mj-xmr[m]
Thanks.
-
jeffro256[m]
mj-xmr[m] Do you have any other concerns about removing epee/tests?
-
mj-xmr[m]
jeffro256[m]: Nay. Check :)
-
mj-xmr[m]
Nothing very valuable is really lost, except for some really small functions, that don't get any love anyway.
-
jeffro256[m]
mj-xmr[m] I appreciate you taking the time to review! It was a big PR
-
mj-xmr[m]
jeffro256[m]: Thanks for rationalizing me just taking a deserved drink :)
-
jeffro256[m]
mj-xmr[m] So you're saying that I should submit more large PRs?
-
jeffro256[m]
jk
-
mj-xmr[m]
I'm gonna have nightmares.
-
kayabaNerve
Miner TXs aren't limited to only having one output, right? I've never seen such a rule yet wanted to double check as actual usage is 0/1
-
sethforprivacy
kayabaNerve: p2pool uses miner outputs for all payouts, can have many outputs.
-
kayabaNerve
Great, thanks for confirming
-
sethforprivacy
-
sethforprivacy
61 outputs
-
kayabaNerve
I just checked the frontpage of xmrchain's miner TXs :P Thanks for the actual example
-
sech1
Miner TXs aren't limited by anything, they can grow up to the block size limit
-
sech1
and each output is 38 bytes, so we're talking about ~8000 outputs and even more
-
kayabaNerve
Huh. I would've assumed all TXs were subject to an output quantity limit of 255 tbh. I also haven't extensively checked for such rules
-
sech1
-
sech1
I could've created a tx with more outputs, but it wasn't needed for testing
-
rbrunner
That tx is quite crass
-
sech1
the only limit for miner tx that I know of is 1 MB size limit #define CRYPTONOTE_MAX_TX_SIZE 1000000
-
kayabaNerve
sech1: It's bs like this why I'll never advocate for removing extra versus segregating R out
-
sech1
of course miner tx will lose any sense before 1 MB because of block size penalty
-
xmr-pr
kayabaNerve opened pull request #8212: Remove footgun doc comment in miner TX validation
-
xmr-pr
-
kayabaNerve
Oh that's cool
-
kayabaNerve
I apparently don't hang around here enough if I didn't know that existed though...