mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-26 17:52:25 +01:00
lnd: use impl cfg TlvTrafficShaper
This commit is contained in:
parent
57e975be6d
commit
d0e41b4409
@ -46,6 +46,7 @@ import (
|
||||
"github.com/lightningnetwork/lnd/lnwallet/rpcwallet"
|
||||
"github.com/lightningnetwork/lnd/macaroons"
|
||||
"github.com/lightningnetwork/lnd/protofsm"
|
||||
"github.com/lightningnetwork/lnd/routing"
|
||||
"github.com/lightningnetwork/lnd/rpcperms"
|
||||
"github.com/lightningnetwork/lnd/signal"
|
||||
"github.com/lightningnetwork/lnd/sqldb"
|
||||
@ -151,6 +152,12 @@ type ImplementationCfg struct {
|
||||
// AuxComponents is a set of auxiliary components that can be used by
|
||||
// lnd for certain custom channel types.
|
||||
AuxComponents
|
||||
|
||||
TlvTrafficShaper
|
||||
}
|
||||
|
||||
type TlvTrafficShaper struct {
|
||||
TrafficShaper fn.Option[routing.TlvTrafficShaper]
|
||||
}
|
||||
|
||||
// AuxComponents is a set of auxiliary components that can be used by lnd for
|
||||
|
Loading…
x
Reference in New Issue
Block a user