json-rpc: how to get feedback from the ldk side? #106

Open
opened 2023-08-24 21:02:49 +01:00 by vincenzopalazzo · 0 comments
vincenzopalazzo commented 2023-08-24 21:02:49 +01:00 (Migrated from github.com)

When lampo will run a command there is a necessity to handle the ldk result in some way.

For instance, while running fundchannel there are the following cases that are not handled:

  • An error occurs and it should be returned from the command line, e.g: There are not enough funds to create a transaction;
  • All goes well but while calling the fundchannel we do not have information, so we should wait for a ldk event like ChannelPending and then return the error to the user
When lampo will run a command there is a necessity to handle the ldk result in some way. For instance, while running `fundchannel` there are the following cases that are not handled: - An error occurs and it should be returned from the command line, e.g: There are not enough funds to create a transaction; - All goes well but while calling the `fundchannel` we do not have information, so we should wait for a ldk event like `ChannelPending` and then return the error to the user
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: dev-crew/lampo.rs#106
No description provided.