-
Guest53
I am trying to understand every bit of mathematics done in source code. I have read zero to monero but it not exactly tell about every functions.
-
ofrnxmr[m]
Try ztm 2
-
Guest53
So wht is use of sc_mult() and ge_double_scalarmult_base_vartime()
-
Guest53
Have have read the version 2.0
-
Guest53
As bulletproo
-
Guest53
As proveRangeBulletproof() is the one responsible for creating Commitment and proving range proof
-
Guest53
But when it passes control to bulletproof_PROVE(amount,mask), why bp_PROVE usessc_mul() and ge_double_scalarmul_base_vartime()
-
ofrnxmr[m]
Try this question in
-
ofrnxmr[m]
#monero-research-lounge or lab
-
rbrunner
In a wallet with about 100,000 unspent outputs it seems it takes 2 minutes for wallet2 to choose 7 or 8 of them for a transaction; choosing 1 is almost instantaneous. Is that known?
-
Guest53
Yes ofcourse it would be fast
-
ofrnxmr[m]
<rbrunner> "In a wallet with about 100,000..." <- Running on master 0.18 wallet? Or 0.17.x
-
rbrunner
0.18
-
rbrunner
So no DNS nonsense :)
-
ofrnxmr[m]
Maybe the original issue we thiught rhe dns was - the cache
-
ofrnxmr[m]
-
ofrnxmr[m]
-
ofrnxmr[m]
-
Guest53
Is anyone there for my queries.
-
rbrunner
ofrnxmr[m]: Yeah, maybe it's this problem.
-
Guest53
Just tell me why sc_mul() do
-
ofrnxmr[m]
Guest53: Try mrl.. thats where they hang / keep notifications on
-
rbrunner
Yup, if it's about that, you probably won't have luck here: "But when it passes control to bulletproof_PROVE(amount,mask), why bp_PROVE usessc_mul() and ge_double_scalarmul_base_vartime()"
-
Guest53
Wht is mrl
-
rbrunner
#monero-research-lab channel
-
Guest53
Ohk
-
rbrunner
Where our eggheads lurk :)
-
Guest53
😅
-
rbrunner
The crypto wizzards' den
-
Guest53
rbrunner: is mrl active or not
-
rbrunner
I think usually at this time of day not too much, the US is still sleeping. You may need a little bit of patience. It's also usually quiet here morning UTC.
-
Guest53
Okay
-
Guest53
You are from which country
-
rbrunner
Switzerland
-
rbrunner
(Not doxxing myself, I am not anonymous.)
-
Guest53
rbrunner: are you crazy. I was just asking coz when you told USA is sleeping than i thought you belong to countries near me so just asking my neighbour nothing more.
-
rbrunner
That wasn't an accusation, just a clarification.
-
Guest53
But nice to meet you. Today only I joined this chat so my problem get solved as i was reading source code. But
-
Guest53
rbrunner: okay i was just saying in friendly way just joking leave it.
-
ofrnxmr[m]
Misunderstanding
-
rbrunner
Alright :)
-
Guest53
😃
-
ofrnxmr[m]
Rbrunner means
-
ofrnxmr[m]
"Her everyone. Before you accuse me of doxxing myself or giving out too much info, im not an anon. Its ok. I dont care if people know my name or country"
-
rbrunner
Exactly.
-
Guest53
Have you read monero source code
-
ofrnxmr[m]
He wasnt saying "im not telling you more because I dont want to doxx myself"
-
ofrnxmr[m]
But I can understand how it could have sounded like that
-
rbrunner
Yes, but if I happen to read crypto stuff I usually don't understand half of it
-
Guest53
Ya that maths calculation is just something else in theory in crypto books in compared to source code
-
rbrunner
But anyway, if I really want to find out something, I may ask, or I debug. That can work wonders, if you can really watch what the program does. Can be really powerful.
-
Guest53
First i understand the maths required but now in source code i am not getting any maths.
-
Guest53
Okay ya from debug i remembered one thing
-
rbrunner
In any case, when in doubt between a book or the code, the code is right. Why it is so is of course another question.
-
Guest53
I was compiling monero but some dependency were old when I downloaded them debian told they were corrupted and can't be downloaded
-
Guest53
Ya code is right but code logic is very easy to understand but not when maths is done.
-
rbrunner
Just think, if everybody would understand, where would the challenge be in this :)
-
Guest53
😃😅
-
Guest53
But what about solving challenges
-
Guest53
I not imagined that chat on monero could be so active as monero.stackechange is rarely active.
-
rbrunner
Yeah, it's not too obvious that these IRC channels here are the place to be, but anyway, you found it now. Just that time zone problem, planet is not rotating fast enough
-
ofrnxmr[m]
What is the issue you mention about outdated dep? Has to do with the crypto? Or just monero in general?
-
ofrnxmr[m]
Were you building from master/v0.18?
-
Guest53
The most current version the new guy fork
-
Guest53
Sorry it's git fork
-
Guest53
No the issue is related to dependencies required in compiling monero source code i compiled many time it not happened but after installing new os the problem is there now
-
ofrnxmr[m]
Depends build? Or using your system libs
-
Guest53
The cake gives error "Couldn't find required header zmq.h" but zmq5 is installed on my system
-
ofrnxmr[m]
Its looking in a different location than your os has itbstored.
-
ofrnxmr[m]
Logs? I dont think debian should be having issues
-
Guest53
But it's giving issues. libzmq5 is installed and dpkg and apt are showing it, yes libzmq3-dev is not installed i tried to install but debian giving package corruption error.
-
ofrnxmr[m]
You can always use the make depends or, I prefer gitian
-
rbrunner
I am also on Debian 11, without problems. I also think it can't be a general problem, otherwise more people would report it.
-
rbrunner
Never had a "package corruption error" in my life ...
-
Guest53
Parrot Os 5.0 on debian 11
-
rbrunner
That exists?
-
Guest53
Older version of parrot was not giving error but this is giving
-
Guest53
After reinstalling the newer version of parrot on system after that problem is occurring
-
rbrunner
Maybe that ultra-secure system stumbles over its own feet somehow. Would not be the first time, tight security sometimes can go wrong
-
ofrnxmr[m]
Sounds like your os repos are broken
-
rbrunner
+1
-
Guest53
So wht should i do
-
rbrunner
Shout at the parrot :) No, seriously, maybe try to contact any Parrot people
-
Guest53
Okay i think i should try contacting them. Shout at parrot 😂🤣
-
rbrunner
I don't even think it's possible for *Monero* to do something wrong and the result is a "package corruption error" ...
-
ofrnxmr[m]
Double check your sources, or check parrots online website repo to see if the package is properly maintained,
-
ofrnxmr[m]
Or go Google "parrot os 5.0 libzmq3-dev package corruption on install"
-
Guest53
Thanks a lot. I am going to check it now.
-
Guest53
See you both later. Thanks once again first time got community feelings.
-
rbrunner
Welcome.
-
Guest53
I tried to fix libzmq3 by directly downloading from website instead of apt or dpkg and manually downloading all their dependencies after dependencies as one depend on other and other on other. But now it is done.
-
hrtsick
rbrunner: i am that same person whom you and that another one helped to solved my problem about dependencies and now it is solved but source code one is now also unsolved hope research lab see it soon.
-
hrtsick
I cleared the cookies as i thought libera would have stored me from my ip address as it uses behind my username but it is not doing anything like that so new name as a new guest.
-
Guest3490
Butnnow it is showing error related to source code of monero "error: find_embedded_file" was not declared in this scope
-
rbrunner
That error does not tell me something, sorry
-
willshu[m]
-
willshu[m]
I would like to see human-readable information from the outputs_data_hex..
-
rbrunner
It's a quite complicated binary serialization, I don't think that will be easy. Probably much easier to add code to the Monero code to log what exactly gets written.
-
selsta
binaryFate: CLI only please, GUI not yet
-
selsta
hyc: randomx fix confirmed working, at least it doesn't crash
-
Guest3421
Structs in ge.h these are the curve points so why they are 40 bytes in size as curve point should be (x,y) (32byte,32byte) and when stored as compressed should be of only 32 bytes but example like struct ge_pe3 have four things in it X Y Z T why there are four points and why each is of 40 bytes instead of being 32 bytes
-
sech1
selsta what fix?
-
selsta
see latest merged randomx pr
-
sech1
ah ok
-
hyc
selsta: ok good to know. so jit works again, no more UMASK needed?
-
selsta
no more UMASK needed, but don't know if it uses JIT or not. they just said no crash without setting UMASK
-
Guest25
Structures in ge.h are actually ecc pints (x,y,z) but why are these of 40 bytes instead of being 32 bytes as in book it is writinen points are of (x,y) =(32,32) so why 40 bytes
-
hyc
-
sickhrt
Is there anyone to solve my queries, ecc points are of 32 bytes than why structure in ge.h containing curve points are each of 40 byte or int Fe[10].
-
UkoeHB
sickhrt: curve points are not stored in fe structs, finite elements are (elements of the curve field with order q)
-
sickhrt
It's ge struct in ge.h for points
-
UkoeHB
sickhrt: check ztm2 section 2.3 footnote 9
-
sickhrt
And size of q is 32 -something bytes, so every point will be less than that
-
binaryFate
I updated CLI hashes in DNS records
-
sickhrt
UkoeHB: i checked that but i am not getting why it wants to say.
-
sickhrt
See there is a Fq where q is 32-something bytes and every point choosed is within that, am i correct?
-
sickhrt
So when these points will be stored in ge struct they should be 32 bytes not 40 bytes
-
UkoeHB
sickhrt: curve elements (ge) are multiple finite elements (fe) using different coordinate representations (Jacobian and extended Jacobian iirc)
-
sickhrt
Just tell me one thing struct ge_p2 is used for what.
-
UkoeHB
`void ge_scalarmult(ge_p2 *r, const unsigned char *a, const ge_p3 *A);`
-
UkoeHB
scalar multiplication lol, for example; it's used all over the place
-
UkoeHB
as an intermediate representation when doing curve ops
-
sickhrt
Ohk so you want to say there is 40 bytes of space just for sake of multiplication
-
UkoeHB
no, a ge_p2 is 120 bytes
-
sickhrt
Yes i know
-
sickhrt
One variable is of 40 bytes i am saying so
-
UkoeHB
sure
-
UkoeHB
yes
-
sickhrt
So there are not for storing curve point but for calculation
-
UkoeHB
correct
-
sickhrt
Thanks
-
sickhrt
A lot
-
UkoeHB
you deserialize with ge_frombytes_vartime() and then reserialize with ge_tobytes()
-
sickhrt
And that curve point after multiplication they become public key and other all stuff for whatever purpose are of 32 byte cause of compression.
-
UkoeHB
uh yes?
-
UkoeHB
not sure what you're saying lol
-
sickhrt
🤣
-
sickhrt
No problem but i got wht you wanted to say
-
sickhrt
Thanks a lot
-
UkoeHB
sure thing
-
Guest25
Can anyone tell me about bulletproof range maths as ztmw don't have description about it and i am not getting wht other external source are saying.
-
UkoeHB
-
Guest25
Only thing I understood in papers i read is first it takes amount and than bitwise multiply with 2n and than some other maths but wht if someone made range proof of wrong about how security for that is verified i am not getting that part.
-
Guest25
UkoeHB: i want to know wht if someone made range proof of fake number than how security will verify it.
-
sickhrt
From wht i read i am thinking range proof is not secure thing.
-
UkoeHB
If someone makes an invalid range proof, then they can inflate the currency. The point of these proofs is it shouldn't be possible to make an invalid proof except with negligible probability.
-
dangerousfreedom
You guys can read at www.moneroinflation.com I have been trying to make a good introduction to these concepts too.
-
selsta
-
selsta
can you update this for v0.18? i grepped the source code for oxygen orion and missed the installer image as it's an image :/
-
rbrunner
Oh, sure, no problem. Pretty long already since last time :)
-
hyc
don't we have some commandline text-to-image tool that can insert the proper text for us and be automated?
-
hyc
pbmplus / netpbm prob has a tool to do it
-
hyc
-
selsta
yes having the graphics be producible by a tool would be ideal
-
rbrunner
Well, yeah, once every year or so :) And you need a special font if you want to stay in style.
-
rbrunner
PR opened.
-
hyc
what font is currently used for the image?
-
rbrunner
I use a Windows font that I picked up somewhere called "Century Gothic" which is close enough to the font the original design work used
-
rbrunner
-
hyc
do we really need this font for anything other than the word "Monero"?
-
hyc
I mean, that's part of the logo, but a release name is just ... auxiliary
-
selsta
-
rbrunner
Hope I did it correctly
-
selsta
yes
-
rbrunner
hyc is trampling my artistic freedom. I am offended.
-
rbrunner
:)
-
hyc
:P well we have the font definition, I'm sure it's no bother to use it
-
hyc
-
selsta
sech1: can you squash
monero-project/monero #8381 ? and did you test it locally for a while?
-
selsta
i've been running it on my nodes but I don't mine so my testing seems useless
-
hyc
rbrunner fwiw, using the MoneroGothic font in the image looks weird. Since it's bold face and you're using Century Gothic / not bold
-
hyc
Btw what point size did you use for the text? I eyeballed it as 40 pixels high
-
hyc
Wondering how much we can automate this anyway, if we wind up with a very long release name we'd have to do some weird word wrapping or widen the image