You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config.go
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -537,6 +537,15 @@ type Config struct {
537
537
// NoDisconnectOnPongFailure controls if we'll disconnect if a peer
538
538
// doesn't respond to a pong in time.
539
539
NoDisconnectOnPongFailurebool`long:"no-disconnect-on-pong-failure" description:"If true, a peer will *not* be disconnected if a pong is not received in time or is mismatched. Defaults to false, meaning peers *will* be disconnected on pong failure."`
540
+
541
+
// UpfrontShutdownAddr specifies an address that our funds will be paid
542
+
// out to on cooperative channel close. This applies to all new channel
543
+
// opens unless overridden by an option in openchannel or by a channel
544
+
// acceptor.
545
+
// Note: If this field is set when opening a channel with a peer that
546
+
// does not advertise support for the upfront shutdown feature, the
547
+
// channel open will fail.
548
+
UpfrontShutdownAddrstring`long:"upfront-shutdown-address" description:"The address to which funds will be paid out during a cooperative channel close. This applies to all channels opened after this option is set, unless overridden for a specific channel opening. Note: If this option is set, any channel opening will fail if the peer does not explicitly advertise support for the upfront-shutdown feature bit."`
540
549
}
541
550
542
551
// GRPCConfig holds the configuration options for the gRPC server.
0 commit comments