walletrpc: add ListLeases

This commit is contained in:
Joost Jager committed 2021-03-13 08:45:52 +01:00
1 parent b8e54fffbf
commit 9398220568
10 files changed
+411 -123

No files matched your search

+3
View File
@@ -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