WalletWasabi: Cannot send large amounts out of the wallet if wallet has many UTXOs
General Description
Tried to self-spend 1 tBTC when you have crazy amount of UTXOs in your wallet (~1000 UTXO)
Not enough balance to cover the fee
dialogTransactionSizeException
TransactionSizeException
says if I lower the amount a bit, I will be able to send it.
Which turned out to be not true!
How To Reproduce?
- Try to send money out if the wallet when you have large amount of UTXOs
Wasabi Version
master
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 1
- Comments: 25 (3 by maintainers)
I experienced the same issue (on current release 2.0.2.1) when selecting ~25 dust inputs to sweep from a hardware wallet using the “CTRL + C + D” screen. Sorry the logs are in an image instead of text.
It’s on the macbook, so I will edit the description with the Logs once I got my hands back on the mac. 😅
I know we should not spend time on this, but we shouldn’t close this issue since it’s not fixed.
Tried to self-spend ~0.9 tBTC by sending all of my utxos (~1180) and I got
TransactionSizeException
.The exception said I cannot send this much at the moment. So I extracted around ~200$ worth of tBTC and tried again and again and again…
I couldn’t send out my total balance, neither less than my total balance.
IMO the main issue here is that I have ~1180 UTXO. If I try to send 1 UTXO worth of 1 BTC amount in RegTest, it works perfectly well.
The fact that @brizik wasn’t able to send out ~106$ worth of tBTC in ~20 UTXO is alarming IMHO.
I will edit the title and the description since it’s misleading a bit.
@yahiheb @soosr @adamPetho @MarnixCroes @molnard
Unable to reproduce it between my two wallets. Tried to send a little less than my total balance:
video:
https://user-images.githubusercontent.com/123734066/220604405-23fd7dfb-b906-49f8-9fa4-e94142a83d29.mov
Notification appears stating that “There are not enough funds to cover the transaction fee.”
According to @soosr it is the expected behaviour.
I will debug it tomorrow in the office then.
Then I’d say this is rather high priority…
Well, the infinite loop is fixed by getting a
TransactionException: Coin selection timed out.
error. But still, I couldn’t send out the ~90% of my balance with the normal send workflow.I will check it, soon.