-
m-relay
<rucknium:monero.social> MRL meeting in this room in two hours.
-
m-relay
<rucknium:monero.social> I suspect that churning almost always provides more privacy than not churning. Proving that suspicion is another matter entirely.
-
m-relay
<rucknium:monero.social> At least one churning case that I can think of that could reduce privacy is if a user uses `sweep_all` when they have a lot of outputs. Then an adversary that suspects that the user owns that set of outputs may be able to essentially confirm that hypothesis. Of course, normal use will consolidate outputs, too, but maybe not all at once.
-
m-relay
<0xfffc:monero.social> Past 8,9 days I have been fighting with a severe flu ( maybe COVID19 variant ), and basically don’t have much update other than general PR reviews. Apologies for the lack of update. Going back to bed 🛌 🤧😷🤒😩
-
m-relay
<rucknium:monero.social> Get well soon :)
-
m-relay
<kayabanerve:matrix.org> Rucknium: so churn outputs individually for the desired k-anonimity before consolidating?
-
m-relay
<kayabanerve:matrix.org> *I don't want to open an in-depth discussion in what's a very ambiguous discussion. I'm just noting that seems to benefit that concern.
-
m-relay
<rucknium:monero.social> Sounds reasonable. I have a wonderful proof of this, too. It just won't fit in the margins of this page.
-
m-relay
<0xfffc:monero.social> Thanks a lot 🙏🏻
-
m-relay
<syntheticbird:monero.social> pov: you just invented the entire elliptic curve theory in your head.
-
m-relay
<syntheticbird:monero.social> (supposing wile's proof was fermat one obv)
-
m-relay
<rucknium:monero.social> Meeting time!
monero-project/meta #1102
-
m-relay
<rucknium:monero.social> 1) Greetings
-
m-relay
<jberman:monero.social> *waves*
-
rbrunner
Hello
-
m-relay
<chaser:monero.social> hello
-
m-relay
<vtnerd:monero.social> Hi
-
m-relay
<kayabanerve:matrix.org> 👋
-
m-relay
<syntheticbird:monero.social> Hello
-
m-relay
<rucknium:monero.social> 2) Updates. What is everyone working on?
-
m-relay
<rucknium:monero.social> me: Wrote a review of "Uniformly Most Powerful Tests for Ad Hoc Transactions in Monero":
cypherstack/churn #2 . A comment and a gist about `MAX_INPUTS`/`MAX_OUTPUTS` for FCMP:
monero-project/research-lab #100#issuecomment-2447705805 and
gist.github.com/Rucknium/784b243d75184333144a92b3258788f6 . OSPEAD, too.
-
m-relay
<kayabanerve:matrix.org> I wrapped up the multi-input prover/verifier, worked on the const time contest I'll discuss later, and provided a few write-ups on a few topics.
-
m-relay
<vtnerd:monero.social> Finished http client code and testing in LWS. Various asio related cleanups in lws. Some ci changes in Lws
-
m-relay
<syntheticbird:monero.social> Working on expanding fcmp++ crate FFI on jberman's monero branch
-
m-relay
<syntheticbird:monero.social> and getting up to speed on FCMP++
-
m-relay
<boog900:monero.social> I spent some time looking into why my node scanner found less than half the amount of IPs vs monero.fail's "Recent Peer" count:
repo.getmonero.org/monero-project/c…als/-/merge_requests/469#note_26940
-
m-relay
<boog900:monero.social> > TL/DR: From the data I have it looks like 40% of the IPs running Monero nodes are not real nodes and ~75% of the "Recent Peers" from my scan using monero.fails tool were from an IP in the 6 main subnets + some 23.92.36.* that the proxy nodes were using.
-
m-relay
<jberman:monero.social> Continuing tree building, mostly been trying to think through optimal async design
-
m-relay
<kayabanerve:matrix.org> inb4 the optimal async design is to download the monero blockchain via drone delivery of a preloaded SSD
-
m-relay
<syntheticbird:monero.social> lmfao
-
m-relay
<jberman:monero.social> that's basically where I was headed
-
m-relay
<rucknium:monero.social> 3) Monero Research Computing Server hardware needs.
-
m-relay
<kayabanerve:matrix.org> Aussies demonstrated how homing pigeons exceeded local ISP transfer rates years ago, why are we ignoring proven
-
m-relay
<kayabanerve:matrix.org> *proven science?
-
m-relay
<rucknium:monero.social> IMHO, 1TB of RAM for about 15 XMR is a good investment for MRL
-
m-relay
<kayabanerve:matrix.org> What's the new update re: hardware? I remember some discussion on it and general vibes of it being worthwhile.
-
m-relay
<syntheticbird:monero.social> fwiw IP over Avian carrier imply huge consequences in case of packet loss (death of pigeons)
-
plowsof
multiple pigeons will be sent of course
-
m-relay
<rucknium:monero.social> Update is: It would even be useful now, since I have to stop a loop to do these MAX_INPUTS/MAX_OUTPUT analyses.
-
m-relay
<rucknium:monero.social> Because I have room for only one database, and that database is being used in RAM
-
m-relay
<kayabanerve:matrix.org> I maintain my vibe it's worthwhile
-
m-relay
<rucknium:monero.social> Ok. I will suggest that gingeropolous puts in a CCS proposal.
-
m-relay
-
rbrunner
Sounds good to me. Will "pay" itself in no time
-
rbrunner
Somehow surprising that over half of all existing txs are 1-input
-
m-relay
<kayabanerve:matrix.org> I posted a gist estimating TX sizes, which I've prior mentally down yet never wrote out the formulas for.
-
m-relay
<kayabanerve:matrix.org> *proof sizes
-
m-relay
<kayabanerve:matrix.org> My mental estimations have been wrong by a factor of ~2.4 which I am now deeply ashamed over.
-
m-relay
<kayabanerve:matrix.org> We can recover the results to just 1.4 by increasing the computational complexity as detailed in the provided table.
-
rbrunner
"5472 exceeds the originally estimated ~2.5kB by a notable margin" That sentence? :)
-
m-relay
<kayabanerve:matrix.org> I'll also note we can be variable here. We can have one-input TX uses a compute factor of 4 and two-input TX use a compute factor of 2. This causes them to share a base cost, which means the block will still efficiently verify.
-
m-relay
<kayabanerve:matrix.org> This would slow down the time to accept a one-input TX into the mempool however (as the one-input TX is now paying a higher base cost and mempool acceptance presumably isn't verifying TXs in batches).
-
m-relay
<kayabanerve:matrix.org> rbrunner: Yes, that's *2.2x larger.
-
m-relay
<kayabanerve:matrix.org> The other discussion is how this impacts MAX_INPUTS. Please note how a large input quantity spikes the base cost.
-
m-relay
<kayabanerve:matrix.org> If the block only has a single 16-input transaction, that single proof will cost us thousands of scalar multiplications alone. If we had 5 4-input transactions (which is how they'd be aggregated under MAX_INPUTS=4), the computational complexity would be a fraction.
-
m-relay
<rucknium:monero.social> FWIW, the current tx propagation protocol tends to clump txs together in single gopssip messages. About 75 percent of tx gossip messages have more than one tx. See Table 2 of my
github.com/Rucknium/misc-research/b…d/pdf/monero-black-marble-flood.pdf
-
m-relay
<kayabanerve:matrix.org> (as the 4-input TXs would reasonably share their base cost with other TXs, making their cost an amortized percentage of the base cost and only the per-proof costs)
-
m-relay
<kayabanerve:matrix.org> Then for MAX_OUTPUTS, my advocacy to reduce it was so that one cannot be sent outputs faster than one can accumulate them. Since there's a logarithmic time bound, it isn't the end of the world to have exceed MAX_INPUTS. We can discuss reducing MAX_OUTPUTS however if we want to more conservative (while this discussion is on the table) or as we plan for input/output quantity uniformity.
-
m-relay
<kayabanerve:matrix.org> Rucknium: That is great to know, thank you.
-
m-relay
<rucknium:monero.social> The current tx propagation protocol isn't a true classical gossip protocol because the relay timers are per-connection, not per-tx `*` per-connection. Having timers only be per-connection makes txs clump more.
-
rbrunner
"one cannot be sent outputs faster than one can accumulate them" What means "accumulate" here?
-
m-relay
<kayabanerve:matrix.org> If I can send you 8 outputs in one TX, yet you can only use 4 outputs as inputs in a TX, you must make 2 transactions to get 2 outputs (which can be used in a single transaction).
-
m-relay
<rucknium:monero.social> IMHO, it may make sense to have a deep empirical analysis of the best parameters, given the composition of current tx ins/outs.
-
m-relay
<kayabanerve:matrix.org> Those 2 transactions would be to consolidate (accumulate) the received outputs.
-
rbrunner
Ah, I see. You could flood my wallet with enotes faster than I could consolidate them.
-
m-relay
<kayabanerve:matrix.org> My recommendation at this time is likely MAX_INPUTS = 4, or MAX_INPUTS = 8, with a sliding compute factor. The sliding compute factor would have lower-input transactions target the base-cost of higher-input transactions.
-
rbrunner
Will be interesting to see how all these new rules and restrictions and interrelationsships will play out. A whole new world, in a way.
-
m-relay
<kayabanerve:matrix.org> If we assume a batch verification, that's optimal for bandwidth and efficiency purposes, so long as whatever the MAX_INPUTS value is actually appears in most batches.
-
m-relay
<rucknium:monero.social> I have a very preliminary (i.e. have not double-checked for correctness) analysis of how output consolidation would affect input proof size and computational cost for a few different values of `MAX_INPUTS`:
gist.github.com/Rucknium/784b243d75184333144a92b3258788f6
-
m-relay
<rucknium:monero.social> Preliminary summary: "The units are not yet interpretable, but the relative values can be compared between different MAX_INPUTS rules....The size cost metric is 9221, 9355, and 10205 for `MAX_INPUTS` = 4, 8, and 16, respectively. The computational cost metric is 7992, 10353, and 13727 for `MAX_INPUTS` = 4, 8, and 16, respectively."
-
m-relay
<kayabanerve:matrix.org> rbrunner: We can make it more interesting and have the compute factor be smaller over the weekend, give our computers and a couple days off /s
-
m-relay
<rucknium:monero.social> ^ This is an analysis of what happens when users would be forced to change their `inputs > MAX_INPUTS` txs into multi-stage consolidations
-
m-relay
<syntheticbird:monero.social> just so for the uneducated ones at the other side of the room. When you're discussing MAX_INPUTS parameters, you're talking about the limit of inputs a transaction under FCMP++ can contain? If so, are we limited by size or computational power?
-
m-relay
<kayabanerve:matrix.org> I don't expect more progress to be made on this today other than awareness and potential a minor amount of discussion on 4/8 for MAX_INPUTS.
-
m-relay
<kayabanerve:matrix.org> *potentially
-
m-relay
<kayabanerve:matrix.org> SynetheticBird: Both. A 210-input TX (which is currently allowed) would cause ~100k scalar multiplications in a DoSsy af spike to CPU use.
-
m-relay
<rucknium:monero.social> And my analysis assumes that there is no change in how coinbase txs are handled. Consolidation of P2Pool coinbase outputs create a lot of the high-input txs. This is a proposal to change that:
monero-project/research-lab #108
-
m-relay
<kayabanerve:matrix.org> Bandwidth isn't an issue at high-input counts, it amortizes quite well. Bandwidth is an issue at low-input counts due to the base cost.
-
m-relay
<syntheticbird:monero.social> nice try at writing my name + Is the scalar multiplication a work for the wallet (receiver? sender?) or the node?
-
m-relay
<kayabanerve:matrix.org> I'll also note this prioritizes the Curve Forests design which means eventually, Monero won't build one tree (cc jberman to comment on tree building) yet n trees where n == MAX_INPUTS.
-
m-relay
<kayabanerve:matrix.org> Curve Forests wouldn't benefit 1-input TX. It'd make TXs with more inputs even smaller though? I think I'm doing my math there right?
-
m-relay
<kayabanerve:matrix.org> It's a really weird scaling formula.
-
m-relay
<kayabanerve:matrix.org> The proof verification scalar multiplications DoS the node.
-
m-relay
<rucknium:monero.social> On curve forests: does it matter what the MAX_INPUTS are before a hypothetical curve forest activation, or is it good to have limited MAX_INPUTs because it prepares the ecosystem for a low MAX_INPUTS (setting aside the fact that we get better CPU load with MAX_INPUTS with curve _trees_ in the next hard fork)?
-
m-relay
<kayabanerve:matrix.org> All of these proof timing/size discussions really are about nodes (eh, wallet upload bandwidth requirements can also be argued).
-
m-relay
<kayabanerve:matrix.org> Rucknium: If we set MAX_INPUTS to 8 now, I'd go around saying it'll probably eventually become 4. I wouldn't say it's 8 and will likely remain 8.
-
m-relay
<syntheticbird:monero.social> ok thx for the explanations on the dos vector
-
m-relay
<rucknium:monero.social> My question is basically about backward/forward compatibility
-
m-relay
<kayabanerve:matrix.org> The eventual line of progress I see is with a low MAX_INPUTS *unless* we resolve proof folding (which almost certainly doesn't make sense at this scale).
-
m-relay
<kayabanerve:matrix.org> We don't have to set the end-goal low MAX_INPUTS now. We do need to set a reasonable MAX_INPUTS and I'd personally call it an interim MAX_INPUTS for people to adjust to it going even lower.
-
m-relay
<kayabanerve:matrix.org> (though setting a MAX_INPUTS now doesn't lock-in some future MAX_INPUTS, obviously we'd have further discussions when the time comes depending on what makes sense at the time)
-
m-relay
-
m-relay
<kayabanerve:matrix.org> I drafted a competition for anyone to write more efficient implementations of Helios/Selene (affects everything) / divisor calculation (solely affects the prover and is IMO acceptable at this point in time).
-
m-relay
<kayabanerve:matrix.org> tevador prior said they'd do an optimized Helios/Selene. tevador has been incommunicado for some months now.
-
m-relay
<rucknium:monero.social> Would this efficient implementation need to be audited for mainnet deployment?
-
m-relay
<kayabanerve:matrix.org> We can either find an explicit entity to do the work or post an open contest. Then we can aggregate pieces of the submissions for some super lib (or just accept the best one as-is).
-
m-relay
<kayabanerve:matrix.org> I did my best to create a clear set of rules to that end.
-
m-relay
<kayabanerve:matrix.org> ` - name: Audit the implementation of the Towering Curve Cycle`
-
m-relay
<kayabanerve:matrix.org> Yes
-
m-relay
<kayabanerve:matrix.org> Also, no, I'm not outsourcing my own work.
-
m-relay
<kayabanerve:matrix.org> > This will also include an implementation of the towering curve cycle, Helios and Selene, though not one expected to be performant enough for deployment.
-
m-relay
<kayabanerve:matrix.org> I was clear in my CCS I don't expect my impl to be production grade. The fact we did achieve ~13ms when batch verifying FCMPs was a surprise I was quite happy with.
-
m-relay
<kayabanerve:matrix.org> As we now discuss increase the compute factor (decreasing bandwidth, increasing computational time), it's worth prioritizing reducing the cost of each operation of Helios/Selene to balance that out.
-
m-relay
<jberman:monero.social> why pay so much more for ec-divisors versus helioselene, especially considering ec-divisors is acceptable and helioselene isn't right now?
-
m-relay
<kayabanerve:matrix.org> (also, jberman has been bothering me about the time to build the tree which this also helps with)
-
m-relay
<kayabanerve:matrix.org> I said I think ec-divisors is acceptable.
-
m-relay
<kayabanerve:matrix.org> I also am not Monero Customer Support and don't have to deal with anyone complaining proving FCMPs takes longer than ring signatures did.
-
m-relay
<syntheticbird:monero.social> Would a bounty rewards be appropriate for the competition.
-
m-relay
<kayabanerve:matrix.org> ec-divisors is non-trivial *and will be cause user complaints if wallets don't do their jobs properly*.
-
m-relay
<jberman:monero.social> helioselene will cause complaints even if wallets do their jobs properly at this point
-
m-relay
<kayabanerve:matrix.org> ec-divisors, with EC FFT, would presumably be anywhere from 50-80% faster. It just requires someone implement EC FFT which is probably a few weeks of work.
-
m-relay
<kayabanerve:matrix.org> Helioselene will or tree building will which you're now blaming helioselene for?
-
m-relay
<kayabanerve:matrix.org> (not to say that's unfair blame, to clarify what aspect we're complaining about)
-
m-relay
<jberman:monero.social> referring to tree building, which uses helioselene
-
rbrunner
Do we have any known examples of somewhat similar competitions, and how they turned out? Right now I am a bit sceptic of the approach, I confess, i.e. will this attract talent?
-
m-relay
<kayabanerve:matrix.org> Anyways. The work to optimize Helioselene is much less than the work to optimize ec-divisors. The rewards are representative of that.
-
m-relay
<rucknium:monero.social> Maybe make stricter rules about first/second best so that someone cannot submit their first-best implementation with `sleep(0.0001)` to get both prizes.
-
m-relay
<kayabanerve:matrix.org> We can find people to do these tasks, we can host one competition (not both), or I can do the work necessary to action this.
-
m-relay
<kayabanerve:matrix.org> Rucknium: I am planning a rule which does say the judges can just disqualify anything not usable/not in good faith. I'm just wondering how to phrase it in a way which isn't too hostile :(
-
m-relay
<kayabanerve:matrix.org> I'm trying to provide clear rules to minimize drama and to set clear expectations, but it's already such a list of rules because people can find all sorts of loop-holes.
-
m-relay
<kayabanerve:matrix.org> rbrunner: There was one, I can pull it up.
-
m-relay
<kayabanerve:matrix.org> I'm also unsure this will work out in practice. I'm not here to die on the hill of doing this content.
-
m-relay
<kayabanerve:matrix.org>
zprize.io
-
rbrunner
Interesting
-
m-relay
<syntheticbird:monero.social> The competition aims at collecting an implementation that is production ready for a security-critical project. We expect researchers and talents to respect this goal by not providing PoC, prototypes that only fulfill the algorithm characteristics without giving any importance to the level of quality we could expect for a production-ready software.
-
m-relay
<jberman:monero.social> "Prize winners will be determined in good faith and in the sole discretion of prize sponsors" seems solid
-
m-relay
<syntheticbird:monero.social> forgot the quotes
-
rbrunner
USD 500'000 price pools sound impressive
-
m-relay
<rucknium:monero.social> I think this competition is a good idea, FWIW
-
m-relay
<jberman:monero.social> (at the bottom of zprize.io)
-
m-relay
<kayabanerve:matrix.org> Yes I am not proposing 500,000 yet ~50,000, which may be one of the reasons we fail to attract talent :(
-
rbrunner
They take their toys and play elsewhere :)
-
m-relay
<kayabanerve:matrix.org> I'd be a lot more confident at 100k yet it's hard to argue spending 100k on this.
-
m-relay
<syntheticbird:monero.social> make a CCS for real. there is already 0xfffc in the race
-
m-relay
<sgp_:monero.social> At least Monero is cool, it's not some silly goal. It's practical. That'll help attract interest
-
m-relay
<kayabanerve:matrix.org> SyntheticBird: A GPU impl would be disqualified :/
-
rbrunner
Is optimizing the current solution for a few percents of speed gain admissible, according to the rules right now?
-
m-relay
<kayabanerve:matrix.org> We need this to work on VPSs.
-
m-relay
<syntheticbird:monero.social> kayabnerve: 0xfffc is a *"performance engineer"* from what he said. he should be able to make CPU optimization as well
-
m-relay
<kayabanerve:matrix.org> I'd independently 100% support a CCS for GPU-accelerated Android/iOS tree building/scanning..
-
m-relay
<kayabanerve:matrix.org> rbrunner: Floor improvement of 20%.
-
rbrunner
Good.
-
m-relay
<kayabanerve:matrix.org> SyntheticBird: Yeah, I'd love to see them participate. I just want to be clear GPU unfortunately isn't a valid submission *for this proposal*
-
m-relay
<syntheticbird:monero.social> ack
-
m-relay
<jberman:monero.social> what if we reach out to the winners of zprize.io and see if they have thoughts on the contest/if they'd be interested if we did a contest?
-
m-relay
<kayabanerve:matrix.org> Neither is SIMD which I'm more pissier about. SIMD is effectively universal and would be great to build Helioselene around.
-
m-relay
<kayabanerve:matrix.org> The issue is we'd have to write SIMD for each platform or use a third-party SIMD abstraction.
-
m-relay
<kayabanerve:matrix.org> jberman: I wouldn't expect sponsorship yet can email them with the topic :)
-
m-relay
<rucknium:monero.social> IIRC, MoneroNodo wanted some monerod code for GPU since the machine has a GPU.
-
m-relay
<syntheticbird:monero.social> kayabanerve: I feel like that with FCMP++ all the web wallet project relying on web assembly compilation are going to sink deep into the cold abyss. no gpu no simd, no anything in the web realm
-
m-relay
<kayabanerve:matrix.org> It isn't that I don't support GPU backends. I completely do. I just can't advocate GPU backends in this discussion over increasing the baseline. I feel that has to be a separate discussion.
-
m-relay
<rucknium:monero.social> We have two more agenda items.
-
m-relay
<kayabanerve:matrix.org> WebGPU?
-
m-relay
<kayabanerve:matrix.org> WASM has a GPU API
-
m-relay
<rucknium:monero.social> 6) Reviews for Carrot.
github.com/jeffro256/carrot/blob/master/carrot.md
-
m-relay
<rucknium:monero.social> jeffro256: Anything to discuss about Carrot at this meeting?
-
m-relay
<kayabanerve:matrix.org> There's also WASM SIMD proposals AFAIK, they're just limited to 128-bit. I think some are usable in real life?
-
m-relay
<syntheticbird:monero.social> kayabaNerve: afaik webGPU compute shaders are still experimental and SIMD is considered in the WASM community to be unlikely to merge anytime soon.
-
m-relay
<rucknium:monero.social> jeffro wasn't in the greetings
-
m-relay
<kayabanerve:matrix.org> we're missing jefrro :(
-
m-relay
-
m-relay
<rucknium:monero.social> 7) Proposal for FCMP++ HF Activation Rule to Retroactively Ignore Future `unlock_time`
monero-project/research-lab #125
-
m-relay
<kayabanerve:matrix.org> SyntheticBird: SIMD is supported by v8 and SpiderMonkey. There's existing teams doing EC on WebGPU (it was one of the zprize discussions).
-
m-relay
<rucknium:monero.social> IIRC, there was a not yet a consensus view on the timing of the retroactive disabling of `unlock_time`
-
m-relay
<syntheticbird:monero.social> re: 7.
-
m-relay
<syntheticbird:monero.social> as long as we alert users through every channels that we reserve the right to do so its okay really.
-
m-relay
<syntheticbird:monero.social> kayabanerve: TIL
-
m-relay
<kayabanerve:matrix.org> I thought we agreed on May 1st with the threat of moving it up.
-
m-relay
<rucknium:monero.social> The Monero Twitter could be excited about disabling `unlock_time`
-
m-relay
<monerobull:monero.social> >What this proposal does NOT do
-
m-relay
<monerobull:monero.social> Invalidate currently existing unlock_time values
-
m-relay
<monerobull:monero.social> rip to infinity exchanger, 2 years remaining
-
rbrunner
I don't remember either substantial opposition against May 1 from last meeting, but well the protocol has the details of course
-
m-relay
<kayabanerve:matrix.org> something something monero-wallet's scanner api doesn't expose received outputs until you explicitly handle their timelock conditions
-
m-relay
<syntheticbird:monero.social> I propose we move the limit to May 21st because its the international tea day and we could sip tea regarding locked tx being unlocked
-
m-relay
<rucknium:monero.social> I think rbrunner, kayabaNerve, and myself were OK with May 1, with threat to make the date earlier if an adversary starts spamming. Do we have more opinions?
-
m-relay
<kayabanerve:matrix.org> something something safer ux which would save real users real money
-
m-relay
-
rbrunner
I see, not only the Twitter, kayabynerve is "excited" as well
-
m-relay
<syntheticbird:monero.social> last meeting was allergic to easter eggs
-
m-relay
<rucknium:monero.social> Looks like jeffro was OK with May 1st, too.
-
m-relay
<jberman:monero.social> +1 to an announcement saying May 1 is a soft target, is also contingent on fcmp++, and moving it earlier is also still a possibilty. A blog post + Monero twitter account linking to blog post would be solid
-
m-relay
<syntheticbird:monero.social> I'll make the reddit post I need more karma
-
m-relay
<rucknium:monero.social> The rules for missing a meeting is that you have to do any chores proposed at a meeting, jeffro256 . :P
-
m-relay
<jeffro256:monero.social> So sorry I missed the meeting! Yes I am okay with May 1st. And no, nothing to comment on regarding Carrot at the moment
-
m-relay
<rucknium:monero.social> One comment to get out of chores 😱
-
m-relay
<jeffro256:monero.social> Who needs their floors mopped?
-
m-relay
<rucknium:monero.social> I think we have loose consensus on making an announcement about the May 1st deadline, with the condition about FCMP++ activation and the caveat of possibly moving the date earlier if there is an attempted malicious DoS.
-
m-relay
<rucknium:monero.social> Well, I was going to suggest that jeffro write the post, but he showed up
-
m-relay
<rucknium:monero.social> We can end the meeting here. Thanks everyone.
-
m-relay
<jeffro256:monero.social> We should include a proposed block index value in the announcement as well IMO
-
m-relay
<jeffro256:monero.social> Will calculate that now
-
m-relay
<jeffro256:monero.social> I will note that using the CLSAG activation height and timestamp as a way to predict block heights of future timestamps is already off by by 44 days for predicting the *current* block
-
m-relay
<jeffro256:monero.social> The expected timestamp for block 3270595 using the CLSAG activation height is `1726433957 = (3270595 - 2688888) * 120 + 1656629117`. The actual is 1730312167, which is `(1730312167 - 1726433957) / 60 / 60 / 24 = 44 days` ahead of schedule
-
m-relay
<jeffro256:monero.social> It's still ~94% accurate, but the error will build up to be >1.5 months by May 1st
-
m-relay
<jeffro256:monero.social> Can we use `block_index = 3270000`, `timestamp = 1730243700` as our anchor ?
-
m-relay
<0xfffc:monero.social> Yes, and I am willing to implement ( at least a prototype version of them ) on my own dev work CCS and without submitting extra CCS.
-
m-relay
<0xfffc:monero.social> Having a prototype parallel implementation will help me understand the parallelization opportunities. Might help us better judge the competitors too.
-
m-relay
<0xfffc:monero.social> The only blocker, as I admitted in the other room is my lack of knowledge about the algorithms (helioselene and eventually ec-divisors).
-
m-relay
<kayabanerve:monero.social> The Rust lib is only about a thousand lines IIRC. Point doubling, addition, and then double-and-add mul shouldn't be horrific.
-
m-relay
<blurt4949:matrix.org> Another stupid question regarding input counts in FCMP++: How difficult would it be to split large input transactions (say, 100-in) into several smaller "proof groups" (in this case, if MAX_INPUTS = 4, then 25)? Meaning, each group would function as if they were inputs to separate transactions, but their amount commitments, signed message, etc still contributing to the actual tran<clipped message>
-
m-relay
<blurt4949:matrix.org> saction. Seems to avoid the issue of inconvenient consolidation transactions, and is also more efficient since it doesn't require making several new outputs, privacy concerns about input/output count fingerprinting aside.
-
m-relay
<blurt4949:matrix.org> (Forgive me if I'm butchering terminology here, and am unclear)
-
m-relay
<0xfffc:monero.social> I see what you saying and you are correct. But I have a habit of doing r&d and understanding the picture before jumping into the code. Questions like how FCMP works, where these algorithms are used, etc etc etc (maybe bad habit from doing r&d in grad school )
-
m-relay
<kayabanerve:monero.social> blurt4949: Then the cost is bandwidth. A 210-input TX would consume an entire block of space. Doing a series of proofs was part of the original proposal however.
-
m-relay
<kayabanerve:monero.social> But yes, we can set MAX_PROOF_INPUTs = 4 and go from there.
-
m-relay
<kayabanerve:monero.social> 0xfffc: I respect your eagerness and your knowledge on this field. I apologize I'm unable to match your eagerness and contribute my knowledge on this field.
-
m-relay
<kayabanerve:monero.social> I don't give short answers to he unhelpful. It's the extent I'm willing to help *at this moment*. You will have to figure it out from there or we will have to mutually convene when I have more time.
-
m-relay
<jeffro256:monero.social> I propose tentatively setting ignore-unlock-time block index `J` to 3401782, with threat of setting earlier.
monero-project/research-lab #125#issuecomment-2448077632. We can discuss this in the next meeting, though
-
m-relay
<0xfffc:monero.social> No need to apologies. We all trying to learn. And totally understandable about being short on time. Though I hope when we both had spare time, we can collaborate on this :)
-
m-relay
<kayabanerve:monero.social> jeffro256: Why not declare a Unix timestamp and in 6 months, we find the first block to exceed it?
-
m-relay
<kayabanerve:monero.social> Why hardcode a block now?
-
m-relay
<kayabanerve:monero.social> It's worse for human understanding and isn't portable to the testnets.
-
m-relay
<kayabanerve:monero.social> Dynamically saying first block whose on-chain time exceeds May 1st, 2025 is portable, easy to understand, and valid
-
m-relay
<0xfffc:monero.social> I agree ☝️. Unix timestamp would be simple solution. And I always like simple solutions.
-
m-relay
<kayabanerve:monero.social> 0xffc: helioselene defines two prime fields and additionally uses (but does not itself define) the 2**255-19 prime field seen in Ed25519. If you have implementations of those three fields and arithmetic over them (add, sub, mul, multiplicative inverse), you can define points in Projective coordinates and the universal point addition formulas present within the helioselene library.
-
m-relay
<jeffro256:monero.social> kayabanerve: this might not be a huge issue, but using a "first past the post" rule for activating the rule might cause small griefing incentive for the miners to set their block timestamp past the activation timestamp, even if it's not that time yet. IIRC, this can only cause a jump 2(?) hours in the future
-
m-relay
<kayabanerve:monero.social> With point addition, you can build scalar multiplication.
-
m-relay
<kayabanerve:monero.social> The tree hash is just a bunch of scalarmuls.
-
m-relay
<kayabanerve:monero.social> jeffro256: on-chain time, not header time.
-
m-relay
<0xfffc:monero.social> Thanks. Will do my research and that is a good starting point.
-
m-relay
<kayabanerve:monero.social> We already have an in-consensus sufficiently-hard-to-manipulate clock.
-
m-relay
<jeffro256:monero.social> the rule could be that for the first block where `Blockchain::get_adjusted_time()` exceeds the target timestamp, we activate, but I want to deprecate that method since it isn't a reliable (AKA monotonic) clock, even if deterministic
-
m-relay
<kayabanerve:monero.social> It is monotonic
-
m-relay
<kayabanerve:monero.social> It doesn't guarantee increment yet it is monotonic as soon as it's populated
-
m-relay
<kayabanerve:monero.social> (monotonic just requires it doesn't decrement, not that it can't return the same value multiple times)
-
m-relay
<kayabanerve:monero.social> I had to do this review while working on Serai, I'll link it
-
m-relay
-
m-relay
<kayabanerve:monero.social> Basically, checking you're greater than the median always ensures the value pushed is on the right-hand side of the median.
-
m-relay
<kayabanerve:monero.social> You either have a removal on the left hand side or a removal on the right hand side. A removal on the right hand side causes a NOP to the median value. A removal on the left hand side makes one of the more-right values (higher-valued) the new median.
-
m-relay
<kayabanerve:monero.social> The median itself being removed is equivalent to a value from the left-hand side being removed. A more right value will take its place.
-
m-relay
<kayabanerve:monero.social> I should've linked the relevant rule there. Apologies for not doing so.
-
m-relay
<kayabanerve:monero.social> You also can achieve an always incrementing clock by adding the block height to the time. That causes excessive drift however.
-
m-relay
<jeffro256:monero.social> It would be monotonic if `get_adjusted_time` *only* returned the median of N timestamps where consensus rules verified each new timestamp is greater than or equal to the median of the last N, but the verrry last line of `get_adjusted_time` blows this up by returning the min of the median of the last N timestamps and the "adjusted_current_block_ts", which is a function purely of the last timestam
-
m-relay
<kayabanerve:monero.social> ... Oh, so the issue isn't the protocol, it's this one stupid fn around the protocol's defined object
-
m-relay
<jeffro256:monero.social> Well it's used in consensus for transaction unlock times, but not for block timestamps
-
m-relay
<jeffro256:monero.social> Why? Beats the hell out of me....
-
m-relay
<kayabanerve:monero.social> Just copy/paste it without the min?
-
m-relay
<kayabanerve:monero.social> Also, wait, are block timestamps compared to the median or the result of this adjusted time fn? Did I mess up?
-
m-relay
<kayabanerve:monero.social> And does this collapse 🤔
-
m-relay
<kayabanerve:monero.social> The median must always be <= the last timestamp so it'll be the branch always taken by this min as soon as the timestamp is populated, right?
-
m-relay
<jeffro256:monero.social> Block timestamps are just compared to the median of the last `BLOCKCHAIN_TIMESTAMP_CHECK_WINDOW=60` blocks
-
m-relay
<kayabanerve:monero.social> When would the most recent timestamp ever be the smaller value? When the median isn't populated yet?
-
m-relay
<kayabanerve:monero.social> Except then the median returns 0 AFAIK, it won't use a partial window.
-
m-relay
<kayabanerve:monero.social> And why not just hook our ignore unlock time after code into this same logic? Why explicitly use get_adjusted_time?
-
m-relay
<jeffro256:monero.social> I'd very much rather use a raw median over `get_adjusted_time`. The downside over a hardcoded fork height is that it requires additional RPC logic to implement
-
m-relay
<jeffro256:monero.social> or when the miner is naughty
-
m-relay
<kayabanerve:monero.social> That isn't an answer
-
m-relay
<kayabanerve:monero.social> How can they be naughty when they must exceed the median
-
m-relay
<jeffro256:monero.social> Lemme think if that is possible. It's a median against different set of blocks (off by one)
-
m-relay
<jeffro256:monero.social> But it would be a newer set of blocks
-
m-relay
<jeffro256:monero.social> So it might not be possible
-
m-relay
<boog900:monero.social> `get_adjusted_time` returns the minimum of the adjusted median and the adjusted top timestamp.
-
m-relay
<boog900:monero.social> adjusted median = median + 3660
-
m-relay
<boog900:monero.social> adjusted top timestamp = top timestamp + 120
-
m-relay
<boog900:monero.social> so the top timestamp could still be above the median but below the adjusted median
-
m-relay
<kayabanerve:monero.social> Ah. Thanks boog900
-
m-relay
<kayabanerve:matrix.org> jeffro256: So why not use the raw median? Why would this require any RPC logic?
-
m-relay
<kayabanerve:matrix.org> Whenever we do the check the block time is over the median, if we haven't prior saved the block over the pole to the disk, we save that block
-
m-relay
<kayabanerve:matrix.org> When processing TXs, if in a block over the pole, we ignore the timelock
-
m-relay
<kayabanerve:matrix.org> ez