multi: optionally enable and signal anchor support
Defaults to disabled.
This commit is contained in:
7 files changed
+60
-10
No files matched your search
@@ -15,8 +15,14 @@ func (l *ProtocolOptions) LegacyOnion() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// LegacyCommitment returns true if the old commitment format should be used
|
||||
// for new funded channels.
|
||||
func (l *ProtocolOptions) LegacyCommitment() bool {
|
||||
// NoStaticRemoteKey returns true if the old commitment format with a tweaked
|
||||
// remote key should be used for new funded channels.
|
||||
func (l *ProtocolOptions) NoStaticRemoteKey() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// AnchorCommitments returns true if support for the the anchor commitment type
|
||||
// should be signaled.
|
||||
func (l *ProtocolOptions) AnchorCommitments() bool {
|
||||
return false
|
||||
}
|
||||
Reference in new issue
Block a user