-
ArticMine
sarang Do you have tx sizes for 2 in 2 out for CLSAG mixin 11 and also increasing the mixin to 13, and 17. I am looking at reducing the reference tx size from 3000 bytes to 2500 bytes Thanks for
-
ArticMine
this in advance
-
ArticMine
From reading the paper verification efficiency starts to fall above 16 so for C
-
ArticMine
CLSAG 17 mixin si maybe as high as we should go
-
ArticMine
is
-
grubles
/buffer 11
-
sarang
ArticMine: a 2-in-2-out 11-MLSAG transaction is about 2544 bytes currently
-
sarang
With 11-CLSAG, it becomes 1904 bytes
-
sarang
With 13-CLSAG, it becomes 2032 bytes
-
sarang
With 17-CLSAG, it becomes 2288 bytes
-
sarang
(does not account for varint representations of ring member offsets)
-
moneromooo
~2 bytes per index. So 2*2*(17-11).
-
sarang
moneromooo: cslashm tells me that the ledger code PR to my `clsag-device` branch (
SarangNoether/monero #1) is ready to go, but untested without testnet
-
moneromooo
As long as testnet is on v13, it should be the same as mainnet will be.
-
sarang
Unclear how much local testing they were able to do
-
sarang
Hooray, one preprint submitted to PoPETs
-
sarang
another one is making TeX very angry :/
-
ArticMine
Thanks sarang moneroooo From the figures 2500 bytes for the reference tx is appropriate if we plan a phased increase of the mixin to 17. On the other hand if the consensus is no increase in mixin from the current 11 then 2100 bytes is appropriate
-
sarang
I assume by "mixing" you mean "total fixed ring size"
-
sarang
s/mixing/mixin
-
monerobux
sarang meant to say: I assume by "mixin" you mean "total fixed ring size"
-
ArticMine
Yes currently at 11
-
ArticMine
and there has been discussion of an increase to 13 and or 17
-
sarang
Keep in mind that my estimates suggest that 13-CLSAG and 11-MLSAG would have approximately the same verification time
-
ArticMine
With an increase in verification time for 17
-
sarang
Yes
-
sarang
N-CLSAG for N > 13 will exceed verification time for 11-MLSAG
-
sarang
These are approximations; I'd need to check again after some optimizations that have been made to both verification routines
-
sarang
but they should still be reasonably accurate
-
ArticMine
Comparing 17-CLSAG with 11-MLSAG for verification time would be useful to see if the increase in verification tie is worth it
-
ArticMine
time
-
sarang
I'm building some new tests to check this
-
ArticMine
Thanks
-
sarang
The new verification tests do a better job of consistently handling commitment offsets, so the numbers should be better and more up-to-date
-
sarang
-
ArticMine
Thanks. So a 29.3% increase in verification time for the median. From 12.444 ms to 16.091 ms
-
sarang
yep
-
ArticMine
vs a 17.2% decrease if we just stay at a mixin of 11 (10.302 ms)
-
ArticMine
I take this is without any batching
-
ArticMine
Still from a scaling perspective this is significant
-
sarang
MLSAG and CLSAG signature verification does not benefit from batching
-
sarang
Batching will apply only to bulletproofs, which are not included in these numbers
-
ArticMine
Still even when we add the bulletproofs another 10.86 ms it is still significant
-
sarang
And on a larger scale, the average verification per transaction approaches the sum of a single signature verification and the non-marginal bulletproof verification
-
ArticMine
So for example for a batch of say 1000 2in 2out transactions at CLSAG-11 what are we looking at in verification time?
-
sarang
At that point it's essentially just a small few ms extra per tx
-
sarang
and that number is constant between MLSAG and CLSAG anyway
-
sarang
nothing about range proofs changes
-
sarang
FWIW batching is done per-block currently
-
sarang
and overall verification is not changed very much by expanding that, in my tests
-
ArticMine
The way I see this per block is the critical parameter. Quantifying the incremental verification per tx is very useful to get a handle on the potential limits of the network
-
dEBRUYNE
Perhaps it would be prudent to keep verification time low until we can upgrade to Triptych
-
ArticMine
This is very much my thought. Keep the mixin at 11 and pass all the benefits CLSAG in verification time and size along
-
sarang
I don't see a particularly compelling reason for a marginal increase with CLSAG
-
dEBRUYNE
A marginal increase in ring size that is?
-
sarang
Yeah
-
ArticMine
I was considering 13 or 17; however the figures for verification time make a compelling case against an increase
-
dEBRUYNE
sarang: Do you have a table somewhere that compares the current verification time against that of the sublinear ring sig schemes?
-
dEBRUYNE
I remember one that compared the different schemes, but not sure if it included the *current* scheme
-
sarang
I have code that will run that data
-
UkoeHB_
Yeah I'd be interested too
-
sarang
I didn't include the current constructions in the Triptych-2 plot since it wasn't useful
-
sarang
(the goal there was to compare against other state-of-the-art approaches)
-
sarang
it also runs the data that will produce the Triptych-2 plots
-
sarang
-
sarang
-
sarang
It's pretty slow
-
sarang
but it gets the job done
-
sarang
(data courtesy of n3ptune and friends)
-
sarang
This accounts for the overall chain distribution, so I think it provides a better estimate of the full effects of different constructions
-
» sarang afk
-
dEBRUYNE
sarang: Thanks, will have a look tomorrow
-
derpy_bridge
<Leo Cornelius [AIO]#9160>: If I send a txn eith mixin 0 on a fork that allows 0 mixin txns would the explorer show who sent it?
-
derpy_bridge
<Leo Cornelius [AIO]#9160>: What if a fork set the max mixin to 0? Would it be like bitcoins explorer where you can see a rich list?
-
sarang
Who sent it = the one time key, not the wallet address
-
sarang
Wallet addresses are never on chain
-
sarang
Also, amounts are represented by commitments and are not in the clear
-
derpy_bridge
<Leo Cornelius [AIO]#9160>: So... no?
-
sarang
If "who" means "wallet addresses", then the answer to both questions is no
-
sarang
However, you could try to build heuristics based on spend patterns and external information
-
sarang
But you could not do a simple "look for this address and tally the amounts" like in transparent assets
-
UkoeHB_
you could trace from coinbase outputs and always know the total sum in closed sets
-
sarang
Yup
-
UkoeHB_
and if you know some of those explicitly, then you can know a reduced sum for the remainder
-
sarang
Yup