mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-06 10:32:13 +01:00
14 lines
370 B
C#
14 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);
|
|||
|
}
|