mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-13 18:10:25 +02:00
htlcswitch+routing: PaymentBandwidth accepts channel peer pubkey argument
This commit is contained in:
committed by
Oliver Gugger
parent
ab036990b5
commit
128b23e813
@@ -522,7 +522,8 @@ type AuxTrafficShaper interface {
|
||||
PaymentBandwidth(fundingBlob, htlcBlob,
|
||||
commitmentBlob fn.Option[tlv.Blob],
|
||||
linkBandwidth, htlcAmt lnwire.MilliSatoshi,
|
||||
htlcView lnwallet.AuxHtlcView) (lnwire.MilliSatoshi, error)
|
||||
htlcView lnwallet.AuxHtlcView,
|
||||
peer route.Vertex) (lnwire.MilliSatoshi, error)
|
||||
|
||||
// IsCustomHTLC returns true if the HTLC carries the set of relevant
|
||||
// custom records to put it under the purview of the traffic shaper,
|
||||
|
Reference in New Issue
Block a user