Merge pull request #3739 from joostjager/incoming-restriction

routing: last hop restriction
This commit is contained in:
Joost Jager authored and GitHub committed 2019-11-19 08:38:33 +01:00
commit a00a360018
12 files changed
+928 -828

No files matched your search

+4
View File
@@ -1596,6 +1596,10 @@ type LightningPayment struct {
// hop. If nil, any channel may be used.
OutgoingChannelID *uint64
// LastHop is the pubkey of the last node before the final destination
// is reached. If nil, any node may be used.
LastHop *route.Vertex
// PaymentRequest is an optional payment request that this payment is
// attempting to complete.
PaymentRequest []byte