Carla Kirk-Cohen
7896bef2a0
htlcswitch: merge copy htlc custom records
2024-11-07 13:46:54 -05:00
Carla Kirk-Cohen
38bfe1bb86
routerrpc: add docs to forward interceptor
2024-10-23 10:28:07 -04:00
Oliver Gugger
81c8331f82
lnrpc: add first hop custom data to route
2024-09-05 18:00:53 +02:00
Oliver Gugger
afdceab400
lnrpc: add first hop custom records to RPC payment info
2024-09-05 11:18:16 +02:00
George Tsagkarelis
42e358e3d3
lnrpc: add wire records fields to payment+interceptor RPCs
2024-09-05 11:18:16 +02:00
ffranr
fb14d8c96e
routerrpc: extend HTLC forward interceptor resp with modification fields
...
This commit extends the forward HTLC intercept response with fields that
can be used in conjunction with a `ResumeModified` action to modify the
intercepted HTLC p2p message.
2024-09-05 11:18:15 +02:00
George Tsagkarelis
70f82bc4ff
routerrpc: add XAddLocalChanAliases & XDeleteLocalChanAliases
2024-09-05 10:29:42 +02:00
Slyghtning
d18c4d61ce
lnrpc: payment failure reason canceled
2024-08-01 10:24:07 +02:00
Slyghtning
e729084149
lnrpc: cancelable sendpayment request
2024-06-17 09:32:26 +02:00
Carla Kirk-Cohen
eaa85920ea
multi: enable optional route blinding feature
2024-04-26 11:35:17 -04:00
Slyghtning
721038d1a4
routerrpc: overhaul RouteFeeRequest with probing parameters.
2024-03-05 09:24:25 +01:00
tdb3
3288490df3
lnrpc: Clarify payment_addr and payment_secret
...
Fix #7438 , adding clarification statements in lnrpc proto files.
Originally proposed by daredevil3435 in PR #7873 and PR #7885 .
2024-02-13 19:04:18 -05:00
Oliver Gugger
eb08a6f004
routerrpc: make use of fee limit obvious in SendPaymentV2
2024-01-29 13:45:14 +02:00
ziggie
79fb45074b
routerrpc: use cltv delta default for buildroute.
...
This commit uses the default timelock delta (cltv delta) when
no value is provided for the buildroute rpc cmd.
Moreover it enhances the docs.
2024-01-16 14:08:51 +01:00
Carla Kirk-Cohen
d017fe01e3
lnrpc: surface invalid onion blinding on rpc
2023-12-12 09:44:42 -05:00
Yong
9f42459036
Merge pull request #8177 from yyforyongyu/payment-status
...
routerrpc: optionally return the new payment status
2023-11-30 17:15:23 +08:00
Keagan McClelland
dae80f5db7
lnrpc: add top level command doc tags to enable lncli api doc generation
2023-11-20 14:44:30 -07:00
Keagan McClelland
179295e441
lnrpc: add routerrpc doc tags to enable lncli api doc generation
2023-11-20 14:43:24 -07:00
yyforyongyu
c58454effe
routerrpc: modify field orders based on their assigned number
...
This commit is a pure refactoring which sorts the fields in
`SendPaymentRequest` so it's easier to see what number to use when
adding a new field.
2023-11-14 20:26:13 +08:00
Carla Kirk-Cohen
c2aebe2aa9
lnrpc: surface blinded payment fields in hops
2023-10-06 16:38:33 -07:00
yyforyongyu
65879a45e6
lnrpc: update routerrpc to use the new status
2023-10-06 16:34:47 -07:00
bitromortac
a3e46dae9f
multi: mark bimodal estimator experimental
2023-03-23 11:12:10 +01:00
bitromortac
ee40d3dd58
routerrpc: fix estimator model field
...
This commit fixes the capitalization of the estimator's model field.
2023-03-21 08:54:10 +01:00
bitromortac
fce88e8b5d
lncli+routerrpc: dynamic capacity fraction config
...
Enable setting and getting of the apriori capacity fraction in lncli and
in the router rpc.
2023-02-24 15:28:55 +01:00
bitromortac
2ccdfb1151
lncli+routerrpc: adapt mc api to dynamic estimator
...
The active probability estimator can be switched dynamically using the
`Set/GetMissionControl` API, maintaining backward compatibility. The
lncli commands `setmccfg` and `getmccfg` are updated around this
functionality. Note that deprecated configuration parameters were
removed from the commands.
2023-02-14 13:34:25 +01:00
bitromortac
045e5cf307
routerrpc: update QueryProbability documentation
...
Changes the docstring of QueryProbability to reflect changes that were
introduced in #6857 .
2023-01-11 16:47:54 +01:00
bitromortac
2d7fda2a41
routerrpc: mark QueryProbability
deprecated
...
We deprecate `QueryProbability`, as it displays the same information as
`QueryMissionControl` less the probability. `QueryRoutes` still contains
the total probability of a route.
2022-12-12 13:23:31 +01:00
Joost Jager
511fb00777
htlcswitch: add final htlc event to notifier
2022-10-27 16:42:36 +02:00
Joost Jager
b85cda2a1d
routerrpc: add htlc notifier subscribed event
2022-10-27 16:42:35 +02:00
Joost Jager
a0a50fa844
htlcswitch: auto-fail held htlcs
...
Make the interceptable switch aware of htlc expiry and fail back htlcs in-time
to prevent the counterparty from force-closing the channel.
2022-10-18 18:06:49 +02:00
Jesse de Wit
275f085e6d
routerrpc: add TrackPayments
...
Add method to track all payments rather than tracking a payment by payment hash.
2022-09-08 10:48:34 +02:00
yyforyongyu
46ca28fe22
routerrpc: add new field skip_temp_err
in SendToRouteRequest
2022-07-15 19:03:12 +08:00
Joost Jager
9195f29e61
routing+channeldb: send payment metadata from invoice
2022-04-13 22:55:40 +02:00
Joost Jager
ba5abdc090
routing: add time_pref parameter to queryroutes and sendpayment
2022-04-13 20:26:46 +02:00
Joost Jager
e2b56f212f
htlcswitch: accept failure reason for intercepted htlcs
2022-02-01 17:18:59 +01:00
Andras Banki-Horvath
23c157a07b
routing: add option to force import MC pair history
...
This commit adds the `force` flag to the `XImportMissionControl` RPC
which allows skipping rules around the pair import except for what is
mandatory to make values meaningful. This can be useful for when clients
would like to forcibly override MC state in order to manipulate routing
results.
2022-01-19 17:18:05 +01:00
Oliver Gugger
dd749fe580
lnrpc: update grpc-gateway library to v2
2021-07-27 13:09:59 +02:00
Olaoluwa Osuntokun
db3819fcef
Merge pull request #5236 from offerm/preimage-to-settleevent
...
feature: expose preimage in forward+settle event
2021-07-09 14:35:11 -07:00
offerm
2c4dbfa19f
feature: expose preimage in forward+settle event
...
Until now, clients of SubscribeHTLCEvents didn't have access to the settled preimage. The API allows to intercept forward event and to be updated on forward events however the forward+settle event does not include the payment preimage. This pr changes allows it.
2021-06-15 22:01:24 +03:00
Oliver Gugger
3eb7539de1
lnrpc: fix typos in REST annotations for routerrpc
...
Fixes #5307 .
Corrects some typos in the REST annotations for the routerrpc subserver.
Unfortunately these mistakes aren't caught by the current version of the
grpc-gateway library. But we intend to update to v2 soon which will
output alerts as mentioned in #5307 .
2021-05-19 09:48:33 +02:00
Johan T. Halseth
0b9137cdac
lnrpc: add AMP feature bits
2021-04-27 09:47:23 +02:00
Johan T. Halseth
6104d12cf8
routerrpc: add amp bool to SendPayment
...
For now this is how you indicate you want to perform an AMP payment to
the destination.
2021-04-27 09:47:23 +02:00
Conner Fromknecht
00581efec6
lnrpc: add AMPRecord to Hop
2021-04-07 12:09:43 -07:00
Olaoluwa Osuntokun
901c192e9f
lnrpc/routerrpc: use x prefix as REST sub-path for ImportMissionControl
...
A small change to better indicate that this is a different class of RPCs
on the REST interface.
2021-03-23 16:41:00 -07:00
carla
d0e7164c07
routerrpc: add mission control import
2021-03-18 10:51:45 +02:00
Olaoluwa Osuntokun
65b0bbcd53
Merge pull request #5033 from robot-dreams/set-channel-status
...
Add lncli command / RPC for manually setting channel state
2021-03-09 18:12:08 -08:00
Conner Fromknecht
b121d1da4e
Merge pull request #5078 from carlaKC/fix-comment
...
lnrpc: correct comment on half life seconds
2021-03-05 12:29:59 -08:00
carla
cd1a8b2d3a
lnrpc: correct comment on half life seconds
...
Field is not a unix timestamp, it's just number of seconds.
2021-03-05 16:26:02 +02:00
Conner Fromknecht
71db3a83bc
lnrpc: expose INVALID_ONION_PAYLOAD via RPC
2021-03-04 15:27:16 -08:00
Elliott Jin
4e4f4bc194
routerrpc: add UpdateChanStatus RPC to Router service
...
Update router.proto and rest-annotations.yaml, recompile protos,
add a stub implementation to routerrpc.Server.
2021-02-24 07:13:28 -08:00