ACINQ / eclair

A scala implementation of the Lightning Network.
Apache License 2.0
1.24k stars 266 forks source link

Allow plugins to set a dual funding contribution #2829

Closed t-bast closed 8 months ago

t-bast commented 8 months ago

We support dual funding, but we cannot decide for the node operator when to contribute to channels that are being opened to us. Node operators may want very different policies depending on their goals. Instead of trying to figure out a general set of policies, we let plugins decide when to contribute to channels and how much. Node operators are thus free to implement whatever logic makes sense for them in a plugin.