We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3badc7 commit 0e36b89Copy full SHA for 0e36b89
swap/src/asb/event_loop.rs
@@ -481,6 +481,10 @@ where
481
482
// From our full balance we need to subtract any Monero that is 'reserved' for ongoing swaps
483
// (where the Bitcoin has been (or is being) locked but we haven't sent the Monero yet).
484
+ //
485
+ // TODO: Better manage monero funds. Currently we store all Monero in one UTXO, then the change
486
+ // address is blocked for 10 blocks before we can use it again.
487
+ // We should distribute the monero funds into multiple UTXOs, to avoid blocking large amounts of the total balance.
488
489
let reserved: Amount = self
490
.db
0 commit comments