-
selsta
.merge+ 8618
-
xmr-pr
Added
-
kayabaNerve
I'm trying to work with digest_auth and monerod which is... as painful as can be expected. I have old code doing it against monero-wallet-rpc, and it works, except it never set a body in the DigestAuth. I have no idea why/how, I just know it is what it is. I'm currently just trying a basic get_height call, which doesn't have a body anyways, and I'm getting 401 Unauthorized no matter what I do. Is there some quirk of epee I should be on the
-
kayabaNerve
lookout for? Does monerod use it differently than monero-wallet-rpc?
-
kayabaNerve
`--rpc-login user:pass` on monerod, my code is using "user" and "pass".
-
kayabaNerve
I know the lib is valid since I've used it ~2y ago successfully (and yes, this is the same version). "/get_height" for the method, which is slash prefixed...
-
kayabaNerve
Turns out I used a different socket and that turns the nonce stale :/ That'd do it.
-
freemint
Is it possible to only search the parts of the parameter space during mining whose random programs don't contain AES or other CRYPTO accelerator dependend instructions?
-
sech1
They all do
-
freemint
I found nothing which suggests that randomx always passes build random programms which have instruction Y or Z inside. Can you point me to a reference?
-
sech1
AES is not a part of random programs, it's calculated at the beginning and the end of every RandomX hash
-
sech1
regardless of this, what you're actually asking about is explained here:
github.com/tevador/RandomX/blob/mas…sign.md#12-the-easy-program-problem
-
sech1
no way around it, sorry
-
freemint
Ah i thought the custom functions listed here:
github.com/tevador/RandomX/blob/mas…er/doc/design.md#3-custom-functions where primitive operations of the VM not pre/post processing.
-
freemint
So there is on purpose no means to speed up monero mining by vectorizing the emulator, as there you can SIMD the two random programs as they are expected to be totally distinct?
-
freemint
*as you can't SIMD any two random programs
-
hyc
correct, all programs are distinct
-
freemint
understood that settles all my questions and i will not consider porting Monero to
en.wikipedia.org/wiki/NEC_SX-Aurora_TSUBASA . Someone asked me whether that card could mine Monero when i talked about it. Now i can tell them it will perform like 2 Raspberry Pi 4s.
-
freemint
... Wait how do GPU miners work then with total Warp divergence those random programs would have?
-
hyc
poorly
-
freemint
So they are basically forced to execure one thread per warp?
-
freemint
Or is there something else that can be done that i am missing.
-
DataHoarder
they use CPUs
-
sech1
freemint GPU implementation executes up to 8 threads per warp, but there's a whole stage of preprocessing VM instructions and reordering, to find instructions that can run in the same warp
-
sech1
-
sech1
check init_vm and inner_loop functions
-
freemint
sech1, Thanks.
-
sech1
for example, it merges FADD_R, FADD_M, FSUB_R, FSUB_M, FMUL_R into a single FMA instruction on GPU, so it can run in parallel
-
sech1
I mean, they're all implemented via FMA instruction with different arguments
-
sech1
it's still very slow and inefficient compared to CPU
-
freemint
Good God. this gonna be brutal for the any NEC SX Aurora TSUBASA implementation.
-
freemint
yeah, nope, nope, nope. That's not gonna work at all.
-
freemint
This card is working on 256 words of 8 bytes. So 16384 bits per instruction.
-
freemint
Thanks for the letting me deepen my understanding of Monero and enteraining my musings.
-
freemint
And i really appreciate the design of Monero and RandomX. Good work!
-
woodser[m]
we're trying to restore an old multisig wallet with 0.18.1.2 software. loading it, the wallet says "Some owned outputs have partial key images - import_multisig_info needed". typing `export_multisig_info my_multisig_info` shows the error "Error: This multisig wallet is not yet finalized". are old multisig wallets compatible with the new software, or is there some extra steps to restore?
-
UkoeHB
-
woodser[m]
yes just found my way too it, thanks :)
-
woodser[m]
UkoeHB: I tried with `export_multisig_info force-update-use-with-caution woodser_multisig_info` but we're still getting "Error: This multisig wallet is not yet finalized". am I issuing the command correctly?
-
UkoeHB
woodser[m]: did you then import that info?
-
UkoeHB
err and the command is exchange_multisig_keys, no?
-
woodser[m]
the error occurs before being able to import
-
UkoeHB
Sorry I didn’t mean import
-
woodser[m]
ah yes, it produces a different error with ` exchange_multisig_keys force-update-use-with-caution woodser_multisig_info`: Error: Failed to perform multisig keys exchange: Multisig kex msg decoding error.
-
UkoeHB
Is that with simplewallet or MMS?
-
woodser[m]
actually I have it working now with only `exchange_multisig_keys force-update-use-with-caution`
-
woodser[m]
this is the cli
-
woodser[m]
splendid, I think we're good to go now :) thank you
-
UkoeHB
Hmm well glad it worked (should need two commands though, not sure why that’s would work)
-
woodser[m]
it's prompting to share multisig hex with peers and use `exchange_multisig_keys force-update-use-with-caution` with their hex
-
mrnaif
Hi! What is more recommended to be used for a payment processor in monero nowadays: integrated addresses or subaddresses? Initially I thought integrated addresses are the way to go, but I found out subaddresses do exist too.
-
moneromoooo
Subaddresses.
-
cryptogrampy[m]
<mrnaif[m]> "Hi! What is more recommended..." <- Hi Mrnaif- integrated addresses are currently slated for deprecation, but they have a couple unique characteristics that can't be achieved with subaddresses today (at least that I know of). Some good discussion here:
monero-project/monero #7889
-
mrnaif
Yep, I've just read it. The main downside of subaddresses right now is that I would need to write an electrum analogue in monero where it would scan the blockchain up to some gap limit and discover addresses possibly. From that github issue it looks like consensus hasn't been reached yet? It is very convenient to just generate a random id and tie it to address merchants input.
-
moneromoooo
monero automatically does this lookahead for you.
-
mrnaif
How exactly? Is it in wallet-rpc?
-
moneromoooo
By... er... just doing it. It's in monero-wallet-rpc by virtue of being in wallet2, which monero-wallet-rpc is based on.
-
moneromoooo
I might have missed your point since I don't know what you mean by "an electrum analogue" though.
-
mrnaif
I mean that I can't use wallet-rpc, I am able to use only the daemon RPC commands because I want to allow multiple different wallets processing payments at once
-
moneromoooo
So... you reimplement monero-wallet-rpc, essentially ?
-
mrnaif
moneromoooo: It can work with only one wallet at a time, which is not possible in context of a mass-scale payment processor that can work for many merchants/stores/etc on one instance
-
mrnaif
moneromoooo: Electrum is a lightweight bitcoin wallet, they use something similar to subaddresses, and they scan the blockchain up to the gap limit (which means, if there are 20 addresses with 0 transactions, 21 one with transactions won't be found by default)
-
moneromoooo
Right. That's the bit wallet2 also does.
-
mrnaif
Sorry, I am a bit new to monero, I don't know what wallet2 is (:
-
endogenic
mrnaif: use the lightwallet server
-
endogenic
-
endogenic
i built a client for it too about 6-7 yrs ago
-
endogenic
i'm working on a better one now
-
moneromoooo
wallet2 is the code that's shared between monero-wallet-cli, monero-wallet-rpc, monero-wallet-gui. The "engine" really.
-
endogenic
it'll be out soon
-
woodser[m]
trying to build the old v0.18.1.0 release (727bc) on linux, we're hitting errors like:... (full message at <
libera.ems.host/_matrix/media/v3/do…66dd35e490c327152c49462212aeb5891ce>)
-
selsta
does anyone know about podman
monero-project/monero #8639 ?
-
selsta
do we support this?
-
moneromoooo
If it helps, Townforge builds with podman as a submodule of Feather wallet.
-
moneromoooo
With monero... close to latest release.
-
selsta
I just have to figure out what podman is exactly
-
moneromoooo
It's a mostly compatible alternative to docker that doesn't require a deamon.
-
moneromoooo
And is generally not a fucking pain in the arse.
-
moneromoooo
(mostly compatible meaning, you just replace "docker" with "podman" in command lines and it'll generally work, without the pain in the arse part)
-
selsta
oh so it uses dockerfiles?
-
selsta
as input?
-
moneromoooo
Yes.
-
selsta
ok then it makes sense