-
OmerShlomovits
Hi everyone ! here is a link to our bulletproofs+ audit:
suyash67.github.io/homepage/assets/…etproofs_plus_audit_report_v1.0.pdf . It is a draft, shared with you alone. We will release the final version to the community in a week. We welcome any comments and questions. I will try to make myself available here as much as I can but
-
OmerShlomovits
you can reach out to me using my email omer.shlomovits⊙gc or telegram omershlo
-
ErCiccione
Nice "key fundings section" and nice to see "we did not find any critical issues and none of the high-severity issues were discovered to bepractically exploitable" :)
-
gsdg
/!\ this channel has moved to ##hamradio /!\
-
thejoecarroll
/!\ this channel has moved to #nyymit /!\
-
ProClifo
/!\ this channel has moved to #nyymit /!\
-
channelsaJ
/!\ this channel has moved to #nyymit /!\
-
drdanickEC
/!\ this channel has moved to #nyymit /!\
-
» sarang reads the audit report
-
seyawqmnx
Remember kids. If you call project coral reef for what it is - fluffy embezzling half a mil usd from the monero fund for a website with smaller adoption than monero woo plugin, you will get excommunicated.
-
endor00[m]
Wasn't the "point at infinity" check the same bug that was patched and disclosed back in 2017?
getmonero.org/2017/05/17/disclosure…in-cryptonote-based-currencies.html
-
endor00[m]
* Wasn't the "point at infinity" check (paragraph 5.1) the same bug that was patched and disclosed back in 2017?
getmonero.org/2017/05/17/disclosure…in-cryptonote-based-currencies.html
-
endor00[m]
Oh yeah, they even reference it in section 4, page 19
-
selsta
does not seem like the same bug to me
-
selsta
but related
-
sgp_
it's 17 utc but we didn't really organize a meeting this week
-
sgp_
quick update on the bp+ audits
-
sgp_
first report came in, so reading that
-
sgp_
sarang and I spoke with 2 firms yesterday, SoWs on the way
-
gingeropolous
for triptych?
-
sgp_
no for bp+
-
sgp_
hinted a bit with one of them about triptych however
-
sgp_
some more work needs to be done before handing that off to auditors however
-
moneromooo
BTW, I started looking at integrating triptych, since sarang had a C++ implementation intended for production use (I did not realize when we talked about this before).
-
sarang
The key image problem from way back when had to do with incorrect subgroup membership that could be misused in a specific way
-
sarang
Whereas an identity element in a proof is not strictly invalid on its own
-
Isthmus
I'm curious: a priori, how would one go about deriving / calculating an ideal tail emission rate?
-
moneromooo
Define ideal.
-
Isthmus
Defining ideal is part of the question
-
sarang
I don't think the check for identity that the authors recommend is needed as they state it
-
sarang
Even if you were to use a prime-order curve group and could avoid torsion checks, the prover could always provide identity elements anyway
-
Isthmus
I would say "provides enough security, but doesn't wastefully or egregiously overpay miners at the expense of transaction affordability"
-
Isthmus
But that's just one take
-
Isthmus
I don't want to bias how it's approached
-
sarang
and the prover would still run into the issue of challenges
-
moneromooo
That sounds awfully subjective.
-
sarang
So I disagree that torsion plays any role here
-
Isthmus
This is why I'm asking for help coming up with a way to make it objective
-
Isthmus
ping @ArticMine
-
ArticMine
One can argue it is very close to optimal, in that it is just below the historical inflation rate of gold
-
ArticMine
Gold being the "gold standard" for hard money
-
Isthmus
That's an economic-first lens. What about a security-first framework?
-
Isthmus
(or a combination)
-
Isthmus
(obviously they're heavily coupled questions)
-
ArticMine
The highest security that meets the Austrian economic argument
-
Isthmus
I'm admittedly not familiar with that, how does it map to hashrate and chain finality security?
-
Isthmus
Ah "The Austrian school holds that prices are determined by subjective factors like an individual's preference to buy or not to buy a particular good, whereas the classical school of economics holds that objective costs of production determine the price"
-
ArticMine
The simplest it to compare rto Bitcoin stopping the halving at 3.125 BTC per block
-
ArticMine
Define objective costs of production including environmental / social externalities for example
-
ArticMine
No that simple
-
ArticMine
Not
-
Isthmus
Yea, that's going the opposite direction
-
ArticMine
The other interesting case is Bytecoin abandoning the adaptive blocksize in 2019
-
ArticMine
As the emission fell way below the equivalent for Monero at tail emission
-
Isthmus
Sorry, I'm not articulating this well
-
Isthmus
I'm trying to figure out something like "What is the minimum tail emission necessary to ensure that the network consistently attracts [[sufficient]] hashrate to keep the chain [[secure]] against malicious miners"
-
Isthmus
Where defining 'sufficient' and 'secure' is part of the question.
-
ArticMine
Yes and this becomes an empirical calculation at best
-
Isthmus
Yes, it's a hard question, but we still have to ask it and try to come up with an answer :- (
-
ArticMine
I project that Bitcoin and especially Bitcoin Cash / SV will become the guinea pigs to test this out
-
Isthmus
Too late for us though ☠️
-
Isthmus
Anyways, I don't have an answer. Just a bunch of questions :- P
-
Isthmus
I'll simmer on this some more
-
ArticMine
I also expect this issue to arise in Bitcoin Cash / SV well below Monero's tail emission
-
endor00[m]
<Isthmus "I'm trying to figure out somethi"> In my opinion, the answer to that question is directly tied to the coin price
-
endor00[m]
The primary regulating force of network hashrate is profitability
-
endor00[m]
Which depends on hardware efficiency vs electricity price
-
endor00[m]
So you want to attract enough miners in order to grow the network hashrate to a point where anyone would struggle to (easily) find enough hashrate to mount an attack
-
endor00[m]
In turn, that requires establishing an estimation of the computational power available for your mining algorithm, and a choice for the safety margin
-
endor00[m]
You establish those two factors, from there you derive the network hashrate you want to achieve, and from there you find amount of coins emission that makes mining slightly profitable for an established electricity price
-
endor00[m]
And then you decide if that amount of inflation is acceptable based on [[criteria]] or not
-
endor00[m]
TLDR: network security depends on coin price vs hardware efficiency of the available computational power vs the electricity price
-
endor00[m]
So you have to regulate emission (and the subsequent inflation) based on these three parameters
-
endor00[m]
Although you'd be kinda inverting cause and effect if you took that literally - emission is the parameter, and the coin price is the result of these parameters and other market factors
-
endor00[m]
So what I'd do is choose the emission curve based on the aforementioned "acceptability" [[criteria]], and then ask "How big of an attack could an attacker mount? How profitable would it be?"
-
endor00[m]
* So what I'd do is choose the emission curve based on the aforementioned "acceptability" [[criteria]], and then ask "How big of an attack could an attacker mount at the current price? How profitable would it be?"
-
endor00[m]
(Please let me know if any point in my logic is wrong or flawed)
-
Isthmus
I like your approach and insights
-
Isthmus
On a call, will circle back with more notes in a bit :- )
-
ArticMine
There is a valid point endor00[m] in that if the inflation rate is set high then price should fall and vice versa.
-
ArticMine
The trouble is that markets are to a large degree emotional. So one is trying to quantify emotion.
-
ArticMine
This is why I like the current setting for the tail emission. Set it close to but below the emotional value of the inflation rate gold
-
endor00[m]
True
-
endor00[m]
Indeed, I like the current tail emission too. Small enough to avoid large inflation, but large enough to incentivize miners to keep going
-
endor00[m]
I especially like the fact that it's linear inflation, and not exponential
-
charuto
i mean it makes some sense that money supply should adjust to economy growth
-
endor00[m]
I'm... not sure if I agree?
-
ArticMine
Good point. The key with linear inflation is that when one takes lost coins into account then an equilibrium will be reached between inflation, price and lost coins leading to a stable supply
-
hyc
that's a big assumption. that lost coins are smaller than emission rate
-
hyc
most likely, oldest coins are more likely to be lost. and the further back in time you go, the faster the emission rate was, which means more coins were sloshing around
-
hyc
which means more coins are likely to be lost
-
ArticMine
If they are larger then price should increase due to scarcity leading to a lower loss rate
-
ArticMine
Since if they are more valuable one would expect a lower loss rate
-
hyc
ok, I suppose so
-
endor00[m]
I mean, if we want to dig into assumption, then we can also assume that we can't really know which coins are truly lost, because anyone could be lying about losing them in the first place. See "boating accidents"
-
hyc
not sure that really affects anything
-
endor00[m]
The only coins that could be provably lost are the ones sent to a coin eater address for which nobody knows/finds the private key
-
hyc
but definitely, in the early days, people were spitting out coins from faucets, throwing hundred or thousands of coins around
-
endor00[m]
And even then it wouldn't be a certainty, it would be just a "reasonable improbability"
-
hyc
casually, with no concern for recoverability.
-
hyc
look at the recent stories about the guy trying to recover BTC from his old discarded hard drive
-
hyc
people had thousands of coins sitting on machines they tossed into the trash
-
endor00[m]
Oh I'm aware, I'm just saying that there's no "formal" way of knowing which coins are really lost
-
endor00[m]
All estimates are based on some kind of trust in anecdotal evidence
-
ArticMine
There is not, but one can argue for an equilibrium nevertheless
-
ArticMine
Just one would not know what the equilibrium value would be
-
endor00[m]
Indeed
-
endor00[m]
I would argue that since there are no fundamental mechanisms based on burning coins in Monero, we should rely on the working assumption that the available supply is equal to the full emission
-
endor00[m]
And treat any lost coins as a "disturbance" (can't think of the right word for it)
-
hyc
aberration, anomaly
-
endor00[m]
Perturbation! That's it
-
endor00[m]
A perturbation of the system
-
geonic
those rhymes are not going in a good direction