-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set min_volume to dust in orders #849
Comments
Thanks for creating the issue! It's easy to add, doing now. |
i fear min_volume needs to be set even higher, 2 * dust, because the swap
was successful on maker side (spent takerpayment), but failed on taker side: https://dexapi.cipig.net/public/error.php?uuid=1ee3ee1b-e034-40c9-a877-b7aba4849694
"value": 0.00000000 is not good, should be at least 1 :-) |
Yeah, the miner fee is deducted from the payment output upon spending attempt. I guess the |
Tested min_volume cases and it works as expected when i operate with base DOGE, both bid and asks (buy/sell DOGE) have base/rel min_volume to 10 DOGE (10x dust).
base_min_volume = 0.191919 DOGE |
last case covered in above PR, all orders in DOGE/KMD have |
Currently mm2 sets min_volume to 0.00777 as default if nothing else is passed. Can it be set to the setting of
dust
from coins file instead, in case the dust setting is higher than 0.00777 (or always use the dust setting as min_volume)?DOGE has 100000000 sats (1 DOGE): https://github.com/Komodoplatform/coins/blob/master/coins#L546
This would prevent buys of < 1 DOGE by takers from starting and failing, like in https://discord.com/channels/412898016371015680/449950331577565194/818155230298112020
Thing is also that they don't even know why it fails, they only get the 180s timeout error. Maker has this: https://dexapi.cipig.net/public/error.php?uuid=1a85e6fa-c60f-455a-9b38-5cf97ae01e00
The text was updated successfully, but these errors were encountered: