-
ridauhebauye[m]
I've been reading a fair bit of monerod code trying to figure some things out, it's starting to get very time consuming so hopefully I can get a few answers here instead. My end goal is to have the safest possible Tor-only configuration for monerod. Initially I was hoping that I could set --proxy and monerod... (full message at <
libera.ems.host/_matrix/media/r0/do…6fe6c0eb9a83d6a6f453494c04d05049c0d>)
-
jadeydi[m]
hi, I want to invoke functions from monero, list sign transaction, address format etc, using other languages, for go here. But there's not sdk right now, so I want to use CGO (it not support c++), does there c library for monero?
-
stretch1
> <@ridauhebauye:matrix.org> I've been reading a fair bit of monerod code trying to figure some things out, it's starting to get very time consuming so hopefully I can get a few answers here instead. My end goal is to have the safest possible Tor-only configuration for monerod. Initially I was hoping that I could... (full message at <
libera.ems.host/_matrix/media/r0/do…e5c4c55790ef75b42e9dab2e1ce13742fd0>)
-
stretch1
-
NorrinRadd
ridauhebauye[m] you will not have incoming connections but once you make an outgoing connection, transactions should be bidirectional.
-
ridauhebauye[m]
<NorrinRadd> "ridauhebauye you will not have..." <- But Dandelion++ compliant nodes only send out to outgoing connections, so while they can be bidirectional they won't be in practice. Or did I get that wrong?
-
ridauhebauye[m]
<stretch1> "> <@ridauhebauye:matrix.org> I'..." <- Thanks that's what I was looking for.
-
NorrinRadd
ridauhebauye[m] sorry i tagged the wrong person
-
r4v3r23[m]
while testing proxy settings in an android wallet, it looks like monero doesnt respect the proxy and falls back to clearnet when proxy connection cant be made (like shutting tor down after initializing wallet)
-
r4v3r23[m]
is this expected behavior?
-
ofrnxmr[m]
I dont see why this would have anything to do with monero - the proxy is the issueb
-
NorrinRadd
ofrnxmr[m] it shouldn't resort back to clearnet. that's a privacy leak. if you set it to a proxy it should only use that proxy or just fail 100%
-
moneromooo
I'm not familiar with the monero proxy code, but if it's a real proxy (and not --tx-proxy), then it should definitely not connect direct.
-
moneromooo
I assume this is a monerod option, not a separate proxy like torsocks, right ?
-
moneromooo
ie, monero doesn't check the HTTP_PROXY env var.
-
NorrinRadd
r4v3r23[m] ^
-
ofrnxmr[m]
Im under the impression the proxy is not a monerod optiob
-
ofrnxmr[m]
--proxy definitely doesnt fall back to clear
-
duggavo[m]
RandomX uses 2MiB scratchpad to be GPU-resistant.
-
duggavo[m]
However, the RTX 4090 has 24 GBs of memory, which is about 11500 times 2 MiB.
-
duggavo[m]
The RTX 4090 has 16384 CUDA cores.
-
duggavo[m]
Does this mean that RandomX is not really GPU-resistant anymore, or GPUs are still noticeably slower because GPU memory has more latency than CPU core cache?
-
NorrinRadd
duggavo[m] it has l3 cache?
-
r4v3r23[m]
<NorrinRadd> "ofrnxmr it shouldn't resort back..." <- exactly
-
r4v3r23[m]
<moneromooo> "I'm not familiar with the monero..." <- im using `--proxy 127.0.0.1:9050`
-
r4v3r23[m]
<moneromooo> "I assume this is a monerod..." <- yes
-
NorrinRadd
-
sech1
duggavo[m] you can always try and test
github.com/SChernykh/RandomX_CUDA
-
sech1
memory is only one of many obstacles for an efficient RandomX GPU implementation
-
hyc
latency is a big one for GPUs, since their memory is optimized for sequential access not random access
-
selsta
r4v3r23[m]: just tested and --proxy does not fall back to clearnet, you have to be more specific
-
selsta
tested both daemon and wallet with --proxy
-
pepin[m]
How does p2p discovery work? I am trying to get my node to connect to other nodes via IPv6, however monerod uses ipv4 only even when it's not bound to an address.
-
pepin[m]
Perhaps I can somehow discover IPv6 enabled nodes manually? (Maybe monerod just prefers IPv4 when dual-stack is available)
-
r4v3r23[m]
<selsta> "r4v3r23: just tested and --..." <- ill look into it deeper. just wanted to be sure it wasnt meant to fall back to clearnet
-
selsta
if you can reproduce it then i need detailed steps, just running with --proxy and closing tor doesn't make it fallback to clearnet for me