Merge pull request #8496 from aakselrod/locks-to-leases

multi: replace `LockOutpoint` with `LeaseOutput`
This commit is contained in:
Oliver Gugger authored and GitHub committed 2024-03-18 03:34:56 -06:00
commit 0bc3d29413
21 files changed
+225 -148

No files matched your search

-6
View File
@@ -186,12 +186,6 @@ func (w *WalletController) ListTransactionDetails(int32, int32,
return nil, nil
}
// LockOutpoint currently does nothing.
func (w *WalletController) LockOutpoint(o wire.OutPoint) {}
// UnlockOutpoint currently does nothing.
func (w *WalletController) UnlockOutpoint(o wire.OutPoint) {}
// LeaseOutput returns the current time and a nil error.
func (w *WalletController) LeaseOutput(wtxmgr.LockID, wire.OutPoint,
time.Duration) (time.Time, []byte, btcutil.Amount, error) {
+1 -1
View File
@@ -20,7 +20,7 @@ const (
// DefaultTimeout is a timeout that will be used for various wait
// scenarios where no custom timeout value is defined.
DefaultTimeout = time.Second * 30
DefaultTimeout = time.Second * 45
// AsyncBenchmarkTimeout is the timeout used when running the async
// payments benchmark.