htlcswitch+routing: PaymentBandwidth accepts channel peer pubkey argument

This commit is contained in:
George Tsagkarelis committed 2025-07-02 12:09:24 +02:00
1 parent 1793b1ab64
commit 4ad84627e1
3 files changed
+13 -3

No files matched your search

+2 -1
View File
@@ -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,