2021-08-23 10:35:48 +02:00
|
|
|
//go:build !dev
|
2020-07-08 14:26:05 -07:00
|
|
|
// +build !dev
|
|
|
|
|
|
|
|
package lncfg
|
|
|
|
|
2023-04-03 11:53:02 +02:00
|
|
|
import (
|
|
|
|
"github.com/lightningnetwork/lnd/feature"
|
|
|
|
"github.com/lightningnetwork/lnd/lnwire"
|
|
|
|
)
|
|
|
|
|
2020-07-08 14:26:05 -07:00
|
|
|
// ExperimentalProtocol is a sub-config that houses any experimental protocol
|
|
|
|
// features that also require a build-tag to activate.
|
|
|
|
type ExperimentalProtocol struct {
|
|
|
|
}
|
2022-07-06 09:26:47 +02:00
|
|
|
|
|
|
|
// CustomMessageOverrides returns the set of protocol messages that we override
|
|
|
|
// to allow custom handling.
|
|
|
|
func (p ExperimentalProtocol) CustomMessageOverrides() []uint16 {
|
|
|
|
return nil
|
|
|
|
}
|
2023-04-03 11:53:02 +02:00
|
|
|
|
|
|
|
// CustomFeatures returns a custom set of feature bits to advertise.
|
|
|
|
func (p ExperimentalProtocol) CustomFeatures() map[feature.Set][]lnwire.FeatureBit {
|
|
|
|
return map[feature.Set][]lnwire.FeatureBit{}
|
|
|
|
}
|