-
m-relay
<dangerousfreedom:monero.social> I cant make it for today's meeting but I would like to share my initial thoughts about the proposed FCMP+SA+L. First, it is really amazing to see kayaba and tevador exploring new ways to integrate FCMP into Monero now. IIUC, the proposed scheme would replace Seraphis entirely (from the functional POV) if it can solve the FS problem. The question is then what do we do? I dont have <clipped
-
m-relay
<dangerousfreedom:monero.social> enough knowledge to give an educated answer now so my immediate task is to understand it since it will have a huge impact on all development tasks of everyone. I do see a relatively clear and conservative path to regtest/testnet/mainnet with seraphis (regarding implementation and its crypto solidity). I do not see the same for FCMP+SA+L as I dont grok it. So I will try, for the ne<clipped
-
m-relay
<dangerousfreedom:monero.social> xt weeks, to only focus on understanding it.
-
m-relay
<rucknium:monero.social> MRL meeting in this channel in one hour.
-
m-relay
<kayabanerve:matrix.org> I'd clarify "would" to "could" and continue my immediate advocacy for a shorter timeline, FCMP for RingCT with large amounts of work reusable by Seraphis. If once that's done, there's interest in adding F-S, we can. If once that's done, there's interest in adding the wallet code for it (can be done at any point, not a hard fork), we can. If once that's done, we want to move to JAM<clipped message
-
m-relay
<kayabanerve:matrix.org> TIS, or to Seraphis + JAMTIS, or release a new TX version, we can. It's a literal sea of options which can be discussed nearly infinitely. That's why I'm saying the core of this, FCMPs on RingCT, faster than Seraphis, with large swaths reusable for Seraphis, is a good proposal we should move forward with now (as prior discussed).
-
m-relay
<rucknium:monero.social> Meeting time!
monero-project/meta #992
-
m-relay
<rucknium:monero.social> 1) Greetings
-
m-relay
<chaser:monero.social> hello
-
rbrunner
Hello
-
m-relay
<jeffro256:monero.social> On the contrary (which hopefully we can did into more in the meeting), I'm opposed to doing this upgrade AND Seraphis for these reasons:
gist.github.com/kayabaNerve/0e1f771…ment_id=5027156#gistcomment-5027156. If we are going to do the FCMP+SA+L networj upgrade, we should ditch the idea of doing Seraphis altogether. Trying to do 2 monu<clipped messag
-
m-relay
<jeffro256:monero.social> mental changes to the protocol back-to-back is not a great idea in my opinion.
-
m-relay
<jeffro256:monero.social> Howdy btw
-
m-relay
<kayabanerve:matrix.org> 👋
-
m-relay
<hinto.janaiyo:matrix.org> hello
-
jberman
hello
-
m-relay
<rucknium:monero.social> 2) Updates. What is everyone working on?
-
m-relay
<kayabanerve:matrix.org> jeffro256: The whole point was to minimize the amount of changes it is. It's theoretically only a replacement for the CLSAG with the new tree database from a protocol point of view. It doesn't inherently introduce new keys/TX structures/wallet send protocols.
-
m-relay
<rucknium:monero.social> Let's discuss FCMP and Seraphis when we get to that agenda item. Thanks.
-
m-relay
<kayabanerve:matrix.org> (sorry for breaking the meeting timeline, I'll hold off on further comments)
-
m-relay
<rucknium:monero.social> me: I developed the first version of `xmrpeers`, an R package for analysis of Monero's peer-to-peer node network:
github.com/Rucknium/xmrpeers . A few people are using it to collect data on peer-to-peer network latency when using `set_log net.p2p.msg:INFO`.
-
jberman
me: recently finished the async scanner using the Seraphis lib, I'm seeing 50-60% faster syncing over clearnet using one of gingeropolous ' remote nodes, and wrote up a proposed plan to deprecate wallet2 + replace with Seraphis lib while keeping the existing wallet API:
seraphis-migration/strategy #3
-
m-relay
<chaser:monero.social> @Rucknium that's nice. to be clear, the data can be collected without handling R, right?
-
m-relay
<hinto.janaiyo:matrix.org> me: finishing last bits of Cuprate's database API, somewhat equivalent to `monerod`'s BlockchainLMDB
-
m-relay
<rucknium:monero.social> chaser: You can use the `set_log net.p2p.msg:INFO` to get the info on who is sending you txs and when, but you don't get a ping network latency measurement from just the logs. It is best to know when your peer is _sending_ that data, not just when you receive it. The latency measurement in `xmrpeers` is for the latency measurement.
-
m-relay
<rucknium:monero.social> Or anyone can write their own pinger and parse the log to get their peer IP addresses.
-
m-relay
<chaser:monero.social> I see, thanks
-
m-relay
<jeffro256:monero.social> Good work Rucknium. Would this work allow us to empirically test the privacy of Dandelion++?
-
m-relay
<rucknium:monero.social> jeffro256: I hope so. I can discuss more in the next agenda item
-
m-relay
<jeffro256:monero.social> kk
-
m-relay
<rucknium:monero.social> 3) Discuss: Potential measures against a black marble attack
monero-project/research-lab #119
-
m-relay
<rucknium:monero.social> There was possible spam on April 12-13 again. Then a large number of consolidation transactions April 16-17.
-
m-relay
<rucknium:monero.social> I have been working on collecting data that can help guess the node origin of the spam transactions. I originally was going to use the techniques in Cao, Yu, Decouchant, Luo, & Verissimo (2020) "Exploring the Monero peer-to-peer network."
moneroresearch.info/index.php?action=resource_RESOURCEVIEW_CORE&id=99
-
m-relay
<rucknium:monero.social> to collect the node list and edge list of the P2P network graph. Then I noticed the relevant log messages had `last_seen: Never`. Cao et al. (2020) used `last_seen` to figure out which peers were connected (i.e. the get the network edge list).
-
m-relay
<jeffro256:monero.social> Why would a spam attacker consolidate funds if they intend to produce more spam? Maybe they had a very limited budget and each enote is worth less than the fees required to create a 1 input tx with that enote?
-
m-relay
<rucknium:monero.social> jeffro256: Maybe they don't intend to produce more spam. But your other hypothesis is possible. Their spamming script may require more fees per output.
-
m-relay
<rucknium:monero.social> I did some searching and found that moneromooo patched the `last_seen` potential privacy issue:
monero-project/monero #5481 monero-project/monero #5682
-
m-relay
<rucknium:monero.social> So that would make it much harder to do statistical analysis to defeat Dandelion++ like suggested by the simulations of Sharma, Gosain, & Diaz (2022) "On the anonymity of peer-to-peer network anonymity schemes used by cryptocurrencies."
moneroresearch.info/index.php?actio…n=resource_RESOURCEVIEW_CORE&id=130
-
m-relay
<rucknium:monero.social> But with a strong enough signal by the spam, maybe we can still narrow down the spam origin, which would provide more evidence that this is actually spam.
-
rbrunner
If they do us the "favor" to continue to spam?
-
m-relay
<rucknium:monero.social> Those hundreds of consolidation txs are a very strong signal. I am collecting data now because without log data collection, the p2p message data is lost forever. Then I can analyze later.
-
m-relay
<rucknium:monero.social> We should have several sets of log data for the April 12-13 and 16-17 incidents already.
-
rbrunner
Interesting.
-
m-relay
<rucknium:monero.social> So I could analyze just that data if no more suspected spam occurs.
-
m-relay
<rucknium:monero.social> My opinion: If Cypher Stack is not able to produce a mathematics security proof for Generalized Bulletproofs in their expected 1.5 months of work, a hard fork to increase ring size and maybe change tx fees should be considered and prepared for.
-
m-relay
<rucknium:monero.social> In that situation, it is not clear that FCMP will be possible with the Curve Trees design.
-
rbrunner
That possible mitigations GitHub issue excludes the "hot topic" everybody is talking about, FCMPs ...
-
m-relay
<rucknium:monero.social> rbrunner: It is listed under "omitted measures"
monero-project/research-lab #119 : "introduce full-chain membership proofs (FCMP) with Seraphis: FCMPs are the ultimate solution to attacks related to ring signatures, but they are currently not in a deployable state. ideally, they would be introduced together with the Seraphis transaction protocol. these two<clipped message
-
m-relay
<rucknium:monero.social> , presuming the current rate of progress won't change, are estimated to be ready in 5+ years."
-
rbrunner
Yeah, "omitted", not "excluded"
-
m-relay
<kayabanerve:monero.social> I agree with that omission.
-
m-relay
<jeffro256:monero.social> I think that it be be worth researching into how effective FCMPs would actually be from large rings in REAL terms, in regards to decoy flood attacks. if I, as a flooder, own 90% of all enotes, and thus 90% of decoys, what is the actual privacy impact for non-specifically targeted individuals if the EFFECTIVE ref set size is 16 versus half the chain?
-
rbrunner
The long and detailed comments that jeffro256 linked to right at the start of the meeting look interesting at first glance, but I think time would be needed to digest it all
-
m-relay
<kayabanerve:monero.social> We should have a fallback for if FCMPs don't work out, which they may simply 'politically'.
-
m-relay
<rucknium:monero.social> I think we are moving to the next agenda item:
-
m-relay
<chaser:monero.social> I favor the FCMP+SA+L proposal, but I don't consider FCMPs as a short/mid-term solution to the black marble flood threat, not even with the best-case timeline (12 months). I think a fork with any one or multiples of the listed countermeasures is warranted, because right now, we have our guards down.
-
m-relay
<rucknium:monero.social> 4) Research Pre-Seraphis Full-Chain Membership Proofs
gist.github.com/kayabaNerve/0e1f7719e5797c826b87249f21ab6f86
-
m-relay
<jeffro256:monero.social> FCMPs are amazing and necessary for preventing EAE, EABE, and other counterparty de-anonymizing attacks, but how useful are they really against decoy flood attacks versus large rings? I don't have any formal answers, although if you want to perform a deterministic tx graph analysis with a decoy flood, it gets exponentially larger with a bigger ring size
-
m-relay
<jeffro256:monero.social> *larger->harder
-
rbrunner
Assuming that we do that research, and it would produce results, how would we *judge* those results then?
-
rbrunner
There is in any case a large "psychological" factor in all this
-
m-relay
<kayabanerve:monero.social> @jeffro256 Rings fundamentally don't stop attacks such as the EAE and have explicitly bad spend patterns.
-
m-relay
<kayabanerve:monero.social> Spam under FCMPs is ignored. Spam under CLSAG needs to be proportionately adjusted to.
-
m-relay
<kayabanerve:monero.social> That's incredibly surface commentary but it doesn't change it's not wrong.
-
m-relay
<rucknium:monero.social> rbrunner: First, define an economic utility function for Monero users....
-
m-relay
<kayabanerve:monero.social> (And you acknowledged the first set, I know)
-
m-relay
<rucknium:monero.social> Should we take 5 minutes to read jeffro256 's comments on FCMP/Seraphis that he posted before the meeting?
gist.github.com/kayabaNerve/0e1f771…ment_id=5027156#gistcomment-5027156
-
m-relay
<jeffro256:monero.social> I wouldn't say spam is ignored under FCMPs, just from a privacy perspective. From a decentralization perspective, spam still needs to be considered and adjusted to if we don't want to end up like Ethereum with an unmanagebly larger L1, that doesn't allow for end users to run nodes
-
rbrunner
To read "Quick Summary of Concerns with FCMP-RCT" then, in 5 minutes
-
m-relay
<rucknium:monero.social> Ok. Do we know if this assumption is true? "For efficiency, security, cryptographic clarity, elliptic curve changes, perfect forward secrecy, or other inherent protocol properties, the network WILL want to migrate to Seraphis at SOME point. If this assumption is NOT true (which could possibly be the case since FCMP-RCT achieves feature parity with Seraphis with F-S added), then yo<clipped message
-
m-relay
<rucknium:monero.social> u can ignore this entire post altogether."
-
rbrunner
Can't judge. Just want to make sure everybody understand that Seraphis and Jamtis are already *implemented*, by an effort of about 1.5 man years
-
m-relay
<vtnerd:monero.social> Sorry forgot about meeting, hi
-
rbrunner
It took that much for a careful, solidly engineered Seraphis and Jamtis library
-
rbrunner
"only" you could say
-
rbrunner
(I mean that "only a library" of all this effort may look small)
-
rbrunner
What is missing is all the rest, a decent wallet, a new tx class, and more
-
m-relay
<jeffro256:monero.social> The post is mainly against doing FCMP-RCT as a stop-gap measure. It has theoretically feature parity with Seraphis. So we should decide to do one or the other for the health of the protocol IMO. Seraphis (even with FCMPs) is *probably* always going to have less CPU required for nodes, unless there's something that I'm not seeing. Seraphis has more upfront work. Seraphis has less t<clipped messag
-
m-relay
<jeffro256:monero.social> echnical debt for future upgrades inherently because of the proof structure. FCMP-RCT can be done sooner. If we do Jamtis on RingCT after FCMPs, that will likely cement us into FCMP-RCT for a long time. Seraphis integration has a head start. FCMP-RCT probably takes less work to first hard fork. There are a lot of considerations to make
-
m-relay
<jeffro256:monero.social> But just to re-iterate, because I think it's impiortant, that post is against doing FCMP-RCT AND Seraphis
-
m-relay
<kayabanerve:monero.social> I have so many disagreements there yet I don't want to be a dick.
-
m-relay
<jeffro256:monero.social> It's okay, you can be a dick
-
rbrunner
It might take weeks to discuss all this to a good extent ...
-
m-relay
<kayabanerve:monero.social> I disagree every listed section is so notably modified.
-
m-relay
<kayabanerve:monero.social> The Seraphis design would be simpler and potentially more efficient. The exact bounds aren't known yet.
-
m-relay
<kayabanerve:monero.social> We don't need to increase reliance on wallet2. cc jberman
-
m-relay
<reuben:firo.org> Better weeks to discuss then make the wrong decision imo
-
m-relay
<kayabanerve:monero.social> They rewrote the wallet2 API around the Seraphis lib, which includes RingCT, for cleanliness.
-
m-relay
<kayabanerve:monero.social> We can discuss deploying that pre-Seraphis.
-
rbrunner
Right, but there are young horses here that just long to finally start the race :)
-
m-relay
<jeffro256:monero.social> I'm also looking through the lens of someone who looks at the Blockchain code a lot, is currently working on implementation of a network upgrade, someone who values L1 simplicity seriously, and doesn't necessarily have FCMPs as my firstmost priority
-
m-relay
<reuben:firo.org> kayabanerve @kayabanerve:monero.social: did you figure out the offloading for signing (for hardware wallets?)
-
m-relay
<kayabanerve:monero.social> "Overkill" They're more efficient than large CLSAGs IIRC, and the research carries to Seraphis.
-
m-relay
<kayabanerve:monero.social> @Reuben same proof separation as Lelantus (Spark)/Seraphis.
-
m-relay
<reuben:firo.org> Nice
-
m-relay
<kayabanerve:monero.social> rbrunner: Seraphis is years out. I made a proposal for 6-12m. Every week in meetings is another week I wouldn't call Monero more sender private than plausible deniability.
-
m-relay
<reuben:firo.org> What about multisig ?
-
m-relay
<kayabanerve:monero.social> So yes, I want to actually want to move forward and not debate in committee ad infinitum.
-
rbrunner
Yeah, if you can make those 6-12m.
-
m-relay
<reuben:firo.org> Iirc Triptych wasn't implemented cause of poo multisig.
-
m-relay
<jeffro256:monero.social> Overkill from an engineering perspective in terms of effort required, changes in how we model privacy, etc. Again, we can do FCMPs on Seraphis, I'm not opposed to that, but as stated in the post, spam attacks shouldn't be a factor each which way
-
m-relay
<kayabanerve:monero.social> It's a generalized schnorr protocol and Schnorr multisig quite directly applies (by eye, not by academic proofs).
-
m-relay
<reuben:firo.org> Nice
-
m-relay
<kayabanerve:monero.social> @jeffro256 The spam attacks, if for poisoned outputs, should be. Rings are at best a stop gap there.
-
plowsof
Jeffro what would you need to put kayabas proposal to funding as-is?
-
m-relay
<kayabanerve:monero.social> Also, larger attack surface due to SA+L???
-
m-relay
<kayabanerve:monero.social> It's using a proof proven from 2009. Seraphis uses a novel proof.
-
m-relay
<kayabanerve:monero.social> (Though i did suggest replacing the Seraphis proof with that 2009 proof as well)
-
rbrunner
plowsof: I don't understand the question. Do you mean "need" financially?
-
m-relay
<kayabanerve:monero.social> Yes, we have to argue the statement composition secure, yet how is that a "much larger attack surface"?
-
m-relay
<rucknium:monero.social> On technical debt: Current monerod code did not handle the suspected spam very well. If tx verification is a lot slower with FCMP, won't the monerod code have to improve to avoid major problems?
-
m-relay
<kayabanerve:monero.social> > then background syncing will necessarily consume more storage/RAM.
-
m-relay
<kayabanerve:monero.social> ???
-
rbrunner
It's explained later down, in more detail, I think
-
plowsof
Not financial, just unknowns to be known if any or its a fundamental disagreement of our near futures dorection
-
m-relay
<kayabanerve:monero.social> Wallets wouldn't sync FCMPs, they'd be pruned. There's no impact there.
-
m-relay
<jeffro256:monero.social> Each individual proof component in Seraphis has a lower attack surface being split into ownership, unspentness, membership. Overall is a different story. But in effect, one would have change larger portions of the proof assuming proof changes in the future, and those changes are more compartamentalized under Seraphis
-
jberman
To get FCMP-RCT done within the timeframe, it would probably make sense to do implement wallet2 FWIW
-
jberman
to implement in wallet2*
-
m-relay
<jeffro256:monero.social> And I'd probably agree w those changes BTW
-
m-relay
<kayabanerve:monero.social> Oh, literally due to storing more potential key images, yet that ignores how it adds ovks.
-
jberman
the wallet API is not rewritten yet for Seraphis lib, I just wrote up a proposal to do that here and estimated full-time work minimum of 3-6 months:
seraphis-migration/strategy #3
-
rbrunner
That is what some people here fear to hear, jberm, that "yet more complicated wallet2" story
-
jberman
Assuming Seraphis after FCMP-RCT, it's probably a fair assessment that the Seraphis lib would then be extended to also construct FCMP-RCT txs in order to deprecate wallet2
-
m-relay
<jeffro256:monero.social> Yes but background view key syncers have to store key images that they don't know whether or not are theirs (since they don't have the spend key)
-
m-relay
<kayabanerve:monero.social> My literal take is the document is overly critical and conflates a variety of different things. It says FCMPs is worse because X, yet not because X disappears with Seraphis, because it's just under a different name for whose problem it is. That applies to several of these points.
-
m-relay
<jeffro256:monero.social> With OVK, depending on the definiton, that issue might disappear
-
m-relay
<kayabanerve:monero.social> The "attack surface" and "sync" comments trivially classify there.
-
m-relay
<jeffro256:monero.social> Do OVKs require changes to the cryptonote addressing scheme?
-
m-relay
<kayabanerve:monero.social> I'm fine respecting @jeffro256 as a developer while completely disagreeing with at least the presentation of their analysis. I don't care to bicker with a friend for the next hour in public so I'm fine leaving them the "opposition" and the community to think about it independently.
-
m-relay
<kayabanerve:monero.social> No.
-
m-relay
<kayabanerve:monero.social> OVKs and F-S don't require a new protocol. Solely newly generated addresses to take advantage of those featurez.
-
m-relay
<kayabanerve:monero.social> *features
-
rbrunner
kayabanerve, if you say 6-12m, what point would be reached then? Feature complete, and in *theory*, from a purely technical standpoint, ready for hardfork?
-
m-relay
<kayabanerve:monero.social> jberman: Thank you for the context.
-
m-relay
<rucknium:monero.social> IMHO, we need to bicker on this because it is a very important fork in the road.
-
rbrunner
Agree, even it may turn out to be hard
-
m-relay
<kayabanerve:monero.social> I'm confident, within 6m, we can have an impl for auditing. For integration, please ask jberman who is my deferred to.
-
m-relay
<kayabanerve:monero.social> Let's also clarify as impl + audits of impl + PR integrating, and drop the integration review when discussing timeline.
-
rbrunner
Maybe I am bit overly dramatic, but this has the potential that in the end 2 teams walk into 2 different directions, which would be quite unfortunate
-
m-relay
<kayabanerve:monero.social> No. I need to write a full response to jeffro256 when I'm not on an IM platform, and potentially privately reach out to form a mutual summary which provides clear comments for review (without conflicts).
-
m-relay
<kayabanerve:monero.social> I don't need to feel like I need to immediately respond, and write short/snappy messages which don't best represent myself nor my thoughts.
-
rbrunner
Sounds good to me. Might mean that the discussion today won't get much further, but then be it so.
-
m-relay
<rucknium:monero.social> Ok. We can wait for a full response to jeffro256 's comments.
-
m-relay
<kayabanerve:monero.social> The core of the FCMP work, 80% of this proposal, should be reusable under Seraphis. I keep saying that to show we're not yet actually deciding and to try and move forward as I can :/
-
m-relay
<jeffro256:monero.social> I might be wrong, but I think the confusion here might stem from the fact that I'm looking through the lens on a person that has to look at and maintain BOTH protocols if they BOTH get implemented. A lot of these points aren't harping on something lacking in FCMP-RCT, it's harping on the added complexities and worse overall timelines regarding X if we try to do both
-
m-relay
<kayabanerve:monero.social> That way, we can make distinct discussions when we're farther down the road. That wastes effort at worst, that doesn't leave us with the wrong decision.
-
m-relay
<hinto.janaiyo:matrix.org> jberman: is there a rough timeline on your side of the integration for FCMPs? (excluding review time)
-
jberman
4-6 months on my end
-
m-relay
<vtnerd:monero.social> Is the addressing change/work a re-computation for sending only? Meaning calculating received funds and spent funds will not change?
-
rbrunner
I for one don't see anybody pressuring kayabanerve into fast snappy answers, and if he fails to come up with them, he will have lost :)
-
m-relay
<kayabanerve:monero.social> There is no address change proposed with FCMPs.
-
m-relay
<kayabanerve:monero.social> Old addresses won't have OVKs and F-S. Newly generated wallets will.
-
m-relay
<kayabanerve:monero.social> (if implemented. Implementation isn't required for full set privacy alone)
-
m-relay
<vtnerd:monero.social> Ok, are you still adding view balance key to FCMP proposal? I'm eyeballing LWS changes needed
-
m-relay
<kayabanerve:monero.social> That means finding received works as it prior did.
-
m-relay
<jeffro256:monero.social> I probably need to clarify, I'm not entirely opposed to do FCMP-RCT. I'm biased towards Seraphis obviously, but I'm okay with ONLY doing FCMP-RCT, especially since feature parity seems to be achieved. But what is unacceptable to me is trying to do both for numerous reasons related to health of future Monero Core code
-
m-relay
<kayabanerve:monero.social> New wallets would be able to output an outgoing view key to calculate key images. I believe that's view balance
-
rbrunner
Maybe it would simplify things for the discussion if anything beyond pure FCMP-RCT is left out for the time being. Things like OVK and F-S on top of that.
-
rbrunner
I understand those are not really essential to the proposal.
-
rbrunner
Things can fly already without them.
-
m-relay
<vtnerd:monero.social> yes, the view key currently cannot compute key images, so LWS only knows "candidate" spends. Sounds like I may need a slight LWS update for this
-
jberman
adding the OVK scheme to wallets would add maybe 1-2mo+ to the 4-6mo estimate
-
m-relay
<kayabanerve:monero.social> I also don't want to be rude and propose we get rid of Seraphis. If jeffro256 wants to discuss one or the other, I'll say it's feature complete with Seraphis, on a potentially quicker timeline, with much more incremental changes and no migration.
-
m-relay
<kayabanerve:monero.social> rbrunner: It is for jeffro who wants to discuss one or the other.
-
jberman
my main disagreement with the post is the implication that funds are either-or for this or Seraphis
-
m-relay
<kayabanerve:monero.social> @jberman Though that can be done outside any hard fork. It's purely wallet side.
-
jberman
I've seen no reason to suggest this would be the case, I think Seraphis will have no problem getting the funds it needs either
-
jberman
The most significant impact on current dev resources for Seraphis I think is that it would pull me away from coding on Seraphis
-
m-relay
<jeffro256:monero.social> jberman: I don't think thats true for funds, but could be true for current usable manpower
-
rbrunner
If anything, people may find it easier to compromise on a FCMP+RCT proposal that is as small as possible
-
m-relay
<kayabanerve:monero.social> I disagree with that premise as well, and it's why I've been trying to move forward this CCS which is largely reusable for Seraphis. It isn't explicitly one or the other.
-
jberman
I also disagree about the relative importance of FCMPs, I personally see it as priority #1 even assuming black marble attacks don't matter, strictly for EAE
-
m-relay
<jeffro256:monero.social> Like a lot of R&D/charity/etc, Monero community has shown it has deeper pockets than the people that are physically able to enact the change
-
jberman
so I don't think I will be convinced to not work on it
-
m-relay
<kayabanerve:monero.social> rbrunner: RingCT and Seraphis have different first layers in the circuit. I would have to pick one.
-
rbrunner
A bit unfortunate that my "crypto" knowledge is not sufficient to understand that ...
-
m-relay
<kayabanerve:monero.social> I see removing rings and F-S as our only first priority with literally everything else secondary, so long as it meets setup (trustless)/performance requirements.
-
rbrunner
I as assuming a clear and reasonable path first to FCMP+RCT and then Seraphis+FCMP is possible
-
rbrunner
*I was
-
m-relay
<kayabanerve:monero.social> Ignoring the tech debt concerns, the work for the former covers most of the latter.
-
rbrunner
Is this a "yes" to my assumption? Sorry, I am not sure
-
m-relay
<kayabanerve:monero.social> Pretty much
-
rbrunner
Ok, thanks :)
-
rbrunner
So we could make it as small as possible, and look at OVK and F-S and possibly other things only later
-
m-relay
<kayabanerve:monero.social> The CCS is so small. The initial deployment proposed is so small.
-
rbrunner
You said it wonderfully, that we are swimming in a veritable sea of options. This makes it difficult, no?
-
m-relay
<kayabanerve:monero.social> So we don't need to make it as small as possible because I already did that to minimize contention :/
-
plowsof
:D
-
rbrunner
It would help at least me to leave out any mention of stuff like OVK, F-S and whatnot *for the time being*
-
rbrunner
Everything is so complicated and multifacted already without that stuff.
-
rbrunner
Just saying :)
-
m-relay
<jeffro256:monero.social> Idk if it's helpful to leave out, unfortunately, because Seraphis will 100% add those things in the key migration
-
m-relay
<jeffro256:monero.social> FCMP-RCT can do it incrementally, though
-
m-relay
<kayabanerve:monero.social> It's the potential path forward after and notes the benefits of this work, even if not realized yet.
-
m-relay
<jeffro256:monero.social> ^^^
-
m-relay
<kayabanerve:monero.social> So yes, it's simpler to leave out but less fair to the proposal.
-
rbrunner
Now I am totally confused. I hope that's only a temporary state.
-
m-relay
<jeffro256:monero.social> Tbh, I wouldn't really consider FCMP-RCT over Seraphis for the network if those things weren't possible at some point in the future
-
m-relay
<kayabanerve:monero.social> And jeffro will only consider FCMP-RCT if over Seraphis.
-
m-relay
<reuben:firo.org> jeffro256: any particular reason why ?
-
m-relay
<kayabanerve:monero.social> rbrunner: do you want to buy a computer with 8 GB of RAM soldered in, or upgradeable to 32 GB?
-
rbrunner
Well, if everything goes as planned, Seraphis will arrive in a reasonable timeframe, to the rescue. Thinking positively
-
m-relay
<kayabanerve:monero.social> My CCS is for 8 GB. I am noting the option for 32 GB in the future as my due diligence because that's a notable feature.
-
m-relay
<jeffro256:monero.social> Because then assuming we want those things, we would have to do another non-trivial network upgrade to get them. Seraphis already does that, so we should go with that instead.
-
m-relay
<kayabanerve:monero.social> Though, to be fair, that assumes Seraphis is better.
-
m-relay
<reuben:firo.org> If feature parity though why bother with Seraphis?
-
m-relay
<reuben:firo.org> Iirc it would only be marginally better
-
m-relay
<kayabanerve:monero.social> Migration
-
m-relay
<kayabanerve:monero.social> Incremental, with more immediate benefits and no new anonset
-
m-relay
<jeffro256:monero.social> That's the point up for debate
-
m-relay
<kayabanerve:monero.social> Seraphis is a simpler design in theory that could lead to as much as... ~25% faster membership proofs, at the cost of ~six hundred bytes in bandwidth?
-
rbrunner
I think you have to look at some things that are details, but maybe important details
-
m-relay
<kayabanerve:monero.social> Seraphis, with squashed enotes, does a range proof on inputs. This doesn't squash so it doesn't.
-
rbrunner
And, to say it again, Seraphis is *implemented*. It's existing code. 1.5 man years went into that, remember?
-
m-relay
<kayabanerve:monero.social> Seraphis could not squash. Due to padding rules, I don't think that shaves the necessary power of 2 to have a faster membership proof at this time.
-
m-relay
<kayabanerve:monero.social> So there's a bandwidth/computation trade off to discuss.
-
m-relay
<reuben:firo.org> Best not to consider that since it might be a sunk cost fallacy though I guess FCMP-RCT might have unknown roadblocks
-
m-relay
<kayabanerve:monero.social> Hence why I didn't want to have this discussion, though I'll note the remaining work on Seraphis is still taking longer than estimates for the initial improvements here *and they're not incompatible*.
-
m-relay
<kayabanerve:monero.social> They're only incompatible if you refuse a year of full sender privacy for less tech debt :/
-
rbrunner
I really wonder how timelines will develop. If you ask me, and that is maybe a bit unfair as a comment, your journey until hardfork may take twice as long as currently estimated
-
m-relay
<kayabanerve:monero.social> It could.
-
rbrunner
(That's about on par with estimates that Seraphis may be 5 years out)
-
m-relay
<kayabanerve:monero.social> I prefer the 1.5-3y estimate, and .5-1y for FCMPs.
-
m-relay
<jeffro256:monero.social> Basically. Again, I'm willing to be a complete dick about this ("either this or that") since I personally highly value protocol and library simplicity for practical adoption and decentralization reasons
-
m-relay
<jeffro256:monero.social> But my affinity for certain protocol design over full sender privacy is subjective
-
m-relay
<kayabanerve:monero.social> I care about Monero's privacy not being as arguable as plausible deniability and not being a honeypot of historical data for QCs to deanon.
-
plowsof
No input from koe on this yet?
-
rbrunner
Not that I know of.
-
m-relay
<kayabanerve:monero.social> I also appreciate the lack of an explicit migration, yet I can concede the Seraphis design's benefit in theory.
-
plowsof
He doesnt want to learn rust iirc :)
-
m-relay
<reuben:firo.org> For FCMPs, what state are the circuit designs ?
-
rbrunner
Yeah, but I don't think that any substantial implementation work is in his future
-
m-relay
<alex:agoradesk.com> Is there a necessity to commit to the upgradable RAM now, or can we wait until FCMPs are in the protocol (to see how long it takes in actuality and whether Seraphis really is unnecessary) kayabanerve ?
-
m-relay
<jeffro256:monero.social> I've been working on it some, and I'm pretty sure we *can* migrate without changing addresses or having non-mixed anon sets within inputs, assuming we don't switch curves.
-
m-relay
<kayabanerve:monero.social> That's not how it works.
-
m-relay
<kayabanerve:monero.social> It inherently has upgradeable RAM. The entire point is we don't need to commit to the upgrade.
-
rbrunner
Just remember, if we ditch Seraphis now, that would already be the second protocol we murder :)
-
m-relay
<kayabanerve:monero.social> @jeffro256 You'd need to break HW wallet support, always have a dummy input output by membership over the historical set (literally the work I'm proposing now) which would be expensive, or solve the dlog problem AFAIK.
-
m-relay
<alex:agoradesk.com> In that case talking about discarding seraphis now is a bit early, since we still haven't gotten to the decision point, which will only be relevant after FCMP is in the chain, right? And at that point we'll have more information to guide the decision.
-
rbrunner
It's a bit unfortunate then that we would have to continue to work on Seraphis, or we would not have that available within a reasonable time
-
m-relay
<alex:agoradesk.com> Seraphis's time is way beyond reasonable even with the current workforce, which is why kaya's FCMP's are so attractive.
-
rbrunner
I mean, we can talk about FCMP+RCT yes or no, but if we really consider to throw away Seraphis completely, you lost me
-
jberman
my take on this general discussion: I don't see cold water on kayabaNerve's R&D proposal, I only see cold water on potentially merging FCMP-RCT before Seraphis
-
m-relay
<alex:agoradesk.com> Seraphis being "two years away" is almost a meme at this point.
-
m-relay
<jeffro256:monero.social> AFAIK (haven't looked into the specific details for FCMPs on Seraphis), but for a general, abstract membership proof, it would only be an extra point addition per legacy enote
-
jberman
Considering the potential for FCMP-RCT to offer the same feature set as Seraphis (minus a lot of JAMTIS), or the potential for the academic work to fall through, or considering a large number of unknowns, the nature of this discussion can change materially with more information
-
jberman
This is information which kaybaNerve's R&D proposal will yield, so I think we can take this one step at a time so as to not get bogged down, and move forward with the proposal as is
-
m-relay
<jeffro256:monero.social> rbrunner7: TBF tryptych was insecure
-
rbrunner
"Seraphis being "two years away" is almost a meme at this point." Absolutely brilliant.
-
m-relay
<kayabanerve:monero.social> Thank you @jberman.
-
m-relay
<kayabanerve:monero.social> The CCS proposal is upgradeable, not upgraded. Most of the work carries. It also only would take jberman, exept it wouldn't because they're doing a separate CCS.
-
m-relay
<kayabanerve:monero.social> I don't want to argue this for weeks/months and just want to do something, before this becomes 8-14m and then 12-18 and then Seraphis is here so no need.
-
rbrunner
Now, looking at the time, we may be more or less forced to continue next week.
-
m-relay
<jeffro256:monero.social> Also this FCMP-RCT work is "breaking HW support" (making tx construction not backwards compatible) anyways, yeah? Since HW wallets are doing different ownership proofs
-
m-relay
<kayabanerve:monero.social> @jeffro256 Do you have explicit issues with the CCS?
-
m-relay
<kayabanerve:monero.social> It doesn't do the circuit on device. They need an update, but tjey can do the new proof.
-
m-relay
<jeffro256:monero.social> I think it was edited since I looked at it last, but I definitely don't have problems at the moment with *research* which largely overlaps with Seraphis
-
m-relay
<kayabanerve:monero.social> If you add 1 as the denominator, you get screwed by the fact they have distinct generators.
-
m-relay
<kayabanerve:monero.social> Normalizing the denominator to generate that generator requires solving the dlog of the key image generator and the Seraphis generator used.
-
m-relay
<kayabanerve:monero.social> It's also development, yet the only development in CCS which would go unused is Helios/Selene, the GSP, and the first layer. The GBPs and gadgets, most of the work, carry.
-
m-relay
<kayabanerve:monero.social> And circling back to my prior comments, unless you can actually provide the math, I simply don't believe you UNLESS it's not for a generalized membership proof.
-
m-relay
<kayabanerve:monero.social> It does become much easier if you keep rings for historical outputs.
-
m-relay
<jeffro256:monero.social> Even Helios/Selene development can overlap, yeah? Also GSP can overlap if we replace the composition proof in Seraphis, right?
-
m-relay
<kayabanerve:monero.social> Only if Seraphis doesn't switch curves yet then you likely lose some of the performance you want to claim. The impact of that is unknown.
-
m-relay
<kayabanerve:monero.social> Yes re: GSPs.
-
m-relay
<jeffro256:monero.social> So yeah, all that considered (will need to read fine details again), I'm not opposed to the CCS
-
m-relay
<kayabanerve:monero.social> To be clear, Helios/Selene were chosen to contain 2**255-19. That limits our candidates and makes us pick the best of the candidates. Removing that requirement adds more candidates, some presumably better.
-
m-relay
<kayabanerve:monero.social> Then the squashed enote model may offer more efficient membership yet costs additional range proofs on inputs, adding hundreds of bytes (though sorry, my bad, those can be aggregated with output range proofs for no bandwidth increase. Just some of that perf taken back)
-
m-relay
<jeffro256:monero.social> You're right about this: burden of proof is on me for this point
-
m-relay
<kayabanerve:monero.social> Happy to hear. cc @plowsof and I'll find the others who were pausing prior to hearing you out.
-
m-relay
<kayabanerve:monero.social> I'd be extremely interested in it. The distinct generators makes me believe it'd be my circuit, and all the debt/performance of it, to full set privacy migrate RCT to Seraphis (and you'd also need a dummy Seraphis input).
-
m-relay
<rucknium:monero.social> kayabanerve: Do you have more details on the possible who and when for the code audits and mathematics proofs reviews?
-
m-relay
<kayabanerve:monero.social> I met with Veridise, who implemented multiple formal verification tools for ZK circuits. I've discussed with them both gadget proving and a soundness proof for divisors.
-
m-relay
<kayabanerve:monero.social> I'll also circle back with CS on the latter *once the protocol is explicitly defined*.
-
m-relay
<kayabanerve:monero.social> As Diego prior declined the work, yet I believe due to Aaron believing its to vague to discuss.
-
m-relay
<kayabanerve:monero.social> Then jberman also talked with auditors, and I was recommended one.
-
m-relay
<rucknium:monero.social> That's formal verification from Veridise for the code, not the mathematics, right?
-
m-relay
<kayabanerve:monero.social> No. Of the circuit itself.
-
m-relay
<kayabanerve:monero.social> We'd distinctly audit the implementation matches.
-
m-relay
<kayabanerve:monero.social> (Though the verified specification can be read into the code and then we just ensure the parser lines up)
-
m-relay
<kayabanerve:monero.social> Even I may be able to do the formal verification to be honest. It depends on if the verifiers model challenges, as proposed for use here.
-
m-relay
<kayabanerve:monero.social> Set membership is dead simple. It's literally that the product of set_member_i - claimed member is 0. That's only true if one factor is 0, which is only true if the member is equivalent to the claimed member (when over a prime field).
-
m-relay
<rucknium:monero.social> I think we can end the meeting here. We don't need to be in a meeting to discuss FCMP/Seraphis in this channel. Feel free to discuss here when needed.
-
m-relay
<vtnerd:monero.social> Since I missed my status above: still working on remote account scanning on lws. The protocol has to be revamped but I think the feature is still doable. Will have to run perf tests to verify it actually performs better as a whole
-
m-relay
<jeffro256:monero.social> Thanks all! Thanks kayabanerve ! The discussion here was very insightful and makes me hopeful for the future of Monero. In reality, as much as we talk downsides of A vs B, we're deciding between two excellent paths for the future, thanks to a ton of great work by all parties involved
-
m-relay
<one-horse-wagon:monero.social> Thanks.
-
m-relay
<chaser:monero.social> thank you, everyone!
-
m-relay
<kayabanerve:monero.social> Thanks for doing your part for Monero <a data-mention-type="user" href="
matrix.to/#/@jeffro256:monero.social" contenteditable="false">@jeffro256</a> :)
-
m-relay
<jeffro256:monero.social> You too :)
-
m-relay
<ajs_:matrix.org> Rucknium: is your MoneroKon presentation IRL or remote/pre-recorded?
-
plowsof
Redact my comments about koes willingness to learn rust sorry
github.com/UkoeHB/bevy_cobweb
-
UkoeHB
Yes I know rust, don't have plans to write more code for Monero though
-
UkoeHB
Left a review on the FCMP CCS. It needs a lot of work to properly evaluate.
-
plowsof
Thanks koe!
-
m-relay
<rucknium:monero.social> ajs_: Will be remote/pre-recorded