lnrpc/walletrpc: expose pending input sweeps within UtxoSweeper over RPC
This commit is contained in:
6 files changed
+603
-36
No files matched your search
@@ -6,6 +6,7 @@ import (
|
||||
"github.com/lightningnetwork/lnd/keychain"
|
||||
"github.com/lightningnetwork/lnd/lnwallet"
|
||||
"github.com/lightningnetwork/lnd/macaroons"
|
||||
"github.com/lightningnetwork/lnd/sweep"
|
||||
)
|
||||
|
||||
// Config is the primary configuration struct for the WalletKit RPC server. It
|
||||
@@ -38,4 +39,8 @@ type Config struct {
|
||||
// KeyRing is an interface that the WalletKit will use to derive any
|
||||
// keys due to incoming client requests.
|
||||
KeyRing keychain.KeyRing
|
||||
|
||||
// Sweeper is the central batching engine of lnd. It is responsible for
|
||||
// sweeping inputs in batches back into the wallet.
|
||||
Sweeper *sweep.UtxoSweeper
|
||||
}
|
||||
Reference in new issue
Block a user