-
sech1
good news everyone, a long standing bug has been found and fixed:
tevador/RandomX #281
-
hyc
-
hyc
long-standing bug that only affected Mac aarch64
-
fvok4
hello, where I can find information about the average time a monero node, using consumer-grade cpu, takes to verify a RCCTypeBulletproof2 transaction (which is currently the standard) ?
-
fvok4
also, about the time a client would normally take to build a transactions (just build, not the broadcast time, which is affected by the network)
-
m-relay
<jeffro256:monero.social> Depends on what you mean by verify: do you mean the time it takes for `monerod` to see the transaction, deserialize, run semantics test it, fetch required input context information, then do ring sig tests?
-
fvok4
I expect it to be in the order of milliseconds, but this is just a guess.
-
m-relay
<jeffro256:monero.social> or do you mean just the time it takes to verify ring signature
-
rbrunner
I think everybody around here needing such info would just grab the source code, add some timing code, compile, run
-
fvok4
jefrro256, if you can provide both times that would be even better!
-
m-relay
<jeffro256:monero.social> For the latter you can run the performance tests
-
fvok4
rbrunner, an official source, academic paper, or related source would be better in my case
-
fvok4
jeffro256, where I can find instructions to run those tests locally?
-
rbrunner
I understand, I just doubt somebody did this, and published
-
fvok4
if nobody published something about it, then it will be extra work for me, which I wanted to avoid
-
m-relay
<jeffro256:monero.social> To run the performance tests locally, compile the source code, then go to the build directory and run `tests/performance_tests/performance_tests`. The relevant test case is `test_sig_clsag`
-
fvok4
excellent, thanks!
-
m-relay
<jeffro256:monero.social> You also need to verify bulletproofs for a transaction so check out the case `test_bulletproof_plus`
-
m-relay
<jeffro256:monero.social> As for the in-practice time to verify a transaction, run `monerod` with `--log-level perf.txpool:INFO`, and filter for `add_tx`
-
fvok4
thanks, that is what I need
-
m-relay
<jeffro256:monero.social> Note that this entries will also include the times it takes to check that a transaction is *invalid*. So if you daemon is getting spammed with invalid transactions, this will throw off your data
-
m-relay
<jeffro256:monero.social> But its a good rough measurement otherwise