routerrpc: extend HTLC forward interceptor resp with modification fields
This commit extends the forward HTLC intercept response with fields that can be used in conjunction with a `ResumeModified` action to modify the intercepted HTLC p2p message.
This commit is contained in:
1 parent
abca4b8234
commit
fb14d8c96e
7 files changed
+436
-271
No files matched your search
@@ -385,8 +385,9 @@ type InterceptedForward interface {
|
||||
|
||||
// ResumeModified notifies the intention to resume an existing hold
|
||||
// forward with modified fields.
|
||||
ResumeModified(outgoingAmountMsat fn.Option[lnwire.MilliSatoshi],
|
||||
customRecords fn.Option[lnwire.CustomRecords]) error
|
||||
ResumeModified(inAmountMsat,
|
||||
outAmountMsat fn.Option[lnwire.MilliSatoshi],
|
||||
outWireCustomRecords fn.Option[lnwire.CustomRecords]) error
|
||||
|
||||
// Settle notifies the intention to settle an existing hold
|
||||
// forward with a given preimage.
|
||||
|
||||
Reference in new issue
Block a user