mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-18 10:06:51 +01:00
invoicesrpc: add HTLC modifier to invoices RPC server
This commit integrates the HTLC modifier service into the invoices RPC server.
This commit is contained in:
@@ -30,6 +30,11 @@ type Config struct {
|
||||
// created by the daemon.
|
||||
InvoiceRegistry *invoices.InvoiceRegistry
|
||||
|
||||
// HtlcModifier is a service which intercepts invoice HTLCs during the
|
||||
// settlement phase, enabling a subscribed client to modify certain
|
||||
// aspects of those HTLCs.
|
||||
HtlcModifier invoices.HtlcModifier
|
||||
|
||||
// IsChannelActive is used to generate valid hop hints.
|
||||
IsChannelActive func(chanID lnwire.ChannelID) bool
|
||||
|
||||
|
||||
Reference in New Issue
Block a user