-
Guest2480
i have asked a question on stackoverflow about the implementing double precision floating point math using 3 other rounding modes implemented in terms of nearest ties to even. if this were to be solved it could open up the ability to run randomx in languages like javascript, webassembly, python and so on that don't have the ability to properly
-
Guest2480
-
Guest2480
maybe some of the monero people here might be able to take a look since it concerns your hash function
-
m-relay
<rbrunner7:monero.social> I believe to remember that using those floating point modes is "not a bug, but a feature", a design feature, in a way. You want to make life for ASIC designers as hard as possible, and that's one part of the puzzle there. If implementations of RandomX in environments like JavaScript + WebAssembly fall by the wayside as "collateral damage", so be it. Check e.g. this discussion from<clipped message>
-
m-relay
<rbrunner7:monero.social> 2019:
tevador/RandomX #81
-
m-relay
<rbrunner7:monero.social> And anyway, in most circumstances mining Monero even with full native speed is hardly economical, imagine to make your RandomX implementation slower still ...
-
m-relay
<fede:xmr.mx> i'm afraid you have to implement this in software for executing RandomX on WASM and similar; for Python, Node.JS, Java, Go etc. you can use C++ bindings.
-
m-relay
<fede:xmr.mx> maybe
accurate-algorithms.readthedocs.io/…en/latest/ch02ieee754.html#rounding can help you to implement floating point number rounding modes
-
m-relay
<fede:xmr.mx> SoftFloat has an IEEE 754 implementation in pure C:
jhauser.us/arithmetic/SoftFloat.html
-
m-relay
<fede:xmr.mx> the file f64_roundToInt.c file implements all the rounding modes required by RandomX
-
m-relay
<audrea:matrix.org> hi need help
-
sech1
-
m-relay
-
selsta
last round of merges before tag, is anything still open that should be included in v0.18.3.4?
-
m-relay
<boog900:monero.social> PR 9135?
-
Rucknium
.merges
-
xmr-pr
9287 9345 9357 9380
-
vthor
Is it correct that when I compile from the master tree and then run `monero-wallet-rpc --version` I get: v0.18.1.0-release ?
-
Nausicaa
no if you build from master you should get a commit hash in the version, e.g. v0.18.1.0-caa62bc9e
-
vthor
okay, well that is what I get for linux-x86_64, on RPi I got v0.18.1.0-unkown (well could be because I transfered my folder via scp and maybe didn't copy .git). But so master is v0.18.1.0 or v0.18.3.3 but the version wrong?
-
sech1
Master is v0.18.1.0 but it just has old version number. It actually has all the recent PRs.
-
vthor
sech1: just, to clarify, because the response confused me a bit. So master is the code v0.18.3.3+ but with the wrong version number.?
-
sech1
Yes
-
vthor
sech1, thank you very much! is there one single point to change this easy to let's say `0.18.3.3-modified`?
-
vthor
I added to enpoints to import/export the key images as binary blow, how monero-wallet-cli writes/reads the files. And how i have seen you are on the edge of v0.18.3.4, I don't want to bother with a PR either (would be anyway my first PR ever and didn't check what is all necessary for it)
-
sech1
It is in some header file, but I don't remember. Check how it's done in release-v0.18 branch, look for "prepare v0.18.3.3" or similar commits
-
vthor
s/to endpoints/two endpoints/
-
vthor
sech1: thank you again! :)
-
selsta
boog900: do you think 9135 is tested/reviewed enough to merge?
-
selsta
vthor: it says unknown because it can't find your local git commit for some reason
-
selsta
if you didn't copy the .git folder that would explain it
-
m-relay
<binarybaron:matrix.org> Is there a rust library that wraps wallet2.h?
-
vthor
selsta: makes sense, but on the build on my notebook, dynamically and static linked build say both "Monero 'Fluorine Fermi' (v0.18.1.0-release)", just for you information, not bothered about it, next build I wil search to put current version with '-modified' in that header file.
-
binarybaron
Is there a rust library that wraps wallet2.h?
-
m-relay
<kayabanerve:monero.social> does it have to wrap wallet2 or just able to function as a monero wallet
-
shillo
he left irc already
-
oleg_krx
Hi there! I have a question about Monero node. Is it possible to get IP addresses of those nodes that find blocks? I was researching logs and code in repo, but I haven't found where node return this information. I want to collect IP addresses of pool operators to add it in priority list. Can you give me some guidance on this, please?
-
sech1
You can't get this information directly, you can only observe the network and collect data over time
-
oleg_krx
Yes, I understand that it's only possible over time, but I'm struggling to find log messages which return this info
-
sech1
you can increase log level and look for NOTIFY_NEW_BLOCK p2p messages
-
m-relay
<rucknium:monero.social> oleg_krx: The `net.p2p.msg:INFO` log level should give you `NOTIFY_NEW_FLUFFY_BLOCK` log messages.
-
m-relay
<rucknium:monero.social> For best results, you need to connect to every node on the network. There are about 10,000. Good luck.
-
oleg_krx
I guess I'm missing something, but I cant see either
-
oleg_krx
-
oleg_krx
-
oleg_krx
to return peer IP address
-
m-relay
<rucknium:monero.social> oleg_krx: When I enable that log level, I get log messages like `[<IP>:<PORT> <INC/OUT>] Received NOTIFY_NEW_FLUFFY_BLOCK <BLOCK_HASH> (height <HEIGHT>, <N> txes)`
-
oleg_krx
Ok, thank you very much! I'll try it