-
m-relay
<blurt4949:matrix.org> Not sure if this is the right place to ask, but are there any known limitations on CLSAG ringsizes? I'm on a private testnet and aiming for ringsize = 2^20 (~1 million). I've successfully done 2^15, with 2 inputs even, but somewhere between there and 2^16 I get seemingly random errors such as "Error: internal error: Daemon response did not include the requested real output", and "<clipped message>
-
m-relay
<blurt4949:matrix.org> Error: failed to get output: possibly lost connection to daemon". I don't know exactly where the limit is, but 50000 also seems to fail. Using the CLI wallet.
-
moneromooo
Try increasing timeouts to silly high values, and running with plenty of RAM.
-
moneromooo
Technically you can't use close to the amount of outputs available because the wallet asks for... 3x maybe... what it needs, so it can discard what can't be used and still have enough. But there's no inherent limit anywhere near 50k.
-
moneromooo
However, you may run into the max tx size, which is basically half the max blck size (not consensus, consensus only limits to block size).
-
m-relay
<blurt4949:matrix.org> I have the timeout set to 3 hours, and RPC content length limits, max block size limits, etc set to very high values. However, I do only have about 70000 outputs on in the network, so I'll try to ~4x that tomorrow. Thank you :)
-
m-relay
<blurt4949:matrix.org> Might as well bump up the timeout more just to be safe, too.
-
moneromooo
Look for "size_t base_requested_outputs_count = (size_t)((fake_outputs_count + 1) * 1.5 + 1);" in wallet2.cpp, it's 1.5x, not 3x. Just change it to be 1.0 and + 61 (there'll be 60 locked coinbases that aren't usable, plus one because easier than to think).
-
rbrunner
blurt4949: Just curious, what's the motivation behind this finding of limits? Is there a use case for ringsizes of 10,000 members or so?
-
m-relay
<someoneelse495495:matrix.org> Be aware monero channels are broken on Matrix. Messages from monero.social accounts take hours/days to come on matrix.org.
-
m-relay
<someoneelse495495:matrix.org> Aside, you shouldalso ask that question on Monero Research Lounge
-
rthorsen
Recently compiled 0.18.3.3 (migrated from 0.18.1.0 that was reasonably stable before mempool floods) and started to have "std::bad_alloc" exceptions all day along in monerod running on Debian 11 (without non-free and contrib repos)
-
rthorsen
I was able to capture a specific pattern that sometimes repeats every few minutes:
paste.debian.net/1313208
-
rthorsen
any idea on what it might be?
-
rthorsen
monerod runs without any startup params or custom configuration
-
rthorsen
it also affects RPC reachability and results into random 'no connection to daemon' on the wallet RPC, exactly during interval when this exception happens +-30s
-
rthorsen
no abnormalities in RAM usage
-
rthorsen
the hw specs are 16 cpu threads / 32 GB RAM / NVMe disk
-
moneromooo
Ideally, the stack trace would list the calls, but it broke long ago and nobody put the work in to fix it, me included. What you can do instead is attach with gdb (gdb PID), then:
-
moneromooo
catch throw
-
moneromooo
cont
-
moneromooo
Then, type "cont" until the stack trace is the one you expect (bt to see).
-
moneromooo
Seeing the place it seems to happen (based on the timestamps and the "block_batches" log just prior to it), it's probably randomx trying to allocate huge pages and failing.
-
moneromooo
That should not cause RPC issues though, so maybe not...
-
m-relay
<detherminal:matrix.org> Is PoW change planned for Seraphis or etc.?
-
rbrunner
No.
-
rbrunner
There is an update for RandomX in the works that adjusts a few things. Technically, this is a PoW change and needs a hardfork to introduce.
-
rbrunner
Seems to me we are in danger to fail *again* to get rid of tx locks. This PR waits quite a while already and has 1 rewiew (from me):
-
rbrunner
-
rbrunner
(First attempt to get rid of this was 2020/2021)
-
rbrunner
Diskussion in the MRL meeting and on GitHub was almost 2 months ago.
-
rbrunner
-
m-relay
<xfedex:matrix.org> no, randomx/v2 is planned, to be decided, but it's not really related to / required by seraphis
-
m-relay
<123bob123:matrix.org>
libera.monerologs.net
-
m-relay
<123bob123:matrix.org> easier to see responses
-
m-relay
<nobfg9000:matrix.org> wait, monero has timelocks?
-
m-relay
<nobfg9000:matrix.org> interesting
-
m-relay
<nobfg9000:matrix.org> couldn't you do this to implement subscriptions in a passive-ish way?
-
m-relay
<nobfg9000:matrix.org> like if I want to "subscribe" to some service from you for 0.05 XMR/month for a year, I could just draft and sign 12 of 0.05 XMR transactions with timelocks and give them to you. That way I don't need to have a running daemon like
github.com/lukeprofits/Monero_Payment_Request_Standard and If I want to cancel the subscription midway I just churn the coins that would otherwi<clipped message>
-
m-relay
<nobfg9000:matrix.org> se have been sent.
-
m-relay
<nobfg9000:matrix.org> damn its already documented on github, i thought that was an original idea