-
UkoeHB
vtnerd: I switched to `src/serialization` for kex messages, but ran into a problem with RPC (e.g. `on_prepare_multisig`). The message is serialized once for the kex message, then to return it via RPC response it is serialized again. This apparently causes functional tests to fail on `res = res.json()`, because I guess it can't parse the doubly-serialized message (`json.decoder.JSONDecodeError: Invalid control character at:`). Do
-
UkoeHB
you have any suggestions (or anyone else)?
-
UkoeHB
Ok, encoding the serialized message in b58 worked...
-
willyijinin[m]
-
willyijinin[m]
I input the same privateSpendKey and privateViewKey. But the primaryAddress, privateSpendKey and privateViewKey are all different each time I re-run the code snippet.
-
merope
Looks to me like you're creating a new wallet from scratch each time
-
merope
As in, that's literally what you're telling your code to do
-
willyijinin[m]
-
merope
Oh wait nvm, I'm tired
-
merope
Sorry
-
willyijinin[m]
I thought I input the private spend key and private view key
-
merope
You have to provide the primary address as well though
-
willyijinin[m]
I thought the private spend key and private view key determines the primary address. Why would I need to provide the primary address?
-
willyijinin[m]
Besides, the logged private spend and view keys are different from what I provided each time
-
merope
Honestly idk, but it has always been like that afaik - the CLI wallet works the same way (ie you have to provide spend key, view key, and primary address)
-
merope
Also, I don't see a password field as one of the input parameters?
-
merope
That's only in createWalletFull()
-
willyijinin[m]
See my link above
-
-
willyijinin[m]
I input the same privateSpendKey and privateViewKey. But the primaryAddress, privateSpendKey and privateViewKey are all different each time I re-run the code snippet. And the private keys are different from what I provide. I check the `monero-javascript` repo and found that primaryAddress need to be inputted otherwise it is default to empty string `""`.
-
willyijinin[m]
For other ed25519 chains, the same private key always generate the same public key and address. What does Monero change here to make it different?
-
willyijinin[m]
* I input the same privateSpendKey and privateViewKey. But each time I re-run the code snippet, the logged primaryAddress, privateSpendKey and privateViewKey are all different. And the private keys are different from what I provide. I check the `monero-javascript` repo and found that primaryAddress need to be inputted otherwise it is default to empty string `""`.
-
willyijinin[m]
For other ed25519 chains, the same private key always generate the same public key and address. What does Monero change here to make it different?
-
willyijinin[m]
* I input the same privateSpendKey and privateViewKey. But each time I re-run the code snippet, the logged primaryAddress, privateSpendKey and privateViewKey are all different from previous time. And the private keys are different from what I provide. I check the `monero-javascript` repo and found that primaryAddress need to be inputted otherwise it is default to empty string `""`.
-
willyijinin[m]
For other ed25519 chains, the same private key always generate the same public key and address. What does Monero change here to make it different?
-
willyijinin[m]
Another question derived from the question above, how do I generate a wallet from just a private spend key and a private view key?
-
ga_1700[m]
I've mided up between my private view and private send keys, and I don't know which one is which. they are both the same length charachter count wise, is there a way to find which of of two is the private send, and which is the private view keys ?
-
ga_1700[m]
s/charachter/character/
-
ga_1700[m]
* Hi,
-
ga_1700[m]
I've mixed up between my private view and private send keys, and I don't know which one is which. they are both the same length character count wise, is there a way to find which of of two is the private send, and which is the private view keys ?
-
Lyza
this isn't really a support channel but uhh, just try importing one of them?
-
ga_1700[m]
sorry Lyza , you're right. my problem seems to be worse now, as I seem to have created Aeon wallet thinking it was XMR wallet :(
-
Lyza
I would recommend feather or the official GUI as a wallet. sounds like you're using some multi-coin thing
-
Lyza
not sure how to link to matrix channels but on irc it's #monero or maybe #monero-community
-
ga_1700[m]
being this might be a dev question - can anyone confirm that XMR private send and private view addresses should always be different in length ? and if mine are not as such, then something is wrong ?
-
moneromooo
All public keys are 32 bytes in their canonical representation.
-
moneromooo
And all scalars too, since you're tlakng about secret keys :D Ahen.
-
moneromooo
A secret key pair can be used both as a monero account and a aeon account.
-
Rucknium[m]
moneromooo: From the discussion on another channel, ga_1700 is apparently using your monero-wallet-generator and is all mixed up.
-
moneromooo
Pubkeys aren't monero or aeon specific. Just create a monero wallet with those keys.
-
ga_1700[m]
alright, I cloned the repo and produced a new wallet, tney are indeed both the same length again, so seems like it wasn't aeon after all.
-
ga_1700[m]
moneromooo: my real issue is that I've mixed between the spend and view keys, and not sure which one is which, that's really all I'd like to know. we can take this disucssion to #monero:monero.social .
-
moneromooo
That's only two possibilities. Use both :)
-
moneromooo
(I mean, scan both possibilities, see where the coins went)
-
ga_1700[m]
is passing --proxy to moneord (with the correct address of my socks proxy address), all that's needed for monerod to use to for all its communications, or are there more flags requires ?
-
ga_1700[m]
s/address//
-
ga_1700[m]
s/address//, s/to/tor/
-
ga_1700[m]
okay, will do, thank you, it's a bummer on one end, on the other - it's a good learning opportunity :)
-
-
ga_1700[m]
-
ga_1700[m]
it was mentioned in #xmrmine:matrix.org that this may be may a new feature to monerod/monero-cli, but that I'm not sure of, either way - it would help if this flag was documented. (and I don't mind doing that, if need be).
-
ga_1700[m]
s/may//
-
merope
(monerod v0.17.2.3-release from 2021/10/04 doesn't mention the --proxy option in --help)
-
moneromooo
There is --tx-proxy IIRC. Could it be that ?
-
merope
nope, we're talking about networking
-
merope
presumably it's for proxying the (outbound?) p2p traffic?
-
selsta
merope: v0.17.3.0 has --proxy
-
merope
Yes, we were calling attention to the fact that the docs need updating
-
merope
-
merope
(explaining how one might use --proxy to send the p2p traffic over tor/i2p, or stuff like that)
-
selsta
don't think you can use that for i2p unless i2p has exit nodes
-
merope
Oh, so it's not meant to be used to talk directly to other onion/i2p nodes?
-
merope
Only for clearnet proxying?
-
merope
i2p does have a few exit nodes, though it's not really meant to be used like that
-
ga_1700[m]
in either case, the ask is to have a doc mentions what --proxy does, to lessen assumptions from the user end.
-
ga_1700[m]
s/mentions/mention/
-
ga_1700[m]
from what gather using tcpdump, and using --daemon-address , the assumption seems correct and it sends to all traffic to the value of --proxy , but - assumptions are just what they are.
-
ga_1700[m]
s/what/when/, s/gather/watching/, s/using/the/
-
ga_1700[m]
s/from what gather using tcpdump, and using --daemon-address , the assumption seems correct and it sends to all traffic to the value of --proxy , but - assumptions are just what they are./from when watching the tcpdump, and using --daemon-address , the assumption seems correct and it sends to all traffic to the value of --proxy and not the configured default gateway , but - assumptions are just what they are. /
-
u8c7a832
(/part
-
xmrscott[m]
I assume pigeons @pigeons:monero.social or someone else has hopefully already had a chance to run a bill of materials audit on infrastructure to validate if it's running Log4j
arstechnica.com/information-technol…-threat-from-new-code-execution-bug