-
m-relay
<monero.arbo:matrix.org> so hey, when we get a re-org deeper than 10 blocks, would it make sense for nodes NOT to stick invalidated transactions back in the pool? like, they should be re-checked, right? maybe that's obvious but it seems suboptimal the solution is for users and pools to manually flush their transaction pool
-
DataHoarder
the old one might come back :')
-
DataHoarder
there is no "hidden pool" besides what is done for dandelion
-
m-relay
<monero.arbo:matrix.org> if the old chain comes back, it's okay if the transactions aren't in the pool.... cause they're in the block, yeah?
-
m-relay
<ofrnxmr:xmr.mx> Flushing the txpool _is_ a double spend. Reorging the chain back to old chain, woukd re-validate the txs
-
m-relay
<ofrnxmr:xmr.mx> Not if they were already respent. Auto-flushing the txpool allows those txs to be respent
-
m-relay
<ofrnxmr:xmr.mx> Which recreated problem A. Reorg will invalidate those re-spends
-
m-relay
<drinksomemilk:matrix.org> An 18-block-deep reorg recently hit the chain. Affected blocks were 3499659 → 3499676
-
m-relay
<ofrnxmr:xmr.mx> thanks news
-
m-relay
<ofrnxmr:xmr.mx> Nobody knew
-
m-relay
<ofrnxmr:xmr.mx> ../s
-
m-relay
<monero.arbo:matrix.org> I'm not really sure I follow. There'd be two chain tips with different transactions spending the same coin, and eventually one would win.
-
m-relay
<monero.arbo:matrix.org> I thought we were on the same page that having transactions stuck back in the mempool was bad? sech1 popped into the MoneroOcean discord this morning to ask MO to flush the tx_pool
-
m-relay
<monero.arbo:matrix.org> presumably so people could re-spend those coins
-
m-relay
<ofrnxmr:xmr.mx> Yes, because there is no chance of those "honest" chain to win
-
m-relay
<ofrnxmr:xmr.mx> Those 117 txs, if credited by recipient, are lost funds unless the sender resends them to the recipient
-
m-relay
<monero.arbo:matrix.org> ok, so, at some point those transactions should be kicked, right?
-
m-relay
<ofrnxmr:xmr.mx> 7 days currently
-
m-relay
<boog900:monero.social> IMO the first chains spends are more valid
-
m-relay
<monero.arbo:matrix.org> which is a long time to have your money missing in the ether, no?
-
m-relay
<boog900:monero.social> So the possibility of invalidating spends on the reorg chain doesn't matter as much
-
m-relay
<ofrnxmr:xmr.mx> its the same thing
-
m-relay
<ofrnxmr:xmr.mx> If i send you 100xmr, then flush/reorg when o wasnt looking, then send 100xmr to kucoin
-
m-relay
<monero.arbo:matrix.org> all I'm saying is that if we're asking pool operators to manually flush their TX pool,. it seems there's room for improvement. is that controversial?
-
m-relay
<boog900:monero.social> You can still do this after 7 days now
-
m-relay
<ofrnxmr:xmr.mx> no, there is ropm for improvement
-
m-relay
<monero.arbo:matrix.org> bruh
-
m-relay
<ofrnxmr:xmr.mx> I guess my msg didnt send, but i typed "7 days is excessive"
-
m-relay
<monero.arbo:matrix.org> I misread thought you said "no room for improvement"
-
m-relay
<ofrnxmr:xmr.mx> Haha
-
m-relay
<boog900:monero.social> If you are the miner you can do this now too
-
m-relay
<boog900:monero.social> Just include the tx in the new block
-
m-relay
<monero.arbo:matrix.org> honestly if flushing the TX pool causes the transactions to not get re-added.... it kind of implies to me they shouldn't be there to begin with. A new node coming online would receive that TX and go "nah that's invalid" and dump it, right?
-
m-relay
<ofrnxmr:xmr.mx> flush_txpool isnt for flushing invalid txs imo. Its a debug feature
-
m-relay
<monero.arbo:matrix.org> that's beside the point
-
m-relay
<ofrnxmr:xmr.mx> It flushes valid txs too, so obv not supposed to be widely used
-
m-relay
<monero.arbo:matrix.org> but valid ones get re-added back when the node gets sent the transaction again, right?
-
m-relay
<ofrnxmr:xmr.mx> Fixed difficulty, flush txpool, etc, arent tools youre supposed to use in public
-
m-relay
<ofrnxmr:xmr.mx> I dont understand the q?
-
m-relay
<ofrnxmr:xmr.mx> It doenst cause the txs to not get readded
-
m-relay
<ofrnxmr:xmr.mx> If there is TX A on honest chsin, invalidated, then flushed, then TX B on attacking chain, then honest chain overtakes, TX B nlw becomes invalid
-
m-relay
<monero.arbo:matrix.org> my point is this. when you flush the TX pool, valid transactions (that were just flushed) can get added back.... invalid ones can't
-
m-relay
<ofrnxmr:xmr.mx> And TX A goes back to the block it was originally mined in (but takes longer to propagate it you flush the txs)
-
m-relay
<monero.arbo:matrix.org> so why are the invalid ones there to begin with???
-
m-relay
<monero.arbo:matrix.org> there should never be invalid transactions in the pool, doesn't make any sense
-
m-relay
<ofrnxmr:xmr.mx> supposed to just disappear onto the ether? No record of you sending me money?
-
m-relay
<monero.arbo:matrix.org> "it might become valid later" I mean okay, lots of bullshit transactions might become valid later, doesn't mean they should be stuff in the pool just in case
-
m-relay
<monero.arbo:matrix.org> yes, that is how re-orgs work
-
m-relay
<ofrnxmr:xmr.mx> One minute, i see 8 confirmations, the next minute theres no tx?
-
m-relay
<ofrnxmr:xmr.mx> No it isnt
-
m-relay
<monero.arbo:matrix.org> I mean, in general it is. monero nodes are just wrongly keeping invalid transactions
-
m-relay
<ofrnxmr:xmr.mx> reorgs replace blocks, not intended to invalidate txs
-
m-relay
<monero.arbo:matrix.org> re-orgs can make transactions disappear, that's how it works
-
m-relay
<ofrnxmr:xmr.mx> Invalidating is a monero problem
-
m-relay
<monero.arbo:matrix.org> but it does though
-
m-relay
<ofrnxmr:xmr.mx> LOL no it isnt
-
m-relay
<ofrnxmr:xmr.mx> Reorgs dont delete transactions
-
m-relay
<ofrnxmr:xmr.mx> Thats not how it works, and now how its supposed to work
-
m-relay
<monero.arbo:matrix.org> ??? we are both sitting here agreeing that re-orgs invalidate transactions. invalid transactions may never become valid again, hence disapepar permanently from the blockchain
-
m-relay
<monero.arbo:matrix.org> you're taking what I'm saying in bad faith
-
m-relay
<ofrnxmr:xmr.mx> This is an _issue_ with monero 10 block lock
-
m-relay
<ofrnxmr:xmr.mx> This is not a reorg feature
-
m-relay
<monero.arbo:matrix.org> anyway, we've heard your opinion. maybe let somebody else react, cause I somehow doubt that everyone agrees with you about how the mempool is handed when re-orgs go deeper than 10 blocks
-
m-relay
<monero.arbo:matrix.org> you always have to be the dominant voice, arguing with whatever just to hear yourself, it's so tiring
-
m-relay
<ofrnxmr:xmr.mx> suck me sideways
-
DataHoarder
I commented on the same points ofrnxmr did elsehwere
-
m-relay
<ofrnxmr:xmr.mx> You're tirong
-
DataHoarder
sadly invalidating the transactions also discloses the true spend as ringdb is not used for the re-spend
-
DataHoarder
the transaction going back to pool is there to prevent attackers from abusing this normally
-
DataHoarder
ofc, in this case it's affecting normal users
-
m-relay
<monero.arbo:matrix.org> that's already the situation though, when pool operators are manually flushing so people can re-spend, AND it'a also the case when the re-orgs ("attacking") chain wins, which after at most a few hours we can say pretty definitely which chain won
-
m-relay
<monero.arbo:matrix.org> keeping the transactions for a week isn't protecting anyone's privacy, really
-
DataHoarder
yeah. current monero setup is not optimal
-
DataHoarder
but that's exactly what the code running in the wild has
-
m-relay
<monero.arbo:matrix.org> if anything keeping those transactions around for so long instead of purging them asap damages people's privacy more, cause only adversaries that kept the old alt chain or transactions from the memory pool will gain the advantage you're talking about
-
m-relay
<monero.arbo:matrix.org> more time for the data to be scrapped
-
m-relay
<boog900:monero.social> IMO the protections from a tx on chain A being invalidated by a reorg then a tx on chain B being invalidated by A coming back is not worth the inconvenience of not being able to spend your monero for a week if chain B stays ahead
-
m-relay
<ofrnxmr:xmr.mx> A week is too long. Who knows why 7days was chosen
-
m-relay
<boog900:monero.social> Well because this probably wasn't the scenario the people who wrote this code had in mind
-
m-relay
<ofrnxmr:xmr.mx> Double spends are only 3 days. Moo said the values may have been 1 day and 3 days at some point. Maybe discussion available about why
-
m-relay
<boog900:monero.social> I don't think the reason is to prevent double spends on the other chain at all
-
m-relay
<ofrnxmr:xmr.mx> About why increased to 3 and 7
-
m-relay
<ofrnxmr:xmr.mx> It doesnt make sense (to me) that invalid are kept for longer than double spends. Maybe theres some reason for that design?
-
m-relay
<ofrnxmr:xmr.mx> Double spends are kept because the node only accepts the first one seen (right?), but why keep a double spend after its been mined?
-
m-relay
-
m-relay
<boog900:monero.social> Cuprate removes txs by key image monerod does tx hash
-
m-relay
<boog900:monero.social> One is malicious by the tx creator the other is not
-
m-relay
<boog900:monero.social> You also assume a lot of thought went into the design
-
m-relay
-
m-relay
<basses:matrix.org> was the redacted info something personal or could affect Monero (if one not trusting h1)?
-
m-relay
<boog900:monero.social> It was discussion on another vuln
-
m-relay
<syntheticbird:monero.social> yeah I when I drop in a report I immediately doxx myself
-
m-relay
<basses:matrix.org> nothing to hide ;)
-
m-relay
<syntheticbird:monero.social> vulnerability transparency to the next level
-
m-relay
<woodser:monero.social> it appears `--rpc-max-connections-per-private-ip` is limited to 100 before monerod cannot even start. is there any reason this couldn't have an upper limit of e.g. 1000 for local development?
-
m-relay
<woodser:monero.social> maybe this is a good question for vtnerd , but any responses appreciated
-
sech1
Do you make more than 100 parallel RPC requests to your monerod?
-
m-relay
<syntheticbird:monero.social> also include traffic coming from Tor daemon
-
m-relay
<woodser:monero.social> I have more than 100 monero-wallet-rpcs connected to my monerod. my understanding (and what I see) is that they still count against the limit even after the stop making any requests
-
m-relay
<syntheticbird:monero.social> I suppose that there is a micro delay between the connection being closed on the client end the destructor triggering a decrement in monerod
-
m-relay
<woodser:monero.social> i.e. they're just running but not syncing
-
m-relay
<syntheticbird:monero.social> if the socket is opened then yes it counts as a connection
-
m-relay
<woodser:monero.social> yeah
-
m-relay
<ofrnxmr:xmr.mx> --rpc-max-connections
-
m-relay
<woodser:monero.social> yep :)
-
m-relay
<ofrnxmr:xmr.mx> You cant raise -per-private-ip higher than -man-connections
-
m-relay
<ofrnxmr:xmr.mx> --rpc-max-connections 1000 --rpc-max-connections-per-private-ip 1000
-
m-relay
<ofrnxmr:xmr.mx> it should also only effect restricted rpc
-
m-relay
<woodser:monero.social> just discovered that, testing now. probably monerod should show an informative error when rpc-max-connections-per-private-ip is set higher than rpc-max-connections instead of just not starting
-
m-relay
<ofrnxmr:xmr.mx> But i was having some "no connection to daemon" errors, and bumped it anyway
-
m-relay
<ofrnxmr:xmr.mx> It does
-
m-relay
<ofrnxmr:xmr.mx> Like 5 lines up fron the bottom on lvl 0 log
-
m-relay
<ofrnxmr:xmr.mx> In red
-
m-relay
<ofrnxmr:xmr.mx> :P
-
m-relay
<woodser:monero.social> ah right there it is :D
-
sech1
It's not only restricted rpc
-
m-relay
<ofrnxmr:monero.social> its supposed to be, hmm
-
m-relay
<ofrnxmr:monero.social> maybe they are just counted separately (or i misunderstood). I had expressed concerns about an external entity/ies using all of connections, blocking you from being able to control the node via unrestricted, and was told something along the lines of the limits only applying to restricted rpc
-
sech1
I recently hit that limit on an unrestricted RPC, so I had to increase it. As far as I can see, the limit is applied on the lower level, where monerod doesn't know if it's restricted or not
-
m-relay
<rucknium:monero.social> Are there strong objections now to deploying temporary rolling DNS checkpoints very soon, in light of the recent 18-block re-org?
-
m-relay
<rucknium:monero.social> `18 blocks long, from height 3499659 (437 deep), diff 510191663980291508: 9489923b1773c2575e3320b84357e451b2dc625ba1cb9d2f4d6c352689c5ac7d`
-
m-relay
<rucknium:monero.social> ^ From `alt_chain_info` input into the `monerod` console.
-
m-relay
<ofrnxmr:xmr.mx> xmrchain.net <- 117 txs invalidated
-
DataHoarder
I can get a precise list of transactions ids involved close to the reorg so these can be checked
-
m-relay
<syntheticbird:monero.social> none
-
m-relay
<syntheticbird:monero.social> I'll just say that if we have a few days ahead of us WE NEED TO PREPARE by already, pre-deployment call out that Qubic is very likely to go on a social disinformation campaign
-
m-relay
<syntheticbird:monero.social> The sooner we alert the community that its gonna happen the less damage and fuss they are gonna cause.
-
m-relay
<applelover999:matrix.org> Sounds like a good idea. Perhaps accompanied with a press release or tweet from the @Monero twitter handle.
-
m-relay
<applelover999:matrix.org> Good thinking SyntheticBird 👍
-
m-relay
<syntheticbird:monero.social> I don't think the @Monero twitter handle should be the representative. They could probably relay an MRL statement similar to the gist written and shared on the recommendation of enabling ban list because of spy nodes concerns
-
m-relay
<syntheticbird:monero.social> MRL would simply explain the reason and scope of this mitigation
-
m-relay
<syntheticbird:monero.social> then community members can share it ahead and warn on a potential smearing campaign
-
m-relay
<rucknium:monero.social> Right. I think a statement coming from MRL makes sense. The Core Team wants to remain technically neutral, but available to implement the DNS checkpoints if needed, from what I interpret.
-
DataHoarder
The preparation time was from the end of August or so :)
-
DataHoarder
Now better than later I guess
-
m-relay
<applelover999:matrix.org> Sounds fine. Although the statement should be written from a position of strength, calmness, and control. Avoid using words like "concerns", "worries", "fear". A strong, short, firm response will hit harder than the opposite.
-
m-relay
<applelover999:matrix.org> Plus, the other side is pussies anyway.
-
m-relay
<syntheticbird:monero.social> (read it with an old guy voice) LANGUAGE
-
m-relay
<syntheticbird:monero.social> if MRL has to take some tones that should without a doubt be pragmatism and objectivity. It's not their role to reassure people
-
m-relay
<ofrnxmr:xmr.mx> I'll make the statement
-
jpk68
Is this an official account?
-
jpk68
-
m-relay
<ofrnxmr:xmr.mx> No
-
m-relay
<ofrnxmr:xmr.mx> It says "unofficial"
-
jpk68
True, my bad
-
jpk68
I was thinking perhaps it was 'official' for this board but not the Monero project
-
jpk68
Thanks though
-
DataHoarder
The statements will come from GitHub and MRL blog, then spread across with that as source
-
m-relay
<woodser:monero.social> is there any way to make monero-wallet-rpc's `get_height` call return its current height immediately, without blocking in the request queue? it can be a real problem not being able to know if the wallet is making any progress
-
m-relay
<ofrnxmr:xmr.mx> Are you using 18.4.2?
-
m-relay
<ofrnxmr:xmr.mx> It should do so, (return between refresh pulls)
-
m-relay
<ofrnxmr:xmr.mx> 18.4.1 should iirc
-
m-relay
<woodser:monero.social> I’m using 18.4.1, but `get_height` still blocks for long periods while background refreshing
-
m-relay
<ofrnxmr:xmr.mx> It should only block for the current download batch
-
m-relay
<ofrnxmr:xmr.mx> And respond before it pulls the next batch
-
m-relay
<ofrnxmr:xmr.mx> refresh -> listen -> respond -> refresh
-
m-relay
<binarybaron:matrix.org> This has been an issue for forever. If you use wallet2_api directly you can listen for actual progress events.
-
m-relay
<binarybaron:matrix.org> (with FFI bindings)
-
m-relay
<ofrnxmr:xmr.mx> It was fixed recently
-
m-relay
<ofrnxmr:xmr.mx> Fixed/improved
-
m-relay
<ofrnxmr:xmr.mx> But yes, wallet-rpc blocked everythinf (including sigterm) while it was syncing
-
m-relay
<applelover999:matrix.org> You're totally right about being pragmatic and objective. I agree with you there. But do remember that delivery of that information still holds immense power.
-
m-relay
<applelover999:matrix.org> You will have to choose a tone anyway. Might as well be pragmatic, objective and cool/calm than pragmatic, objective, and worried/fearful.
-
m-relay
<ofrnxmr:xmr.mx> Fud gave us a 10% pump. MRL isnt concerned with politics or public perception
-
m-relay
<ofrnxmr:xmr.mx> a technical response is all you should be asking of dev or mrl. If you want marketing Monero Marketing