-
mj-xmr
binaryFate, TY
-
jerfo
Probably trivial: but I'll ask. Why is windows.h included in src/cryptonote_basic/miner.h when it is not used later in the header file?
-
sech1
it's probably used in the files that include miner.h. The quickest answer would be to try removing it and then compiling.
-
muhkey
guys I understand that for the atomic swaps btc -> monero is possible because btc scripting is enough but the reverse isn't, I also understand that having scripting on monero side would make scripted txs stand out from others and we don't want that since it could break anonymity
-
muhkey
would it make sense that all monero txs include a decoy script so that txs would all look "the same" ?
-
kayabaNerve
I don't like that phrasing
-
muhkey
sorry
-
kayabaNerve
No, it's nothing against you
-
muhkey
not that technical
-
muhkey
I know
-
kayabaNerve
The reverse is possible. It wouldn't be an atomic swap unless BOTH parties received funds and both do.
-
kayabaNerve
The comment is that the fact BTC must always move first opens up a DoS against market makers. That's it.
-
kayabaNerve
It's not that you can't have a system where you can buy XMR or can't have a system where you sell XMR. You just will perform much better if one of those systems also has a reputation system.
-
kayabaNerve
Whereas one doesn't need such a system to be generally free of DoSs. They both still have DoS vulnerability.
-
kayabaNerve
I completely respect the work of multiple parties involved with this but I hate the marketing going out about this and just wanted to throw my hat in the ring
-
muhkey
I see ... I guess I misunderstood the issue
-
kayabaNerve
*And by marketing, I mean groups saying it's infeasible/impossible to do swaps in either direction
-
muhkey
I though the issue was technical
-
muhkey
on monero side
-
muhkey
due to the very limited scripting available
-
kayabaNerve
Because I know of one group who's said it's not possible (not part of the XMR community; just one I very much dislike who has looked into it) and one group who said it's difficult to the point we have people thinking it's not possible.
-
kayabaNerve
That said, the rest of your commentary is valid to a degree. Monero would need scripts, or a different signature system, for Monero to lock up first which reduces the risk of a DoS.
-
kayabaNerve
It doesn't remove said risk; key word is reduction.
-
muhkey
I see
-
kayabaNerve
I think it'd be great to remove that risk and I fully acknowledge it's difficult/annoying. I just hate the way people discuss it to the point it's perceived impossible. Even without a bond/rep system, it's still possible and can even be practical.
-
kayabaNerve
Anyways. Rant aside. Scripts aren't private
-
kayabaNerve
So yes, every TX could have a scirpt, but it'd be obvious they're dummy scripts versus swap scripts.
-
kayabaNerve
That isn't helpful.
-
muhkey
fair enough
-
kayabaNerve
Good thought though :) Great to see people taking an interest and discussing it
-
kayabaNerve
Sorry if I scared you off with my rant :P
-
muhkey
I just thought of something like ringct for scripts hahhaa
-
muhkey
nah you didn't
-
muhkey
:)
-
kayabaNerve
Monero locking up first is possible if Ring Sigs have an adaptor signature defined IIRC
-
kayabaNerve
They just don't have one as of right now. I honestly don't remember the cryptography/protocol well enough to comment fully. I'd assume it's possible to do such an adaptor signature, just a lot of research where the existing people who tried couldn't crack it.
-
kayabaNerve
*at least, with the time they invested
-
kayabaNerve
And then it'd need a modified signing algorithm and honestly, that's annoying as hell given the scope and scale of RingCTs. I would NOT want to be the persona ssigned to that :P
-
kayabaNerve
Not to mention the theory/impl would change next time Monero updates which is... a pain
-
kayabaNerve
So yes, the easy way out is scripts, yet that has privacy concerns to some degree. I personally just don't think XMR should have scripts in general. It's a decent attack surface and not needed in a currency IMO.
-
kayabaNerve
I would advocate for a signing algorithm enabling a VDF sig > a signing algorithm without one known though.
-
kayabaNerve
So if it's not possible under X, yet with Y modification it's made possible... I'd consider that a very appealing trade off depending on what it gave. If Monero does go out of its way to support swaps, that's as far as I think it should go.
-
kayabaNerve
But I'm not a core dev and no where near technically competent enough to do the cryptography :P So grain of salt here.
-
muhkey
kayabaNerve, thanks a bunch for the details this helps in understanding the concerns/challenge
-
kayabaNerve
Happy to do so. Again, I am a bit out of date, and I do respect COMIT for their work. Just have a differing opinion on this matter and its presentation ;)
-
muhkey
sure I also appreciate that people are looking into and working on this
-
muhkey
most exciting feature after randomx for me
-
muhkey
well "feature"
-
kayabaNerve
Definitely great with a lot of exciting dev! I've been considering throwing my hat back into the ring.
-
zkao
Just to push on the other direction, of what muhkey suggests. The path for `contracts` running on monero: 1 introduce tx chaining + other primitives needed for payment channels, 2 create functional payment channel, 3 (other possibilities here) use payment channel state update with specially crafted adaptor keys (e.g., make the witness data of a finalized contract state update the
-
zkao
adaptor secret key that makes a channel state update transaction valid).
-
kayabaNerve_
The fact PayMo exists shows workarounds exist, and I believe ZCash has its own investigation into a LN under similar circumstances. To be clear, PayMo isn't feasible (at all, unfortunately), yet I want to provide a counterbalance to calls for those features. Not to mention, TX chaining isn't possible even with contracts.
-
kayabaNerve_
Actually, I'd need to double check the Ed25519 rules. All subgroups that aren't the primary should be banned from RingCTs. I also believe -0 is banned; I know it is for key images.
-
kayabaNerve_
And the key image point decoder, which I assume is used for all points to be honest, also bans unreduced points...
-
kayabaNerve_
But it also isn't Ristretto so I wouldn't say without further consideration it's possible to chain. Maybe you've done all the needed double checks though :P
-
selsta
.merges
-
xmr-pr
7692 7693 7698 7718 7740
-
selsta
.merge+ 7781 7782 7776 7789 7771 7772 7769 7765 7758
-
xmr-pr
Added
-
selsta
.merge+ 7745 7744
-
xmr-pr
Added