vector icon indicating copy to clipboard operation
vector copied to clipboard

[router] Add ability to associate rebalance profiles to channels

Open rhlsthrm opened this issue 4 years ago • 0 comments

In unidirectional cases (i.e. Carol -> Router -> Dave, Carol always sends), symmetrical rebalance profiles don't make sense.

The sender wants to have a target of 0 if they are never sending funds. We can allow this by adding endpoints to allow router operators to set rebalance profiles to specific channels.

List of tasks:

  • [ ] Add rebalance profiles to the database.
  • [ ] Add rebalance profile to channel binding in database model.
  • [ ] Add endpoint to tie rebalance profile to channel.
  • [ ] In rebalance code, first check the database for rebalance profile, otherwise fallback to default.

rhlsthrm avatar Mar 19 '21 19:03 rhlsthrm