routerrpc: allow dest_features graph fallback

This commit is contained in:
Conner Fromknecht committed 2019-12-19 16:28:57 -08:00
1 parent f28b809778
commit e6db31f267
6 files changed
+22 -6

No files matched your search

+3 -1
View File
@@ -258,7 +258,9 @@ type SendPaymentRequest struct {
//*
//Features assumed to be supported by the final node. All transitive feature
//depdencies must also be set properly. For a given feature bit pair, either
//optional or remote may be set, but not both.
//optional or remote may be set, but not both. If this field is nil or empty,
//the router will try to load destination features from the graph as a
//fallback.
DestFeatures []lnrpc.FeatureBit `protobuf:"varint,16,rep,packed,name=dest_features,json=destFeatures,proto3,enum=lnrpc.FeatureBit" json:"dest_features,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`