htlcswitch+peer: allow the disabling of quiescence
Here we add a flag where we can disable quiescence. This will be used in the case where the feature is not negotiated with our peer.
This commit is contained in:
7 files changed
+49
-9
No files matched your search
@@ -141,6 +141,11 @@ func (l *ProtocolOptions) NoExperimentalEndorsement() bool {
|
||||
return l.NoExperimentalEndorsementOption
|
||||
}
|
||||
|
||||
// NoQuiescence returns true if quiescence is disabled.
|
||||
func (l *ProtocolOptions) NoQuiescence() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
// CustomMessageOverrides returns the set of protocol messages that we override
|
||||
// to allow custom handling.
|
||||
func (p ProtocolOptions) CustomMessageOverrides() []uint16 {
|
||||
|
||||
Reference in new issue
Block a user