static mixin (protocol level) #30
Merged
wowario
merged 1 commits from mixin
into release-v0.2.1.0
6 years ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'mixin'
Deleting a branch is permanent. It CANNOT be undone. Continue?
After hard fork version 9, all transactions must have the same ring size.
This seems to overwrite the variable
mixin
as calculated above, making theif
section below a no-op. Or am I missing something?yes, it overwrites the variable
mixin
(which is set to max) to make suremixin
andmin_mixin
always equalDEFAULT_MIXIN
after v9. I could separate the section to make it cleaner.I don't get it - isn't the idea to reject txes whose mixins are different from the default mixin? Currently it doesn't do so.
Currently, users can pick any mixin above the
min_mixin
. After v9, users can only pick the default mixin.would this make more sense?:
02ca1bc7b8
No, it doesn't make sense. This code is for verifying the validity of a given transaction, and the transaction's mixin value is obtained in the above loop
for (const auto& txin : tx.vin) {...}
. Then the obtainedmixin
variable is ignored and overwritten byconst size_t mixin = DEFAULT_MIXIN;
, so this code will accept txes with any mixin. Or am I reading anything wrong?Ah, okay. I see what you mean. Let me try to express it a different way.
0548011ca5
.