htlcswitch: expose additional fields for intercepted packets

This commit is contained in:
Joost Jager 2020-06-23 16:22:00 +02:00
parent 74db43282c
commit 363142de33
No known key found for this signature in database
GPG Key ID: A61B9D4C393C59C7
7 changed files with 253 additions and 161 deletions

@ -121,9 +121,12 @@ func (f *interceptedForward) Packet() InterceptedPacket {
ChanID: f.packet.incomingChanID,
HtlcID: f.packet.incomingHTLCID,
},
OutgoingChanID: f.packet.outgoingChanID,
Hash: f.htlc.PaymentHash,
OutgoingExpiry: f.htlc.Expiry,
OutgoingAmount: f.htlc.Amount,
IncomingAmount: f.packet.incomingAmount,
IncomingExpiry: f.packet.incomingTimeout,
}
}

@ -207,6 +207,9 @@ type InterceptedPacket struct {
// packet.
IncomingCircuit channeldb.CircuitKey
// OutgoingChanID is the destination channel for this packet.
OutgoingChanID lnwire.ShortChannelID
// Hash is the payment hash of the htlc.
Hash lntypes.Hash
@ -216,6 +219,13 @@ type InterceptedPacket struct {
// OutgoingAmount is the amount to forward.
OutgoingAmount lnwire.MilliSatoshi
// IncomingExpiry is the absolute block height at which the incoming
// htlc expires.
IncomingExpiry uint32
// IncomingAmount is the amount of the accepted htlc.
IncomingAmount lnwire.MilliSatoshi
}
// InterceptedForward is passed to the ForwardInterceptor for every forwarded

@ -157,9 +157,12 @@ func (r *forwardInterceptor) holdAndForwardToClient(
ChanId: inKey.ChanID.ToUint64(),
HtlcId: inKey.HtlcID,
},
PaymentHash: htlc.Hash[:],
OutgoingAmountMsat: uint64(htlc.OutgoingAmount),
OutgoingExpiry: htlc.OutgoingExpiry,
OutgoingRequestedChanId: htlc.OutgoingChanID.ToUint64(),
PaymentHash: htlc.Hash[:],
OutgoingAmountMsat: uint64(htlc.OutgoingAmount),
OutgoingExpiry: htlc.OutgoingExpiry,
IncomingAmountMsat: uint64(htlc.IncomingAmount),
IncomingExpiry: htlc.IncomingExpiry,
}
return r.stream.Send(interceptionRequest)

@ -1809,10 +1809,19 @@ type ForwardHtlcInterceptRequest struct {
//The key of this forwarded htlc. It defines the incoming channel id and
//the index in this channel.
IncomingCircuitKey *CircuitKey `protobuf:"bytes,1,opt,name=incoming_circuit_key,json=incomingCircuitKey,proto3" json:"incoming_circuit_key,omitempty"`
// The incoming htlc amount.
IncomingAmountMsat uint64 `protobuf:"varint,5,opt,name=incoming_amount_msat,json=incomingAmountMsat,proto3" json:"incoming_amount_msat,omitempty"`
// The incoming htlc expiry.
IncomingExpiry uint32 `protobuf:"varint,6,opt,name=incoming_expiry,json=incomingExpiry,proto3" json:"incoming_expiry,omitempty"`
//
//The htlc payment hash. This value is not guaranteed to be unique per
//request.
PaymentHash []byte `protobuf:"bytes,2,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"`
// The requested outgoing channel id for this forwarded htlc. Because of
// non-strict forwarding, this isn't necessarily the channel over which the
// packet will be forwarded eventually. A different channel to the same peer
// may be selected as well.
OutgoingRequestedChanId uint64 `protobuf:"varint,7,opt,name=outgoing_requested_chan_id,json=outgoingRequestedChanId,proto3" json:"outgoing_requested_chan_id,omitempty"`
// The outgoing htlc amount.
OutgoingAmountMsat uint64 `protobuf:"varint,3,opt,name=outgoing_amount_msat,json=outgoingAmountMsat,proto3" json:"outgoing_amount_msat,omitempty"`
// The outgoing htlc expiry.
@ -1854,6 +1863,20 @@ func (m *ForwardHtlcInterceptRequest) GetIncomingCircuitKey() *CircuitKey {
return nil
}
func (m *ForwardHtlcInterceptRequest) GetIncomingAmountMsat() uint64 {
if m != nil {
return m.IncomingAmountMsat
}
return 0
}
func (m *ForwardHtlcInterceptRequest) GetIncomingExpiry() uint32 {
if m != nil {
return m.IncomingExpiry
}
return 0
}
func (m *ForwardHtlcInterceptRequest) GetPaymentHash() []byte {
if m != nil {
return m.PaymentHash
@ -1861,6 +1884,13 @@ func (m *ForwardHtlcInterceptRequest) GetPaymentHash() []byte {
return nil
}
func (m *ForwardHtlcInterceptRequest) GetOutgoingRequestedChanId() uint64 {
if m != nil {
return m.OutgoingRequestedChanId
}
return 0
}
func (m *ForwardHtlcInterceptRequest) GetOutgoingAmountMsat() uint64 {
if m != nil {
return m.OutgoingAmountMsat
@ -1979,164 +2009,167 @@ func init() {
func init() { proto.RegisterFile("routerrpc/router.proto", fileDescriptor_7a0613f69d37b0a5) }
var fileDescriptor_7a0613f69d37b0a5 = []byte{
// 2501 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0x4b, 0x73, 0x1b, 0xc7,
0xf1, 0xf7, 0xe2, 0x45, 0xa0, 0xf1, 0xe0, 0x72, 0x40, 0x4b, 0xf8, 0x83, 0x92, 0x0d, 0xaf, 0x6d,
0x09, 0xa5, 0xbf, 0x4d, 0xc9, 0x4c, 0x2a, 0x71, 0xc5, 0x8f, 0x04, 0x04, 0x96, 0xe2, 0x4a, 0x20,
0x00, 0x0f, 0x40, 0xda, 0x8e, 0x0f, 0x53, 0x4b, 0x60, 0x40, 0x6c, 0xb8, 0xd8, 0x45, 0x76, 0x07,
0x92, 0x79, 0xcc, 0x2d, 0x95, 0x2f, 0x92, 0x5b, 0x3e, 0x41, 0x0e, 0x39, 0xe4, 0x7b, 0xe4, 0x92,
0x43, 0xee, 0xa9, 0xca, 0x39, 0x35, 0x8f, 0x05, 0x76, 0x41, 0x50, 0x4a, 0xaa, 0x72, 0x91, 0xb8,
0xbf, 0xee, 0xe9, 0xe9, 0x9e, 0xfe, 0x75, 0xf7, 0x0c, 0xe0, 0x5e, 0xe0, 0x2f, 0x19, 0x0d, 0x82,
0xc5, 0xf8, 0xa9, 0xfc, 0xeb, 0x70, 0x11, 0xf8, 0xcc, 0x47, 0x85, 0x15, 0x5e, 0x2f, 0x04, 0x8b,
0xb1, 0x44, 0x8d, 0x7f, 0xe6, 0x00, 0x0d, 0xa9, 0x37, 0x19, 0xd8, 0x37, 0x73, 0xea, 0x31, 0x4c,
0x7f, 0xbb, 0xa4, 0x21, 0x43, 0x08, 0x32, 0x13, 0x1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, 0x74, 0x4b, 0x39, 0xd4, 0xd0, 0x99, 0x0c, 0xb0, 0xf0, 0x6d,
0xf1, 0x2d, 0x19, 0x53, 0xdb, 0x7c, 0x9a, 0x5a, 0x05, 0x22, 0xb4, 0x0e, 0x35, 0x34, 0x80, 0x52,
0x3c, 0x4b, 0xde, 0x9a, 0x3e, 0x6f, 0x55, 0x38, 0x83, 0xed, 0x44, 0x33, 0xf6, 0x7c, 0xf4, 0xe4,
0xee, 0x4d, 0x67, 0x63, 0xbf, 0x4e, 0x44, 0xc0, 0x1b, 0xce, 0x55, 0x2d, 0xed, 0x50, 0x3b, 0xfe,
0xec, 0xd7, 0xcf, 0xae, 0x6c, 0x36, 0x5f, 0x5d, 0x1e, 0x4c, 0xbc, 0xc5, 0x33, 0xf1, 0x74, 0xe8,
0xda, 0xee, 0x95, 0x4b, 0xd9, 0x6b, 0xcf, 0xbf, 0x7e, 0xe6, 0xb8, 0xd3, 0x67, 0x22, 0x0d, 0x9e,
0x45, 0x2a, 0x2f, 0x73, 0xe2, 0x2f, 0x07, 0x3f, 0xf9, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x35,
0x38, 0x14, 0x00, 0x69, 0x18, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.

@ -605,12 +605,24 @@ message ForwardHtlcInterceptRequest {
*/
CircuitKey incoming_circuit_key = 1;
// The incoming htlc amount.
uint64 incoming_amount_msat = 5;
// The incoming htlc expiry.
uint32 incoming_expiry = 6;
/*
The htlc payment hash. This value is not guaranteed to be unique per
request.
*/
bytes payment_hash = 2;
// The requested outgoing channel id for this forwarded htlc. Because of
// non-strict forwarding, this isn't necessarily the channel over which the
// packet will be forwarded eventually. A different channel to the same peer
// may be selected as well.
uint64 outgoing_requested_chan_id = 7;
// The outgoing htlc amount.
uint64 outgoing_amount_msat = 3;

@ -907,11 +907,26 @@
"$ref": "#/definitions/routerrpcCircuitKey",
"description": "The key of this forwarded htlc. It defines the incoming channel id and\nthe index in this channel."
},
"incoming_amount_msat": {
"type": "string",
"format": "uint64",
"description": "The incoming htlc amount."
},
"incoming_expiry": {
"type": "integer",
"format": "int64",
"description": "The incoming htlc expiry."
},
"payment_hash": {
"type": "string",
"format": "byte",
"description": "The htlc payment hash. This value is not guaranteed to be unique per\nrequest."
},
"outgoing_requested_chan_id": {
"type": "string",
"format": "uint64",
"description": "The requested outgoing channel id for this forwarded htlc. Because of\nnon-strict forwarding, this isn't necessarily the channel over which the\npacket will be forwarded eventually. A different channel to the same peer\nmay be selected as well."
},
"outgoing_amount_msat": {
"type": "string",
"format": "uint64",

@ -16,6 +16,7 @@ import (
"github.com/lightningnetwork/lnd/lnrpc/routerrpc"
"github.com/lightningnetwork/lnd/lntest"
"github.com/lightningnetwork/lnd/routing/route"
"github.com/stretchr/testify/require"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
)
@ -133,6 +134,21 @@ func testForwardInterceptor(net *lntest.NetworkHarness, t *harnessTest) {
for i := 0; i < len(testCases); i++ {
select {
case request := <-interceptedChan:
// Assert sanity of informational packet data.
require.NotZero(t.t, request.OutgoingRequestedChanId)
require.NotZero(t.t, request.IncomingExpiry)
require.NotZero(t.t, request.IncomingAmountMsat)
require.Less(
t.t,
request.OutgoingExpiry, request.IncomingExpiry,
)
require.Less(
t.t,
request.OutgoingAmountMsat,
request.IncomingAmountMsat,
)
testCase := testCases[i]
// For held packets we ignore, keeping them in hold status.