lnd/lnrpc/invoicesrpc
Elle Mouton c490279002
blindedpath: smarter dummy hop policy selection
This commit introduces more sophisticated code for selecting dummy hop
policy values for dummy hops in blinded paths.

For the case where the path does contain real hops, the dummy hop policy
values are derived by taking the average of those hop polices. For the
case where there are no real hops (in other words, we are the
introduction node), we use the default policy values used for normal
ChannelUpdates but then for the MaxHTLC value, we take the average of
all our open channel capacities.
2024-07-26 13:03:07 +02:00
..
addinvoice_test.go blindedpath: move blinded path logic to own pkg 2024-07-26 09:54:59 +02:00
addinvoice.go blindedpath: smarter dummy hop policy selection 2024-07-26 13:03:07 +02:00
config_active.go rpcserver+invoicesrpc: alias-aware AddInvoice,AddHoldInvoice rpc 2022-07-07 17:10:29 -04: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: add invoicesrpc doc tags to enable lncli api doc generation 2023-11-20 14:41:54 -07:00
invoices_server.go multi: replace ioutil.WriteFile 2024-04-25 11:23:31 +02:00
invoices.pb.go lnrpc: re-generate protos after dependency update 2024-03-14 09:32:29 +01: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/gen_protos.sh: remove js build tag 2022-09-07 18:32:05 -04:00
invoices.proto lnrpc: Clarify payment_addr and payment_secret 2024-02-13 19:04:18 -05:00
invoices.swagger.json multi: add blinded paths to invoices 2024-07-26 09:54:17 +02:00
invoices.yaml lnrpc/invoicesrpc: add new invoice ref LookupInvoiceV2 method 2021-10-28 15:49:25 -07:00
log.go multi: add NewLogClosure in lnutils to avoid repetition 2024-07-25 21:25:23 +08:00
utils.go lnrpc+rpcserver: Add blinded payment paths to PayReq 2024-07-10 17:51:55 +02:00