walletrpc: add ListLeases
This commit is contained in:
1 parent
b8e54fffbf
commit
9398220568
10 files changed
+411
-123
No files matched your search
@@ -260,6 +260,9 @@ type WalletController interface {
|
||||
// NOTE: This method requires the global coin selection lock to be held.
|
||||
ReleaseOutput(id wtxmgr.LockID, op wire.OutPoint) error
|
||||
|
||||
// ListLeasedOutputs returns a list of all currently locked outputs.
|
||||
ListLeasedOutputs() ([]*wtxmgr.LockedOutput, error)
|
||||
|
||||
// PublishTransaction performs cursory validation (dust checks, etc),
|
||||
// then finally broadcasts the passed transaction to the Bitcoin network.
|
||||
// If the transaction is rejected because it is conflicting with an
|
||||
|
||||
Reference in new issue
Block a user