Skip to content

Commit

Permalink
Merge pull request #1856 from MarnixCroes/payincoinjoin-clarify
Browse files Browse the repository at this point in the history
RPC payincoinjoin: clarify coinjoin coin selector is unaware of scheduled payment
  • Loading branch information
MarnixCroes authored Nov 13, 2024
2 parents 0c19696 + d3140ca commit cd873dc
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 cd873dc

Please sign in to comment.