mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 14:40:36 +01:00
* Payjoin label fixes * When a payjoin label was applied, coin selection filter would not work * When a payjoin happened with a receive address wallet, the payjoin label was not applied * Coin selection shows when a utxo is currently reserved for a payjoin. Applies both to UI and to GF API * remove reserved label * Update BTCPayServer/Payments/PayJoin/PayJoinEndpointController.cs
13 lines
370 B
C#
13 lines
370 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using NBitcoin;
|
|
|
|
namespace BTCPayServer.Payments.PayJoin;
|
|
|
|
public interface IUTXOLocker
|
|
{
|
|
Task<bool> TryLock(OutPoint outpoint);
|
|
Task<bool> TryUnlock(params OutPoint[] outPoints);
|
|
Task<bool> TryLockInputs(OutPoint[] outPoints);
|
|
Task<HashSet<OutPoint>> FindLocks(OutPoint[] outpoints);
|
|
}
|