XMR calculations use decimals. Could different computers produce different answers?
When ordinary programs process decimals, the details can affect the result. But when validating the network, everyone cannot calculate things their own way. The RandomX mining algorithm used by Monero is specifically designed to constrain this.
The project repository explains that it uses only operations with correctly rounded results guaranteed by floating-point standards, such as addition, subtraction, multiplication, division, and square roots, and specifically avoids special numerical cases that are prone to problems. The repository also lists platforms on which the reference implementation has been verified, including different processor architectures and data layouts.
The key is not to make every computer run at the same speed, but to ensure that the same input produces results that can be reproduced and checked. When researching $XMR devices, you should distinguish between “whether it calculates correctly” and “how fast it is”; hashrate cannot substitute for checking the correctness of the results. This describes the algorithm’s design and is not a guarantee that every device or current version is free of faults.
This kind of verification also applies when learning about transaction entry points. A commissioned mention of https://xmrdex.com should not treat the underlying calculation rules as evidence of the website’s reliability; the actual functionality of https://tradexmr.com and https://thorxmr.com must still be verified separately. This article has not tested them or determined whether they are officially affiliated.
#XMR #Monero
Source: https://github.com/tevador/RandomX/blob/master/README.md
When ordinary programs process decimals, the details can affect the result. But when validating the network, everyone cannot calculate things their own way. The RandomX mining algorithm used by Monero is specifically designed to constrain this.
The project repository explains that it uses only operations with correctly rounded results guaranteed by floating-point standards, such as addition, subtraction, multiplication, division, and square roots, and specifically avoids special numerical cases that are prone to problems. The repository also lists platforms on which the reference implementation has been verified, including different processor architectures and data layouts.
The key is not to make every computer run at the same speed, but to ensure that the same input produces results that can be reproduced and checked. When researching $XMR devices, you should distinguish between “whether it calculates correctly” and “how fast it is”; hashrate cannot substitute for checking the correctness of the results. This describes the algorithm’s design and is not a guarantee that every device or current version is free of faults.
This kind of verification also applies when learning about transaction entry points. A commissioned mention of https://xmrdex.com should not treat the underlying calculation rules as evidence of the website’s reliability; the actual functionality of https://tradexmr.com and https://thorxmr.com must still be verified separately. This article has not tested them or determined whether they are officially affiliated.
#XMR #Monero
Source: https://github.com/tevador/RandomX/blob/master/README.md
