You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We previously only used liquidity ads with splicing: we now support it
during the initial channel opening flow as well. This lets us add more
unit tests, including tests for the case where the node receiving the
`open_channel` message is responsible for paying the commitment fees.
We also update liquidity ads to use the latest version of the spec from
lightning/bolts#1153. This introduces more ways
of paying the liquidity fees, to support on-the-fly funding without
existing channel balance (not implemented in this commit).
Note that we need some backwards-compatibility with the previous
liquidity ads types in our state serialization code: when we're in the
middle of signing a splice transaction, we may have a legacy liquidity
lease in our splice status. We ignore it when finalizing the splice: the
only consequence is that we won't store an entry in our DB for that
lease, but the channel will otherwise work correctly.
Copy file name to clipboardExpand all lines: src/commonMain/kotlin/fr/acinq/lightning/channel/ChannelException.kt
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,6 @@ data class ToSelfDelayTooHigh (override val channelId: Byte
28
28
data classMissingLiquidityAds (overridevalchannelId:ByteVector32) : ChannelException(channelId, "liquidity ads field is missing")
29
29
data classInvalidLiquidityAdsSig (overridevalchannelId:ByteVector32) : ChannelException(channelId, "liquidity ads signature is invalid")
30
30
data classInvalidLiquidityAdsAmount (overridevalchannelId:ByteVector32, valproposed:Satoshi, valmin:Satoshi) : ChannelException(channelId, "liquidity ads funding amount is too low (expected at least $min, got $proposed)")
31
-
data classInvalidLiquidityRates (overridevalchannelId:ByteVector32) : ChannelException(channelId, "rejecting liquidity ads proposed rates")
32
31
data classChannelFundingError (overridevalchannelId:ByteVector32) : ChannelException(channelId, "channel funding error")
33
32
data classRbfAttemptAborted (overridevalchannelId:ByteVector32) : ChannelException(channelId, "rbf attempt aborted")
34
33
data classSpliceAborted (overridevalchannelId:ByteVector32) : ChannelException(channelId, "splice aborted")
0 commit comments