mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-13 12:32:48 +02:00
lnd: add AuxChannelNegotiator to AuxComponents
We now plug-in the aux channel negotiator to the server impl config. We also provide it to the peer config as that's where it's needed in order to inject custom records in the appropriate peer messages.
This commit is contained in:
parent
44406db82a
commit
56c56060aa
1 changed files with 5 additions and 0 deletions
|
|
@ -213,6 +213,11 @@ type AuxComponents struct {
|
|||
// AuxContractResolver is an optional interface that can be used to
|
||||
// modify the way contracts are resolved.
|
||||
AuxContractResolver fn.Option[lnwallet.AuxContractResolver]
|
||||
|
||||
// AuxChannelNegotiator is an optional interface that allows aux channel
|
||||
// implementations to inject and process custom records over channel
|
||||
// related wire messages.
|
||||
AuxChannelNegotiator fn.Option[lnwallet.AuxChannelNegotiator]
|
||||
}
|
||||
|
||||
// DefaultWalletImpl is the default implementation of our normal, btcwallet
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue