Repository navigation
Conversation
|
I've assigned @tnull as a reviewer! |
tnull
left a comment
There was a problem hiding this comment.
Good catch, but should we do the same on the LSP side? Although maybe that part could also happen in lightning-liquidity I assume?
|
@tnull Fair point. We likely want both checks to guard each side. should we keep this PR client-side and handle the LSP-side check in lightning-liquidity? |
I think it would make sense to add both directly to |
Yes, both checks could live in lightning-liquidity, but client handler also needs the local wumbo capability. |
I don't think so? |
Right, so we can derive wumbo support from LiquidityManager’s ChannelManager and pass it to the LSPS1 client handler? |
Yes, exactly. Or just forward the reference to the LSPS1 service handler, and it can then query |
LSPS1 orders can request channels larger than 16,777,216 sat even when the local node does not support large channels. The LSP may accept and fund an order the client cannot use.