lnd/lnrpc/invoicesrpc
carla 0092c731e5
lnrpc: limit hop hint selection in both passes by amount + count
Previously, we'd always add up to the maximum number of hop hints
(and beyond!) when selecting hop hints in our first pass. This
change updates hop hint selection to always stick to our hop hint
limit, and to the "hop hint factor" that we scale our invoices by.

This change will result in selecting fewer channels in our first
pass if their total inbound capacity reaches our hop hint factor.
This prevents us from revealing as many private channels as
before, but has the downside of providing fewer options for
payers.
2022-02-07 09:04:30 +02:00
..
addinvoice_test.go lnrpc: limit hop hint selection in both passes by amount + count 2022-02-07 09:04:30 +02:00
addinvoice.go lnrpc: limit hop hint selection in both passes by amount + count 2022-02-07 09:04:30 +02:00
config_active.go Merge pull request #5642 from guggero/in-memory-graph 2021-10-04 11:20:23 +02:00
config_default.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
driver.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
invoices_grpc.pb.go lnrpc/invoicesrpc: add new invoice ref LookupInvoiceV2 method 2021-10-28 15:49:25 -07:00
invoices_server.go invoices: refactor invoice subscriptions to avoid blocking 2021-12-15 02:38:51 +08:00
invoices.pb.go lnrpc/invoicesrpc: expose new lookup modifier to LookupInvoiceV2 2021-10-28 15:50:17 -07:00
invoices.pb.gw.go lnrpc/invoicesrpc: add new invoice ref LookupInvoiceV2 method 2021-10-28 15:49:25 -07:00
invoices.pb.json.go lnrpc/invoicesrpc: add new invoice ref LookupInvoiceV2 method 2021-10-28 15:49:25 -07:00
invoices.proto lnrpc/invoicesrpc: expose new lookup modifier to LookupInvoiceV2 2021-10-28 15:50:17 -07:00
invoices.swagger.json lnrpc: populate new AmpInvoiceState field in CreateRPCInvoice 2021-10-28 15:50:20 -07:00
invoices.yaml lnrpc/invoicesrpc: add new invoice ref LookupInvoiceV2 method 2021-10-28 15:49:25 -07:00
log.go invoicesrpc: create sub server 2019-02-01 09:42:35 +01:00
utils.go lnrpc: populate new AmpInvoiceState field in CreateRPCInvoice 2021-10-28 15:50:20 -07:00