Merge pull request #8496 from aakselrod/locks-to-leases
multi: replace `LockOutpoint` with `LeaseOutput`
This commit is contained in:
21 files changed
+225
-148
No files matched your search
@@ -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) {
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user