1
0
Fork 0
mirror of https://github.com/ACINQ/eclair.git synced 2025-02-22 22:25:26 +01:00
eclair/eclair-core
Bastien Teinturier daf947fb60
Allow negative contributions in InteractiveTxBuilder (#2619)
* Allow negative contributions in InteractiveTxBuilder

When splicing over an existing channel, it is simpler to specify the amount
we will add or remove from the channel, rather than the resulting amount
that takes the previous balance into account. It removes the need for
truncating msat balances and trivially carries over those balances to
the new commitment.

* Update RBF contributions to allow negative amounts

When RBF-ing a splice, we will need to be consistent with the
`splice_init` and `splice_ack` messages and specify the funds we're
adding or removing from the channel instead of the absolute value.

We thus change the `tx_init_rbf` and `tx_ack_rbf` messages to use signed
amounts.
2023-04-05 15:22:15 +02:00
..
src Allow negative contributions in InteractiveTxBuilder (#2619) 2023-04-05 15:22:15 +02:00
eclair-cli Add GetNode router API (#2568) 2023-01-16 15:13:09 +01:00
pom.xml Update to bitcoind 23.1 (#2551) 2023-01-04 14:27:46 +01:00