Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

[router] Add ability to associate rebalance profiles to channels #480

Open
4 tasks
rhlsthrm opened this issue Mar 19, 2021 · 0 comments
Open
4 tasks

[router] Add ability to associate rebalance profiles to channels #480

rhlsthrm opened this issue Mar 19, 2021 · 0 comments
Assignees

Comments

@rhlsthrm
Copy link
Contributor

rhlsthrm commented Mar 19, 2021

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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants