lnwallet: add label transaction to WalletController interface

This commit is contained in:
carla committed 2020-05-25 08:38:05 +02:00
1 parent 7f1a450a7f
commit baeef63aab
3 files changed
+23

No files matched your search

+5
View File
@@ -231,6 +231,11 @@ type WalletController interface {
// published transaction.
PublishTransaction(tx *wire.MsgTx, label string) error
// LabelTransaction adds a label to a transaction. If the tx already
// has a label, this call will fail unless the overwrite parameter
// is set. Labels must not be empty, and they are limited to 500 chars.
LabelTransaction(hash chainhash.Hash, label string, overwrite bool) error
// SubscribeTransactions returns a TransactionSubscription client which
// is capable of receiving async notifications as new transactions
// related to the wallet are seen within the network, or found in