-
dabbonda
Registration has been disabled on this homeserver.
-
dabbonda
Got this error when trying to join monero.social homeserver matrix with element.
-
Guest25
hi friends, this is my first time here
-
m-relay
<nonlogs:matrix.org> So, can you tell me the CPU and memory usage for this action would it crash? for 100k subaddress.
-
m-relay
<rbrunner7:monero.social> I am not sure, but I dimly remember to have read somewhere that somebody tried something like this number of subaddresses, and it did not crash, but it became very sluggish.
-
m-relay
<rbrunner7:monero.social> Anyway, the system is not designed and not built for such a high number of subaddresses, you are outside of the spec with that so to say, and it or may not work, and if it doesn't, nobody may care to improve the code. I think investing time into finding a way to avoid 100k subaddresses and still solving your use case would be a good idea.
-
m-relay
<nonlogs:matrix.org> If I make the hot wallet account 1 and keep user funds in account_index = 0, then run sweep_all daily to move funds into account_index = 1, the unspent outputs in account_index = 1 won’t be swept is that the best approach?
-
m-relay
<nonlogs:matrix.org> Or should I instead maintain a database table that records which subaddresses received deposits each day, and call sweep_all with the specific subaddr_indices for those addresses which approach is better?
-
m-relay
<nonlogs:matrix.org> Does XMR have issues tracking incoming transactions if there are more than 100k subaddresses, or would it still work smoothly? I’m asking this in terms of exchange scalability.
-
m-relay
<rbrunner7:monero.social> Frankly, I think if you really wanted to know for sure, you would have to try yourself. I don't know how big exchanges manage their XMR wallets, and they probably won't tell anyway.
-
m-relay
<nonlogs:matrix.org> Running multiple wallets i guess. 10k subaddy each maybe.
-
m-relay
<rbrunner7:monero.social> Could be, yes.
-
m-relay
<rbrunner7:monero.social> But realistically, even for a big exchange 10k of incoming XMR payments may take a while.
-
m-relay
<rbrunner7:monero.social> From 10k different people. Because if you know the wallets, you can give somebody the same address again if they transfer again, right?
-
m-relay
<rbrunner7:monero.social> Or, if you know the people of course
-
m-relay
<nonlogs:matrix.org> Yes, that’s true for XMR, but with XMR forks like WOW and RYO, those limits can be easily surpassed.
-
m-relay
<nonlogs:matrix.org> Yes 1 account gets 1 subaddy thats how it works. so 10k accounts = 10k subaddy.
-
m-relay
<rbrunner7:monero.social> No offense, but this reminds me a bit of questions of people about websites: "How to build a website for 1000 hits per second?" "Wow, you will have 1000 hits per seconds? You aware how few websites worldwide have traffic like that?" Half a year later: The built website gets 5 hits per seconds during the busiest times.
-
m-relay
<nonlogs:matrix.org> I already have 150+ wownero subaddresses, and within a few months it could easily exceed 1k. As a developer, I need to be prepared for the worst case scenario.
-
m-relay
<rbrunner7:monero.social> Fair enough. Personally I tend to think sometimes it's enough to *know* what I will do if I have to scale, but not yet scale to such heights *today*. Maybe things develop in different ways than I anticipated. And maybe the bottlenecks won't be where I expected them, at all.
-
m-relay
<rbrunner7:monero.social> FCMP++ is also some kind of a wildcard: If you plan years ahead, which is of course prudent, right now it's hard to do. FCMP++ transactions will be bigger, we will see how things behave with that. A bit hard to predict *exactly*.
-
m-relay
<rbrunner7:monero.social> People at the bleeding edge of the FCMP++ test net currently have the problem that, with the still pretty un-optimized code, transactions take much longer to create, for example.
-
DataHoarder
Curious about mempool stats, wouldn't the invalidated transactions be considered "failing"?
paste.debian.net/plainh/ad7f286d
-
DataHoarder
however for the 116 invalidated transactions it lists 0 failing
-
m-relay
<rbrunner7:monero.social> Yes, after a first look into the code it looks a bit strange why those would not get counted as "failing"
-
DataHoarder
Maybe this node saw them initially?
-
m-relay
<rbrunner7:monero.social> I also have a daemon which has them in the pool, not failing as well
-
m-relay
<rbrunner7:monero.social> Maybe one of those cases of a decade-old bug, or at least weakness, where it never mattered enough for somebody to really care :)
-
DataHoarder
maybe
-
m-relay
<rbrunner7:monero.social> <.,,,,.<.,y<.<<:;><e3yx
-
m-relay
<rbrunner7:monero.social> £
-
m-relay
<helene:unredacted.org> i agree with the csat
-
m-relay
<helene:unredacted.org> i agree with the cat
-
m-relay
<helene:unredacted.org> cat*
-
m-relay
<rbrunner7:monero.social> Not cat, my grandchildren :)
-
m-relay
<helene:unredacted.org> oh darn :D
-
m-relay
<rucknium:monero.social> DataHoarder: Did you try to mine on the node with `start_mining`? I only saw log messages about failed tx verification when I tried to mine them.
-
DataHoarder
Not on this one. I mean print_pool_stats
-
m-relay
<rucknium:monero.social> tx verification caused by re-org on testnet and misaligned global output index, I mean.
-
m-relay
<rucknium:monero.social> I don't think the node tries to re-verify a txpool tx unless it needs to, e.g. when trying to create the block template for mining.
-
DataHoarder
it's mainnet node, not testnet
-
m-relay
<rucknium:monero.social> You can still start mining on it. Just won't find a block soon :)
-
m-relay
<rucknium:monero.social> I don't want to touch any of my mainnet nodes yet with `start_mining` since it's like disturbing a crime scene. Must preserve the evidence!
-
DataHoarder
well yeah. this is also mainnet :D
-
DataHoarder
I started "mining" on it but via p2pool so it's not relevant
-
m-relay
<rucknium:monero.social> Just tried on testnet (2 stuck txs). It works. `start_mining` those 2 txs into "failing" in the `print_pool_stats` output.
-
m-relay
<rucknium:monero.social> `set_log verify:trace;ringct:trace;txpool:trace` gives you `E Failed to check ringct signatures!` messages when you `start_mining`.
-
DataHoarder
maybe a reorg should re-verify pool txs the same way?
-
m-relay
<rbrunner7:monero.social> Yup, can confirm. Starting to mine does not result in any error messages, but after that the transactions are listed as "failed"
-
m-relay
<ofrnxmr:xmr.mx> Tf r u talking abt..?
-
m-relay
<ofrnxmr:xmr.mx> No fork help here.
-
m-relay
<rbrunner7:monero.social> Uh oh ofrnxmr notices absolutely everything :)
-
m-relay
<nonlogs:matrix.org> Are you sure a wallet file with 100k subaddresses could handle an RPC query for get_transfers or get_balance?
-
m-relay
<rucknium:monero.social> I know for a fact that get_balance is slow if you have lots of accounts, at least. Lots = tens of thousands.
-
m-relay
<nonlogs:matrix.org> ofrnxmr: i think you need to read the question again.
-
m-relay
<rucknium:monero.social> Since I've done it on stressnet.
-
m-relay
<nonlogs:matrix.org> Thats what i have been asking for.
-
m-relay
<ofrnxmr:xmr.mx> theres no diff between wow and xmr
-
m-relay
<ofrnxmr:xmr.mx> You're expecting 100k users = lol
-
m-relay
<rucknium:monero.social> I don't know what happens when you have a single account and tens of thousands of subaddresses since I didn't structure my tx spammer that way.
-
m-relay
<ofrnxmr:xmr.mx> 250k was where antidarknet claimed there to be a slowdowm
-
m-relay
<nonlogs:matrix.org> What I’m saying is that on my exchange, I won’t need to create many subaddresses for XMR since fewer people will be trading it. But many users are interested in WOW, so my exchange could potentially reach over 1k subaddresses in the next few months. I hope that makes it clear.
-
m-relay
<ofrnxmr:xmr.mx> This is a simple excercise. Create 100k subaddresses and then run the query
-
m-relay
<ofrnxmr:xmr.mx> 1k is nothing. Wow doesnt have 10k users, nevermind 100k
-
m-relay
<ofrnxmr:xmr.mx> Again, "_no fork help_"!
-
m-relay
<ofrnxmr:xmr.mx> Read the room description
-
m-relay
<nonlogs:matrix.org> Even if they don’t have 10k users, that doesn’t mean my exchange doesn’t need to prepare for it. I think you have very little experience in development that’s not how things work in production.
-
m-relay
<ofrnxmr:xmr.mx> .. And none of this is related to monero development
-
m-relay
<ofrnxmr:xmr.mx> I think you use chatgpt too much and make assumptions based on hallucinations, and dont read docs
-
m-relay
<ofrnxmr:xmr.mx> ^^ this is the last thing thats needs ti be said on the subject
-
m-relay
<ofrnxmr:xmr.mx> I'm sure [@plowsof:matrix.org](https://matrix.to/#/@plowsof:matrix.org) has ran this exercise
-
m-relay
<nonlogs:matrix.org> any doc's or findings ?
-
m-relay
-
plowsof
For Sweep_all with many outputs: a complex process, selecting outputs and possibly waiting multiple blocks before sending further transactions alot of logic there. In practice sweep_all creates transactions until it grinds to a hault, you just try again and again . As for handling these large wallet caches, there are a few open issues reg how long
-
plowsof
it takes to simply open them
-
m-relay
<ofrnxmr:xmr.mx> [@plowsof:matrix.org](https://matrix.to/#/@plowsof:matrix.org) it only grinds to a halt if you have many outputs to sweep
-
m-relay
<ofrnxmr:xmr.mx> `Sweep all, amount below` daily, should have minimal outputs being spent
-
plowsof
👍
-
m-relay
<ofrnxmr:xmr.mx> sweep_all doesnt only grind to a halt, jt fails entirely if it takes too long to generate all of the txs
-
m-relay
-
m-relay
<ofrnxmr:xmr.mx> But again, these are akl xyprobkem.info
-
m-relay
<ofrnxmr:xmr.mx> Nonlogs's goal is to consolidate dust on a regular basis. This prevents issues described above, so the issues arent relevant
-
m-relay
<ofrnxmr:xmr.mx> I helped a user the other day that had an active wallet with over 100k subaddresses, even resynced the wallet from the restore height. No notable issues with the many addresses
-
m-relay
<ofrnxmr:xmr.mx> Things like coincards and cakepay (btcpayserver) have a a new address for every invoice, and likely far exceed 100k subaddresses.
-
m-relay
<ofrnxmr:xmr.mx> I highly doubt that you will have issues when your users have static addresses, when these services do not have issues when they generate a new address for every invoice