After reading over the docs again I think you might be right.

But what does it mean to be put into a "locked state"? Not sure how funds are 100% yours yet also "locked"

https://github.com/haveno-dex/haveno/blob/master/docs/trade_protocol/trade-protocol.md

Reply to this note

Please Login to reply.

Discussion

The wallet marks the e-notes as unspendable. You could of course restore it in something like Monero GUI and spend them, but in the Haveno wallet themselves the notes are marked unspendable until such time as the offer is either taken or you cancel it.

I gave my retoswap seed phrase to feather and had both applications open at the same time during trades. it's an easy way to confirm the behavior.

Another way of seeing that this is what happens is because when you don't have an exact amount it will reserve more than what's needed to complete the trade because it has to reserve multiple e-notes of equal or greater value.

Still kind of confused. So is it more of a convenience thing to segregate your funds for the trade? Because obviously if you can just spend them in another wallet it isn't to really lock anything. Either way this would be more to your point about your funds not being locked into a multisig until the trade is taken which is great.

In the actual application, they are locked, although you could spend them from another wallet, and I assumed that if you did, it would notice that the funds that were reserved were removed and cancelled the offer, but that's something I don't know for certain.

That would make sense. I would assume the same. Let me know if you get confirmation on that

So after thinking and reading about this more I think I narrowed down the problem...afaict Haveno/Retoswap, in it's current state, has more at risk from rugpulls than necessary - currently over a million USD at stake.

Sell offers are sitting there waiting to be automatically locked into a 2/3 multisig once taken (from potentially malicious admins controlling arbitrator/taker bots meaning they would have enough keys to steal)

Right now nothing is really preventing admins from sweeping the entire orderbook on the sell side.

The haveno rugpull amount according to my calc is USD 2.5 millions

NOTE: the security deposits from haveno market markers are part of the pot as well

XMR/USD according to haveno.markets

$283.10

Liquidity according to haveno.markets

7,474.47 XMR

15% security deposits = Liquidity x 15/100

1121.17 XMR

rugpull amount = liquidity + 15% security deposits

rugpull amount = 7,474.47 + 1121.17 XMR

rugpull amount = 8595,64 XMR = 2,433,425.68 USD

#Privacy #Markets #HiddenService #News #Work #Monero #Crypto #Hacking #HarmReduction #Guides #Bisq #cakewallet #haveno #retoswap #trading #p2p #escrow #localmonero #dex #cex #moneroju #xmrbaazar #security #agorism #cypherphunk #bitcoin #btc #decentralized #nostr #moneroju

Crypto transactions should not need an arbitrator. It should be atomic swaps only.

The fiat orderbook is much smaller meaning less risk. Then there should also be competing networks built into Haveno itself.

Arbitrators maybe should lock a certain amount of money as well to keep them honest. Not yet sure how to do it.