mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-29 23:21:12 +02:00
multi: update WalletController PublishTransaction to include label
Add label parameter to PublishTransaction in WalletController interface. A labels package is added to store generic labels that are used for the different types of transactions that are published by lnd. To keep commit size down, the two endpoints that require a label parameter be passed down have a todo added, which will be removed in subsequent commits.
This commit is contained in:
8
labels/labels.go
Normal file
8
labels/labels.go
Normal file
@@ -0,0 +1,8 @@
|
||||
// Package labels contains labels used to label transactions broadcast by lnd.
|
||||
// These labels are used across packages, so they are declared in a separate
|
||||
// package to avoid dependency issues.
|
||||
package labels
|
||||
|
||||
// External labels a transaction as user initiated via the api. This
|
||||
// label is only used when a custom user provided label is not given.
|
||||
const External = "external"
|
Reference in New Issue
Block a user