-
Adreik
Does anyone know what the stagenet network byte is for XMR addresses?
-
Adreik
I know that the network byte "identifies the network and address type; 18 - main chain; 53 - test chain
-
Adreik
", but what is stagenet's?
-
ndorf
Adreik: 24. but these are for primary addresses only. integrated and subaddresses have different prefixes.
-
Adreik
Is that 24 as a decimal integer, or 0x24?
-
tryphe
-
Adreik
Thanks
-
tryphe
:)
-
ndorf
was literally just about to paste the same thing, lol
-
tryphe
those are non-hex values btw
-
alexanarcho[m]
we are looking for somebody knowledgable with monero javascript (wasm wallet) in combination with react, if you are happy to help join us right now under
meet.jit.si/MoneroStammtisch
-
alexanarcho[m]
strangest thing just happened: i just executed this command ```./monero-wallet-rpc --daemon-address
localhost:38081 --daemon-login superuser:abctesting123 --stagenet --rpc-bind-port 38083 --rpc-login rpc_user:abc123 --rpc-access-control-origins
localhost:9100 --wallet-dir ./```
-
alexanarcho[m]
and got a FLOOD of transactions. i m talking THOUSANDS, recieved and sent. this is super weird to me since i was not the one that made them, i can see amount, tx id. most tx are from this year, but well before i made the stagenet wallet... wtf?
-
-
hundehausen[m]
I can confirm, this is super strange. None of those transactions are related to alexanarcho We should not be able to see this data!
-
-
alexanarcho[m]
and then there are these
-
alexanarcho[m]
-
hundehausen[m]
Hi is there anybody from monero-javascript I can reach out to? I have some questions regarding the WASM implementation
-
moneromooo
wasm sounds like woodser
-
hundehausen[m]
yes axactly
-
hundehausen[m]
* yes exactly, is he active on matrix?
-
lh1008[m]
Hello everyone
-
lh1008[m]
I have a technical question in regards of dandelion++. Is this the right place to ask about this topic?
-
azy
or #monero-dev
-
hyc
here's prob better
-
lh1008[m]
Okay, thanks. Are, epochs, periods of time?
-
lh1008[m]
-
lh1008[m]
This specific paragraph: Dandelion++, like Dandelion, has a stem and fluff phase. In the new stem phase, to implement dynamic connectivity, it proceeds in discreet intervals, called epochs.
-
moneromooo
Yes.
-
lh1008[m]
Thank you moneromooo
-
Inge-
this episode is MCF:fluffypony got a haircut!
-
fluffypony
:-P
-
Mochi103
he's looking fairly sexy today
-
Mochi103
Well, more sexy than usual.
-
Mochi103
;)
-
ndorf
ah, haircuts. man that brings me back
-
fluffypony
Mochi103: is it the glasses?
-
fluffypony
because they're fake, non-corrective lenses :-P
-
Mochi103
:D
-
louipc
fluffypony: u hipster
-
evolbit
fluffypony are you real?
-
fluffypony
well I don't have a beard
-
fluffypony
so there's that
-
fluffypony
evolbit: I like to think so
-
ndorf
fluffypony: that's okay, you can still qualify as a hipster, just learn nodejs and mongodb
-
evolbit
funny pony i see
-
fluffypony
ndorf: lol
-
evolbit
fluffypony I have the beard but no knowledge about nodejs / mongodb
-
hyc
no mongoDB.
-
hyc
just no.
-
fluffypony
hyc doesn't have a beard, but he does have a fiddle
-
hyc
oh, right now I have a beard.
-
hyc
haven't shaved in weeks
-
evolbit
let them use it (mongodb), It's funny to find some on the internet :p
-
hyc
lol
-
hyc
you realize you're talking to a community that prizes privacy, right?
-
louipc
does the fiddle have a beard
-
moneromooo
Reminds of Airplane. Or Airplane 2 ? The Iran air plane...
-
hyc
hmm, don't remember airplane 2
-
lza_menace
hey, mongodb is great at something....it's definitely the best database out there if you want to be horribly insecure as a default!
-
ndorf
i heard it was also good if you wanted to have unpredictably inconsistent data
-
lza_menace
built in chaos engineering - next level stuff
-
evolbit
hyc: ofc I know, I was just joking. Jokes apart, Developers and Sysadmins should be aware of mongodb, it's really easy to mess up with the configs
-
ndorf
haha, yup
-
ndorf
not sure i agree that devs and admins need to be aware of it.
-
ndorf
just malware scanner tools should be sufficient.
-
evolbit
it's too late when the problem is detected by a malware scanner, unless you're saying that they should flag mongodb :p
-
ndorf
flag it? they should automatically remove it
-
ndorf
no human intervention necessary :P
-
hyc
^^ lol
-
evolbit
lol
-
yanmaani
mongodb is web scale
-
» moneromooo tries to work out whether that's praise or flak...
-
lza_menace
i assumed it was a jab at the hipster terms like "Web scale"
-
dsc_
"You turn it on and it scales right up"
-
ndorf
i'm not sure what "web scale" means but the first thing it conjures is something that takes a minute of CPU time and 3GB of RAM to display a half KB of text and a small image
-
ndorf
(image not guaranteed)
-
evolbit
clickhouse.tech this one works better when you have several TBs of data
-
asymptotically
-
louipc
rickrolld
-
lh1008[m]
Hello everyone. Me again asking about RPC requests. I'm using a RPC payment node and I would like to know, what is the mining private key, from address, that I need to use to make requests? And in the request, where should the key be added? I know what is the private key, I know how to get it from the CLI, is that the key I need?
-
lh1008[m]
I'm getting the message: "Client signature does not verify for get_info"
-
moneromooo
It's a normal Schnorr signature. The RPC is signed. The secret key is in the rpc_mining_status (or similar name) command output.
-
moneromooo
I can't recall exactly what is signed in the RPC data, lemme check now...
-
moneromooo
Ah, the timestamp. Guess there should be a salt.
-
moneromooo
See src/rpc/rpc_payment_signature.cpp
-
lh1008[m]
Thanks moneromooo, going right now to check it out. I'm looking a command similar to rpc_mining_status right?
-
moneromooo
Yes.
-
lh1008[m]
Okay, moneromooo I've got, RPC client ID, and RPC client secret key
-
lh1008[m]
Which one should I use to make the request, the ID or secret key?
-
lh1008[m]
And two more questions, when making the request, should the wallet be running? Where should the signature go when making the request ("params")?
-
moneromooo
Depends what you mean by "use".
-
moneromooo
To sign, a secret key. To tell what account to use, the public key.
-
lh1008[m]
To make a call. Let me show you what I'm using to make the call.
-
moneromooo
In a "client" field.
-
moneromooo
"should the wallet be running?" is confusing.
-
moneromooo
Since it's sending a request, it presumably is running. So I'm guessing you assume different things.
-
lh1008[m]
Should the wallet be open, mining? The wallet has credits. If not I could close and just send the rpc request.
-
lh1008[m]
curl
127.0.0.1:18081/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"get_info"}' -H 'Content-Type: application/json'
-
lh1008[m]
This is the command I'm currently using.
-
-
lh1008[m]
This is what I get
-
moneromooo
Whatever is using the RPC has to be running. If it is not the wallet, then the wallet does not have to be running. If it is the wallet, it does.
-
lh1008[m]
The RPC node is running. When I make requests from the terminal that's the message I get back. I do have a RPC wallet too, that has been mining for credits. But when I send requests to the blockchain it says: Client signature does not verify for get_info
-
lh1008[m]
The requests are sent trough a terminal
-
lh1008[m]
I was told it's because I'm not signing the request. So, my question is, how should I send the request using the secret key from the wallet(rpc id or secret key) to the rpc deamon?
-
lh1008[m]
**daemon
-
moneromooo
You sign the timestamp with the secret key matching the public key, put it in the client field. See the file I linked earlier.
-
moneromooo
If you're getting errors, bump log level in the daemon, it might tell you what is wrong.
-
moneromooo
The signature contains more that jsut the Schnorr signature btw. See that file, first function, second to last line.
-
moneromooo
It's a small file.
-
lh1008[m]
Oh, okay okay I think I understand. I'll have to put the signature in the file. The file has two functions, make and verify. I believe is in the verify function.
-
lh1008[m]
Yes it's a small file. The bool functions receive arguments (const, crypto: :, uint64_t), what I'm not sure is how to add the keys to the file and not mess everything up. I thought I could send the keys through terminal arguments.
-
lh1008[m]
I'll stop for today. Don't want to blow up. Thank you moneromooo :)
-
lh1008[m]
See you tomorrow
-
moneromooo
You don't add keys to a file. You sign the timestamp with the secret key. Add timestamp and pubkey like in that code. Put that (as hexadecimal) in the client field.
-
moneromooo
Well, timestamp, technically increasing nonce, but timestamp is a useful instance of this.
-
lh1008[m]
Oh...o_o, okay, I'll give it a try. By the way I was able to make calls using Python :), it took me almost 3 hours to figure it out :P
-
moneromooo
There is python code htat sends those client signatures in tests/functinal_tests.
-
lh1008[m]
Nice