Skip to content

Commit

Permalink
payincoinjoin: clarify coin selector is unaware of scheduled payment
Browse files Browse the repository at this point in the history
  • Loading branch information
MarnixCroes committed Nov 13, 2024
1 parent a1f2f47 commit d3140ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/using-wasabi/RPC.md
Original file line number Diff line number Diff line change
Expand Up @@ -811,9 +811,11 @@ A _payincoinjoin_ is written to the logs and its status can be seen by using the
Payments in coinjoin can theoretically be made to any ScriptPubKey.
However, the coordinator may only accept certain types of outputs.

Currently the default maximum is 4 payments per client per coinjoin.
The default maximum is 4 payments per client per coinjoin.

_payincoinjoin_ only registers a payment, so if coinjoin is not running or the amount is lower than the wallet balance, the payment is queued.
Currently the coinjoin coin selector does not take into account that a payment is registerd.
Therefore, it is possible that the payment will not be executed due to insufficient and/or non-optimal coins being selected, even though there are sufficient funds available.

Pending payments can be removed by using the _cancelpaymentincoinjoin_ method.
Pending payments are also removed if the Wasabi client restarts.
Expand Down

0 comments on commit d3140ca

Please sign in to comment.