-
fRit_^
-
Inge-
oof. Ravencoin had a malicious code change entered into their release
twitter.com/brucefenton/status/1278834104683974656
-
hyc
yeah. saw that they released a closed-source binary fix. wtf, are they not an open source project?
-
Inge-
just posted here as a reminder to be vigilant.
-
hyc
isn't this also the project that recently looked at changing their PoW algo to progpow, randomx, or whatever else?
-
hyc
-
sech1
yes, they changed to a variant of progpow
-
sech1
more like the exact copy of progpow
-
hyc
but they gave it their own name
-
sech1
yes, the name is different
-
sech1
but I added support to xmrig and it's the literal copy of progpow
-
sech1
just period and epoch length are different
-
hyc
ah. well I suppose they need a different name to distinguish it in miners
-
hyc
or we can start putting param specs into the name, like ed25519
-
fullmetalScience
Are the "hi" and "lo" variables part of the same value? That is, are they separated because the size of their value wouldn't fit into one variable?
-
UkoeHB_
fullmetalScience: I have seen code that does that, though it's not clear exactly what you're referring to
-
fullmetalScience
I'm looking at get_dynamic_base_fee().
-
fullmetalScience
-
moneromooo
Yes.
-
sech1
but why "lo /= 5" indeed?
-
moneromooo
I don't remember.
-
sech1
just to make per byte fees 5 times smaller?
-
moneromooo
IIRC there were two equivalent equations for ArticMine's fee system. The equation is in the commit message that adds that fee system.
-
UkoeHB_
fullmetalScience: the full justification for that function can be found in section 7.3.4 here:
web.getmonero.org/library/Zero-to-Monero-2-0-0.pdf
-
fullmetalScience
Maybe it's got to do with the F value (.002).
-
UkoeHB_
it seems the hi/lo distinction is to make sure there is no integer overflow
-
fullmetalScience
Pretty sure since /5 is equal to x.2
-
UkoeHB_
"When transaction volume is below the median there is no real reason for fees to be at the reference level [73]. We set the minimum to be 1/5th the default."
-
moneromooo
I'll have to read that pdf someday, I've only heard lavish praise about it.
-
UkoeHB_
:p
-
fullmetalScience
UkoeHB_ Thanks for pasting. Was just about to pull it up :)
-
UkoeHB_
JollyMort originally said "It could be argued that something called a minimum should be some level below what an user is willing to pay by default." in his analysis
github.com/JollyMort/monero-researc…amic%20Minimum%20Fee%20-%20DRAFT.md
-
fullmetalScience
Had been analyzing the entire function and just now noticed the early return of low for anything >= v8 -.-
-
moneromooo
Not low. Of limited height.
-
UkoeHB_
keep in mind the minimum fee isn't enforced by the blockchain consensus protocol, so any old schemes are only historical curiosities; minimum fee is enforced by the network consensus, meaning transactions won't be relayed if the fee is too low, but blocks containing those transactions _will_ be relayed (afaik)
-
moneromooo
schemes of limited age.
-
moneromooo
Wait. No. Of great age.
-
moneromooo
That rejection is not consensus.
-
moneromooo
As you say in your first sentence. So just typo. nvm.
-
UkoeHB_
well 'network consensus' loosely means all the rules that most nodes adhere to, a subset of which are the blockchain consensus rules that govern what may be added to the blockchain
-
moneromooo
Well, you can call that whatever you like but if you start using consensus for that it's going to confuse people.
-
ArticMine
The minimum fee is network consensus, but a block containing a lower fee is still valid
-
ArticMine
If the tx get to the miner and the miner mines it
-
fullmetalScience
What's currently the lowest weight a tx can have?
-
moneromooo
I *think* around 50-55.
-
moneromooo
(but might well be wrong)
-
fullmetalScience
Hmm. ZtM states 2600 as "typical" for a 2-2 tx. @UkoeHB_ (?)
-
moneromooo
Sounds about right.
-
fullmetalScience
Is typical == minimum?
-
moneromooo
Obviously not.
-
fullmetalScience
Well not that obvious (to me fwiw :)
-
fullmetalScience
Better said: How's the typical 50 times heavier that the minimum?
-
moneromooo
Range proofs are the heaviest. Something like... 800 bytes I think ? And 400 for the second one.
-
moneromooo
Then the MLSAGs are next.
-
moneromooo
Couple hundred bytes each I think. Very roughly, order of magnitude.
-
moneromooo
Then you have random stuff like extra.
-
moneromooo
50-55 would be an unspendable coinbase tx.
-
moneromooo
It has a dummy^H^H^H^H^Hmumblemumble input, no MLSAGs, no outputs.
-
moneromooo
Empty extra, so I think it's unspendable.
-
fullmetalScience
I got disconnected.
-
moneromooo
<+moneromooo> Range proofs are the heaviest. Something like... 800 bytes I think ? And 400 for the second one.
-
moneromooo
<+moneromooo> Then the MLSAGs are next.
-
moneromooo
<+moneromooo> Couple hundred bytes each I think. Very roughly, order of magnitude.
-
moneromooo
<+moneromooo> Then you have random stuff like extra.
-
moneromooo
<+moneromooo> 50-55 would be an unspendable coinbase tx.
-
moneromooo
<+moneromooo> It has a dummy^H^H^H^H^Hmumblemumble input, no MLSAGs, no outputs.
-
moneromooo
<+moneromooo> Empty extra, so I think it's unspendable.
-
fullmetalScience
Thanks
-
moneromooo
My numbers are on the low side, but the oom is right.
-
moneromooo
Actually that might be in zero to monero :)
-
fullmetalScience
I'm trying to verify my formula, by checking against the real world fees I recently paid.
-
fullmetalScience
Those were around .00001800. However I only actually reach such low levels if I define tx weight at around 1700 bytes.
-
fullmetalScience
Or wait, does the cli give me the actual weight those tx's had?
-
moneromooo
IIRC 1700 is about right for a 1 in 2 out. So... that means a MLSAG is 900 bytes ? That doesn't seem right.
-
moneromooo
Something's wrong and I'm not sure what :)
-
moneromooo
OK, 800 bytes per MLSAG then. A lot heavier than I thought.
-
moneromooo
Well, MLSAG+rest of ring stuff.
-
fullmetalScience
I'm not (yet) saying my formula is correct.
-
fullmetalScience
I stripped it of all the things that should be "default" (as long as block size <= 300 kB).
-
fullmetalScience
Will any CLI or RPC command report tx weights?
-
moneromooo
Yes.
-
moneromooo
get_transactions at least.
-
moneromooo
er.. it doens't. WTF.
-
moneromooo
Well, I'll add adding it to my list.
-
fullmetalScience
*happy*
-
fullmetalScience
-
fullmetalScience
That's the current plot of min fee up to fee at 900 kB block size, if everything else remains the same.
-
fullmetalScience
In 10^-8 XMR / bytes
-
fullmetalScience
ii really doesn't like me today.
-
fullmetalScience
*
-
moneromooo
So the reason weight isn't returned is that it's not stored in the first place. You'd have to parse and recalc.
-
moneromooo
Now, the txes are parsed if requested to be parsed as JSON. Which tbh is a shitty scheme, it's because I could not figure out how to embed the JSON directly into the reply structure.
-
fullmetalScience
"if requested to be parsed as JSON" ?
-
moneromooo
if "as_json" is set in the query.
-
fullmetalScience
Okay
-
UkoeHB_
fullmetalScience: the weight is only bigger than the size in bytes if there are more than 2 outputs
-
UkoeHB_
section 7.3.2
-
UkoeHB_
just look at any block explorer, 2600 weight for 2-in/2-out, and 1775 weight for 1-in/2-out
-
UkoeHB_
you could make bigger transactions by cramming stuff into the tx_extra
-
UkoeHB_
but that is 'uncommon'
-
fullmetalScience
Perfect! Didn't think of using a block explorer.
-
fullmetalScience
Also matches my number which I had estimated at around 1778 based on my recent tx's.