lncfg: disable allowing blinded routes in daemon but not itests
This commit turns off route blinding for the daemon while we're waiting on full handling for blinded errors. The feature remains on for itests so that tests covering blinding can run as usual.
This commit is contained in:
3 files changed
+18
-2
No files matched your search
@@ -59,6 +59,14 @@ type ProtocolOptions struct {
|
||||
NoRouteBlindingOption bool `long:"no-route-blinding" description:"do not forward payments that are a part of a blinded route"`
|
||||
}
|
||||
|
||||
// DefaultProtocol returns a protocol config with route blinding turned off,
|
||||
// temporarily in place until full handling of blinded route errors is merged.
|
||||
func DefaultProtocol() *ProtocolOptions {
|
||||
return &ProtocolOptions{
|
||||
NoRouteBlindingOption: true,
|
||||
}
|
||||
}
|
||||
|
||||
// Wumbo returns true if lnd should permit the creation and acceptance of wumbo
|
||||
// channels.
|
||||
func (l *ProtocolOptions) Wumbo() bool {
|
||||
|
||||
Reference in new issue
Block a user