lnd/cmd/lncli
Elle Mouton cd3da40fb9
routing: dont include final hop cltv in blinded path
Only include the final hop's cltv delta in the total timelock
calculation if the route does not include a blinded path. This is
because in a blinded path, the final hops final cltv delta will be
included in the blinded path's accumlated cltv delta value.

With this commit, we remove the responsibility of remembering not to set
the `finalHop.cltvDelta` from the caller of `newRoute`. The relevant
test is updated accordingly.
2024-07-10 17:51:56 +02:00
..
arg_parse_test.go lncli: strip prefix from pay_req flag 2022-11-15 18:13:29 +02:00
arg_parse.go lncli: strip prefix from pay_req flag 2022-11-15 18:13:29 +02:00
autopilotrpc_active.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
autopilotrpc_default.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
chainrpc_active.go chainrpc+lncli: expose GetBlockHeader + add to CLI 2023-10-27 11:05:27 -04:00
chainrpc_default.go cmd: add chain subcommand 2022-12-07 14:50:15 +00:00
cmd_custom.go lnrpc: receive custom message 2021-10-15 17:08:55 +02:00
cmd_debug.go cmd/lncli: add flags for more info to encryptdebugpackage 2024-01-09 12:43:42 +01:00
cmd_import_mission_control.go chore: allow 0 failure amount on import mission control 2024-06-03 11:28:26 +02:00
cmd_invoice.go lncli: Expose cltv_expiry flag of addinvoice 2024-06-04 06:19:12 -04:00
cmd_macaroon.go multi: replace ioutil.WriteFile 2024-04-25 11:23:31 +02:00
cmd_mission_control.go multi: fix fmt.Errorf error wrapping 2024-02-27 11:13:40 +00:00
cmd_open_channel.go multi: repleace ioutil.ReadFile 2024-04-25 11:22:43 +02:00
cmd_payments.go routing: dont include final hop cltv in blinded path 2024-07-10 17:51:56 +02:00
cmd_profile.go multi: repleace ioutil.ReadFile 2024-04-25 11:22:43 +02:00
cmd_state.go lncli: update lncli state description 2022-02-04 08:42:06 -05:00
cmd_update_chan_status.go lncli: chan_point option for updatechanstatus 2022-07-06 10:19:12 -04:00
cmd_version.go multi: fix fmt.Errorf error wrapping 2024-02-27 11:13:40 +00:00
cmd_walletunlocker.go multi: repleace ioutil.ReadFile 2024-04-25 11:22:43 +02:00
commands_test.go lncli: unit test makes use of error wrapping during comparison 2024-02-27 17:08:01 +00:00
commands.go lncli: fix typo in inbound fee help text 2024-06-19 07:33:32 +02:00
devrpc_active.go multi: fix fmt.Errorf error wrapping 2024-02-27 11:13:40 +00:00
devrpc_default.go lncli: add (dev only) importgraph 2022-01-24 17:43:00 +01:00
invoicesrpc_active.go lncli: Expose cltv_expiry flag of addinvoice 2024-06-04 06:19:12 -04:00
invoicesrpc_default.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
macaroon_jar_test.go lncli: add encrypted macaroon jar 2020-09-07 15:23:12 +02:00
macaroon_jar.go multi: wrap all errors 2024-04-11 15:04:03 +02:00
main.go lncli: add coin selection strategy option to on-chain rpc commands 2024-04-01 19:08:19 +02:00
neutrino_active.go chainrpc+lncli: expose GetBlockHeader + add to CLI 2023-10-27 11:05:27 -04:00
neutrino_default.go multi: fix make fmt 2022-08-23 22:10:24 +08:00
peersrpc_active.go kvdb+cmd: fix typos 2024-01-03 12:06:32 +08:00
peersrpc_default.go lncli: add peers updatenodeannouncement 2022-04-02 19:10:27 -07:00
profile.go multi: replace ioutil.WriteFile 2024-04-25 11:23:31 +02:00
routerrpc.go lncli: add mission control import command 2021-03-18 10:52:23 +02:00
types.go multi: fix fmt.Errorf error wrapping 2024-02-27 11:13:40 +00:00
walletrpc_active.go lncli: new command wallet estimatefeerate 2024-06-11 21:56:06 +02:00
walletrpc_default.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
walletrpc_types.go cli: update pendingsweeps response 2024-06-13 19:17:16 +08:00
watchtower_active.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
watchtower_default.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
wtclient.go multi: fix fmt.Errorf error wrapping 2024-02-27 11:13:40 +00:00