rpcserver+config_builder: add AuxDataParser

This commit is contained in:
Oliver Gugger
2024-05-06 11:11:36 +02:00
parent d5b1f57116
commit b93fee2f06
2 changed files with 69 additions and 2 deletions

View File

@@ -178,6 +178,10 @@ type AuxComponents struct {
// TrafficShaper is an optional traffic shaper that can be used to
// control the outgoing channel of a payment.
TrafficShaper fn.Option[routing.TlvTrafficShaper]
// AuxDataParser is an optional data parser that can be used to parse
// auxiliary data for certain custom channel types.
AuxDataParser fn.Option[AuxDataParser]
}
// DefaultWalletImpl is the default implementation of our normal, btcwallet