-
Isthmus
@needmonero90 which plot did you ask for in the coffee chat?
-
Isthmus
Ohhh wait I remember
-
koe
looks like an offset within the block reward
-
koe
for some of them, and an overall offset for others
-
koe
weird
-
koe
I think it was fixed in the v5 hardfork
-
koe
April 2017 coincides with block ~1290000
-
koe
can you look backwards farther? maybe it started with a specific hardfork
-
Isthmus
-
koe
what happened at 1mill blocks? change of block time?
-
» Isthmus nods
-
koe
lotta weird stuff there
-
koe
Im guessing each hardfork makes the miners update their software, which leads to bug fixes
-
Isthmus
"99 little bugs in the code, 99 little bugs in the code. Take one down, patch it around. 117 little bugs in the code."
-
koe
it's almost like pre-1mill a large amount of miners were just ball parking the block reward
-
Isthmus
Yea it looks like they picked the reward from a PRNG lol
-
Isthmus
I bet there's some in there where the [fees + theoretical emission + penalty = payout] equation does not balance
-
koe
it could be a lot of altruisitic miners
-
koe
if you do implement theoretical emission and penalty keep in mind from v2 up to start of v4 it was common to chop off miner tx payment dust
-
koe
rounding down to 0.0001 significant digits
-
Isthmus
Yeah, it seems to be correlated with size
-
Isthmus
Wow, voluntarily taking a penalty of ~95% of block payout with almost no income from fees
-
koe
what's really interesting is prior to hardfork v2, in march 2016 (block ~1000000) you weren't allowed to take more or less than the true block reward (base - penalty)
-
koe
so all the variability is due to penalty and fees
-
koe
so rather than ballparking/underclaiming it was all altruism
-
Isthmus
Oh yea, forgot that underclaiming was added in v2. Made sense back when we had denominated outputs, but unnecessary now that we have RingCT
-
koe
which confuses me since back then transaction volume was super low, so how were all these penalty zone transactions being made?
bitinfocharts.com/comparison/size-xmr.html
-
koe
can you do a color scale with 20kB instead? for the first 1000000 blocks that was the penalty zone
-
Isthmus
I think they're all over 20kB but give me a chance to reload the data and double check
-
Isthmus
Heh, I had a funny realization about allowing underclaiming - it opens a back door for miners to exert control over monetary policy.
-
Isthmus
For example, suppose some people wanted to switch Monero to a bitcoin-style emission curve (periodic halving, plus nixing the tail emission so that no more than 21 million Monero ever exist).
-
Isthmus
I think that ideally, that kind of major overhaul to our economics would require community consensus and modification of the codebase.
-
Isthmus
But actually, today, any coalition of [otherwise-independent] miners with more than 51% of the hashrate could impose and enforce that new ruleset, *technically* within the Monero consensus rules.
-
Isthmus
Within the letter of the law, if not the spirit.
-
Isthmus
-
Isthmus
Yellow is >= 20000
-
koe
early stress test?
-
» Isthmus shrugs
-
Isthmus
way before my time.
-
koe
nice to see modern blocks are pretty clean anyway
-
needmonero90
Isthmus: time series of X interval plots
-
needmonero90
Or maybe plot the distributions for each month in a different color
-
moneromooo
If we change it to not allow underclaiming, they can still do it since they have 51%.
-
moneromooo
(I assume you mean they'd rewrite the chain if anyone claims a non zero block reward)
-
Isthmus
Yea, but there's a nuanced reason for making the change.
-
Isthmus
Right now, since miners are *allowed* to impose this kind of monetary policy, they would be within protocol and thus fairly in control of monetary decisions on the official chain. People wanting to bring back tail emission would have to make an unofficial fork.
-
Isthmus
If we fix the protocol to prevent underclaiming, then if a bunch of scarcity bros want to cap it at 21 million Monero, they have to make their own unofficial fork with different claiming rules.
-
moneromooo
A fairly simple change. It won't stop someone with halfway decent ability.
-
moneromooo
I think you mean "the monero team doesn't like it", in which case fair enough.
-
koe
thankfully the argument in favor of tail emission is pretty strong, and it harmonizes with the dynamic block/fee system quite nicely
-
Isthmus
Agree, but if Bitcoin price goes 100x relative to Monero and media are evangelizing the 21M angle, I expect scarcity "cargo cults" to emerge.
-
Isthmus
Regardless of all of the research and evidence in favor of tail emission, it'd come down to greed and FOMO. xD
-
koe
in a world where literally every government on earth inflates its currency, and inflation is the backbone of orthodox economics, I'd love to see a median evangelize limited supply even if it makes trouble for Monero
-
koe
media*
-
luigi1111
miners are going to voluntarily reduce the reward to zero? sounds suspect
-
gingeropolous
yeah... i mean, "<Isthmus> Regardless of all of the research and evidence in favor of tail emission, it'd come down to greed and FOMO. xD" ... the greed is what would drive the miners to still get a block reward. Regardless of the cabal of miners trying to push the policy, normal miners would still exist. Though I guess if they are truly 51%'ing the network, they just constantly try to erase the normal chain growth
-
gingeropolous
so it carries with it all the costs of a 51% attack.
-
gingeropolous
though it could be fun to try and devise a disincentive for this behavior. afaiu, the current block reward doesn't take into account whether the block reward was claimed in the previous block
-
gingeropolous
you do some thing where the block reward gets pushed to the next block if unclaimed, the game theory takes over methinks
-
koe
interesting
-
gingeropolous
but if its done wrong, could probably introduce weird incentives for other behaviors
-
koe
so current block reward = 'ideal' supply - actual supply + intended ideal reward for this block
-
koe
ofc fixed block reward makes the most sense
-
gingeropolous
yeah im thinking more for the tail emission.
-
gingeropolous
but yeah, so the mining reward for the next block would keep increasing every block its pushed back by this money policy attack. though the penalty scenario would also need to be integrated
-
gingeropolous
e.g., you can legitimately mine a block with 0 total reward if you made the block so big that the penalties added up
-
gingeropolous
at least in theory, afaiui
-
koe
yes, I calculated its 3 to 4 times the base block reward to fill the penalty zone
-
koe
depending on transaction sizes
-
koe
in total fees
-
luigi1111
yeah a miner can claim any reward he wants by stuffing a block. of course all miners doing that would make rather large blocks if they wanted to claim a low reward...but if they're supposedly colluding to set monetary policy....
-
gingeropolous
well in the current scheme they can claim any reward they want without stuffing a block... right?
-
luigi1111
right but why is it harder if they can't
-
TheCharlatan
is there a good ecc text book that focuses on modern implementations and their theoretical descriptions?
-
hyc
someone has had time to write a book on ECC already?
-
koe
-
AlexAnarcho
hey guys!
-
AlexAnarcho
somebody just sent me this paper
arxiv.org/pdf/2001.03937.pdf - i wanted to ask if you have seen it yet and what you think about it
-
AlexAnarcho
and maybe if there is already an official statement from you
-
sarang
Yes, I read it when it was posted
-
sarang
Without more details on the model and exact dataset, it's not possible to examine their results in more detail
-
sarang
(the usual disclaimer, of course, that preprints are not peer-reviewed before posting)
-
AlexAnarcho
thank you @sarang!
-
sarang
This isn't any kind of "official statement" (this is an informal workgroup)
-
AlexAnarcho
to be honest, i am a little disappointed, that in the very first sentence of the paper they confuse RingCT with RingSignatures.
-
sarang
"RingCT" usually is taken to mean the transaction protocol you get by applying Pedersen commitments to multidimensional ring signatures (in one of a couple of ways)
-
AlexAnarcho
Ah I see, so that is correct
-
sarang
That being said, the idea that distinguishing transaction features could be used to build correlations is a good reminder of why transaction structure is hard to make "fully uniform"
-
sarang
So whether or not their particular data about ShapeShift would be generalized beyond that data, it's good to note that correlations are possible to build
-
sarang
They do note toward the end of the paper that standardizing the size of rings (which has been done) would reduce the effectiveness of the model; however, they don't provide details
-
sarang
Earlier they mention "number of rings" (or some wording like that), which could mean the number of inputs; that is not standardized, but the input-output distribution is pretty skewed to a few particular values
-
sarang
It's not clear how their ShapeShift data differs from them (again, they don't really provide many details)
-
sarang
I did find it interesting that even with the public ShapeShift data, they were apparently unable to obtain good results on amounts (which makes the title a bit odd)
-
hyc
just proved that CT works
-
hyc
their entire analysis works because they have a good source of labels. e.g. the shapeshift API
-
sarang
They have a follow-up preprint as well, talking about cross-input correlations (but again with very few details on the model or dataset)
-
sarang
I'd mainly like to know if/how the ShapeShift results would apply elsewhere
-
hyc
certainly the transaction records from an exchange like Kraken would also be a reliable source of labels
-
sarang
An exchange's transaction structure is likely very different from non-exchange users (but it would be interesting to see to what extent that's true)
-
AlexAnarcho
so, if i understand you correctly, your opinion is that they were not able to "crack" monero and the title is really a dramatized, maybe to drum up attention?
-
sarang
They were able to build correlations using labeled public data
-
hyc
Monero in isolation is uncrackable, I'd say
-
AlexAnarcho
And even with the information they did gain, its not really a fault of monero, but more of shapeshift?
-
hyc
but we don't live in isolation
-
sarang
I don't think it's a "fault" in those terms, necessarily
-
sarang
It means that it's really, really hard to make transactions "completely uniform"
-
sarang
and that with enough known data, you can apparently build correlations (under the assumption that these results are correct, which we can't currently confirm without more details)
-
sarang
However, those correlations don't break the underlying cryptography; they imply patterns of use with that particular data set
-
hyc
yes, reaffrims that anonymity comes from blending into a crowd. anything distinctive breaks that.
-
sarang
Right, even things like frequency of use or common times
-
hyc
but without a source of labels, they still would have nothing.
-
sarang
Sure, but it also shows that large entities like exchanges hold a lot of labels, so to speak
-
hyc
yes...
-
hyc
the fact that shapeshift accounted for 4% of monero transactions was an important data point
-
koe
gingeropolous Isthmus going back to yesterdays conversation. It might be best to enforce exact block rewards, since anyone who accepts less is creating an anonymity puddle.
-
koe
moneromooo as well
-
sarang
It'd be interesting to see the extent to which this analysis applies to shielded Zcash, where you have metadata on timing, etc. but not ring-based metrics
-
moneromooo
What about me ?
-
koe
enforce exact block rewards for next hardfork
-
moneromooo
Someone's doing it atm. If they don't do it in some reasonable amount of time, I'll do it if reminded.
-
koe
ok
-
hyc
sarang: in section 5 they mention that they've already analyzed bitcoin, zcash, litcecoin and dash
-
sarang
Sure, but "Zcash" or "Tcash"?
-
sarang
=p
-
sarang
(Tcash = transparent Zcash)!
-
hyc
heh
-
hyc
I suppose shapeshift doesn't support sending to z addresses
-
hyc
no exchanges did for a long time, I'm not sure which ones do now
-
sarang
Well, and the preprint implies (if I'm reading their labeling correctly) that I/O structure was important to the analysis
-
sarang
and Zcash Sapling doesn't hide that
-
hyc
anyway, the title isn't too click-baity. they tried an ML model to determine txn values and failed. that's still worthwhile result.
-
hyc
in fact their accuracy was -0.1, which I find amazing. I mean, I would expect 0 to be the worst possible accuracy.
-
sarang
Yeah, my only qualm was that the title seems to imply they got results on transaction value, which is the opposite
-
hyc
fair point
-
sarang
Would be nice to have details on their model and results, but they're from a private company, not a university or anything
-
hyc
they got the furthest thing possible from a result ;)
-
sarang
I wonder if the research was intended to promote their analysis methods or something
-
sarang
in which case there's no incentive to provide results
-
sarang
*detailed results
-
hyc
well, if it was positive it would encourage more interest in the direction
-
hyc
I think uniformity of txns is a losing battle. people are always gonna have a random collection of inputs of varying amounts
-
hyc
just like people have a random assortment of coins and bill denominations
-
hyc
so the set of inputs will always be of varying size
-
hyc
aside from that, "applying ML" to a study is largely boilerplate these days
-
koe
there's a long list of ways to improve uniformity
-
koe
standardizing the extra field would be nice
-
hyc
I've always said the extra field should use a tag-length-value syntax
-
hyc
and have a registry of known tags
-
hyc
but really, the less it's used the better
-
moneromooo
I had a start at encrypted extra payload. One obstacle was htat the tx keys are themselves in extra. Moving them out would fix this and fix the leeway in having a technically variable amount of them.
-
hyc
out to where?
-
AlexAnarcho
Anyway, thank you very much @sarang for the prompt reply and your insights!
-
moneromooo
Maybe the output.
-
moneromooo
Though the output type system is very annoying to add to, so I won't.
-
hyc
heh
-
moneromooo
So the rct struct seems like the best place.
-
koe
is it possible to encrypt so any of several output recipients can decrypt?
-
moneromooo
I suppose you could encrypt with a symmetric algorithm, and encrypt they key separately wiht an ECDH to each recipient.
-
koe
makes sense
-
koe
I want to say get rid of the field completely, but then some flexibility is lost e.g. with the janus mitigation
-
moneromooo
I've been of the opinion that a freeform/arbitrary extra might allow interesting applications from whoever else, but the only things I've seen so far seem to encourage spam.
-
TheCharlatan
i_a did you solve your sign problem yet?
-
koe
-
PauleBert
with sub addresses do we really need the tx_extra anyway?
-
hyc
it's always wise to leave yourself a hole for future expansion
-
hyc
ASN.1-style TLVs let you add arbitrary extensions without breaking older software
-
hyc
they just ignore extensions that they don't recognize
-
hyc
I'm pretty sure if we want to support cross-chain atomic swap we're going to need an additional tx field
-
moneromooo
Merge mining also needs one.
-
koe
yeah enforced TLV would be a good first step
-
TheCharlatan
thanks koe , I've already made extensive use of their course, it's great! I've looked around a bit now and the "Handbook of Elliptic and Hyperelliptic Curve Cryptography" seems to be most in line with what I am looking for.
-
Isthmus
@Koe yea, we already started coding up a tweak so that consensus requires miners to collect all of the fees + emission. Should be done in the next week or two. And since miner_tx_amount will be a deterministic consensus value calculated independently by every verifier, it can be an implicit rather than explicit input for miner transaction validation. :- )
-
Isthmus
I was looking at miner transactions last night
-
Isthmus
There's currently 7 different implementations in the wild
-
Isthmus
I could provide a list of blocks mined by each
-
Isthmus
Everybody seems to use the miner_tx differently, and len(unique(len(tx_extra))) gives it away
-
Isthmus
-
Isthmus
@Snipa mentioned some good reasons that mining pools use this for differentiating workers and whatnot, but perhaps we could standardize that?
-
Isthmus
Right now everybody has their own ad hoc implementation in the extra field, so it might be safer to provide an actual space for that
-
Isthmus
Perhaps supporting up to 100 billion workers per pool or something big enough that nobody has an excuse to circumvent
-
Isthmus
I mean, I feel like we could support a bunch of pool-required features for less than 60kB of bloat per block
-
Isthmus
I'm not sure exactly what hooks should be built in, but I'm sure we could accommodate if we wanted to.
-
Isthmus
This has implications for privacy of all users. For example, I have a list of blocks mined by the pool that added 60 kB null to each miner transaction. When this person creates multiple-input transactions to claim the reward, ring signatures offer them no protection.
-
Isthmus
Multi input + miner fingerprint is statistically noisy, soo we know when those outputs are really spent, and can rule them out as decoys in other transaactions.
-
moneromooo
One pool does this to *every* tx ?
-
sech1
Is some pool bloating the blockchain?
-
cohcho
How mining pool then spend it's reward?
-
cohcho
then should spend*
-
cohcho
explicitely control that no two inputs being used together?
-
koe
weird I thought null padding was limited to 255 bytes per tx extra
-
moneromooo
You can have any number of chunks.
-
koe
so is it just 255 consecutive padding bytes?
-
moneromooo
Up to.
-
cohcho
I don't upload images into blockchain via tx_extra but anyway Should someone with old tx contained mining reward do something special?
-
koe
what happens if there are more than 255 consecutive? tx rejected?
-
moneromooo
No. tx_extra is not parsed.
-
koe
does main implementation not permit constructing tx with more than 255 consecutive? and there is no effect when reading extra field for received tx?
-
Isthmus
@cohcho ideally pools would churn the outputs or claim them in a series of transactions that fold in new coins.
-
Isthmus
Of course, multi-input transactions are a separate matter from leaving obvious fingerprints in tx_extra, but the two combined are extra heuristically deadly.
-
Isthmus
Though the former is a fundamental challenge of ring-signature based privacy, whereas the latter is something that can be addressed in code/consensus.
-
Isthmus
<@moneromooo> One pool does this to *every* tx ?
-
Isthmus
Looks like it
-
Isthmus
Though if we want to be extra pedantic, the hypothesis that "they have mined at least one block without this anomaly" cannot be disproven from my perspective.
-
Isthmus
What's the biggest coinbase transaction I could generate with oodles of outputs and maximum tx_extra spam?
-
Isthmus
Is it capped by blocksize, or outside of that?
-
moneromooo
Block size.
-
Isthmus
Oh goood.
-
Isthmus
*good
-
cohcho
moneromooo: --prune-blockchain removes it anyway, right?
-
cohcho
(it == tx_extra of miner transaction)
-
cohcho
ah, no it's present
-
moneromooo
No.