Skip to content

Commit 7867cb3

Browse files
committed
multi: turn on route blinding by default
1 parent eaa8592 commit 7867cb3

File tree

3 files changed

+2
-18
lines changed

3 files changed

+2
-18
lines changed

config.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -627,9 +627,8 @@ func DefaultConfig() Config {
627627
RejectCacheSize: channeldb.DefaultRejectCacheSize,
628628
ChannelCacheSize: channeldb.DefaultChannelCacheSize,
629629
},
630-
Prometheus: lncfg.DefaultPrometheus(),
631-
Watchtower: lncfg.DefaultWatchtowerCfg(defaultTowerDir),
632-
ProtocolOptions: lncfg.DefaultProtocol(),
630+
Prometheus: lncfg.DefaultPrometheus(),
631+
Watchtower: lncfg.DefaultWatchtowerCfg(defaultTowerDir),
633632
HealthChecks: &lncfg.HealthCheckConfig{
634633
ChainCheck: &lncfg.CheckConfig{
635634
Interval: defaultChainInterval,

lncfg/protocol.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,6 @@ type ProtocolOptions struct {
5959
NoRouteBlindingOption bool `long:"no-route-blinding" description:"do not forward payments that are a part of a blinded route"`
6060
}
6161

62-
// DefaultProtocol returns a protocol config with route blinding turned off,
63-
// temporarily in place until full handling of blinded route errors is merged.
64-
func DefaultProtocol() *ProtocolOptions {
65-
return &ProtocolOptions{
66-
NoRouteBlindingOption: true,
67-
}
68-
}
69-
7062
// Wumbo returns true if lnd should permit the creation and acceptance of wumbo
7163
// channels.
7264
func (l *ProtocolOptions) Wumbo() bool {

lncfg/protocol_integration.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,6 @@ type ProtocolOptions struct {
6262
NoRouteBlindingOption bool `long:"no-route-blinding" description:"do not forward payments that are a part of a blinded route"`
6363
}
6464

65-
// DefaultProtocol returns a protocol config with route blinding turned on,
66-
// so that itests can run against route blinding features even while we've
67-
// got it turned off for the daemon (pending completion of error handling).
68-
func DefaultProtocol() *ProtocolOptions {
69-
return &ProtocolOptions{}
70-
}
71-
7265
// Wumbo returns true if lnd should permit the creation and acceptance of wumbo
7366
// channels.
7467
func (l *ProtocolOptions) Wumbo() bool {

0 commit comments

Comments
 (0)