18 Commits
Author SHA1 Message Date
Jesse de Wit 266531271b localchans: do error if an edge policy is missing 2024-11-21 10:57:54 +01:00
Jesse de Wit 20f7c73801 docs: update release notes 2024-11-14 11:42:22 +01:00
Jesse de Wit c84126309d channeldb: skip nil scheduler options
This is a robustness option to ensure LND doesn't crash when this
function is accidentally called with `AddChannelEdge(edge, nil)`.
2024-11-14 11:42:22 +01:00
Jesse de Wit 7d9d100e94 localchans: add policy when missing 2024-11-14 11:42:22 +01:00
Jesse de Wit 5e5291d044 localchans: add test for createEdge and manager 2024-11-13 12:13:11 +01:00
Jesse de Wit bb4d3db8bc localchans: recreate missing edge if not found
If a node contains a channel, but doesn't have a corresponding edge in
the graph database, updating the channel policy would fail. In this
commit the edge is recreated if the channel exists. This ensures a node
can recover from a missing edge in the graph database by calling
updatechanpolicy.
2024-11-13 12:13:11 +01:00
Jesse de Wit aa2ddf77d0 lncli: add create_missing_edge 2024-11-13 12:13:11 +01:00
Jesse de Wit f1299fdd57 lnrpc: add create_missing_edge flag 2024-11-13 12:13:11 +01:00
Jesse de Wit 172e8366d4 docs: add release note for 8426 2024-01-29 14:16:51 +01:00
Jesse de Wit ef3aa84c10 lncli: add include_raw_tx flag to pendingchannels 2024-01-29 14:16:51 +01:00
Jesse de Wit b6616bc040 itest: assert closing tx is set in waiting_close_channels 2024-01-29 14:16:51 +01:00
Jesse de Wit e794bd37a4 lnrpc: include raw closing tx in waiting_close_channels 2024-01-29 14:16:50 +01:00
Jesse de Wit e05444c98c release-notes: add trackpayments
Add the new TrackPayments api to the release notes.
2022-09-10 21:53:02 +02:00
Jesse de Wit 0266ab77ab routing+routerrpc: test stream cancellation
Test stream cancellation of the TrackPayments rpc call. In order to achieve
this, ControlTowerSubscriber is converted to an interface, to avoid trying to
close a null channel when closing the subscription. By returning a mock
implementation of the ControlTowerSubscriber in the test that problem is
avoided.
2022-09-10 21:53:01 +02:00
Jesse de Wit 4bc3007668 lntest: add trackpayments itest
Add an itest for the new TrackPayments api.
2022-09-08 10:48:34 +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
Jesse de Wit e65f020348 routing: add SubscribeAllPayments to control tower
Add a method 'SubscribeAllPayments' to the control tower, in order to be able to
subscribe to any payment, rather than subscribing to a specific payment hash.
2022-09-08 10:48:34 +02:00
Jesse de Wit 0577a6086a docs: Update C# grpc docs to use Grpc.Net.Client
The Grpc.Core NuGet package is in maintentance mode. Grpc.Net.Client is now the recommended implementation.
2021-09-20 12:20:46 +02:00