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
Tracking issue for implementation of the LSPS2 spec into Breez SDK. The corresponding tracking issue for lspd can be found here
Is issue is completed when the entire open channel flow in the SDK has been replaced by LSPS2.
Notes for implementation
Only support MPP+fixed-invoice mode for now.
Defer checking the extra_fee tlv.
Tasks
Implement LSPS0 rpc client
Implement LSPS2 rpc client
Function to check whether a LSP supports LSPS2 (lsps0.list_protocols + lsps2.get_versions)
Make lsp_list call lsps2.get_info. This will change the method signature, because fields are different. Perhaps this step is unnecessary if all the required fields can be represented by the Breez server.
Make get_lsp call lsps2.get_info
Create a create_invoice function in the lsps2 module, that follows the LSPS2 protocol. calls lsps2.buy, creates the smaller and larger invoice, puts the scid as hop hint in the invoice. The caller will have already determined it needs the inbound liquidity.
Add a function in the LSPS2 module to compute the opening fee for a given amount and fee params.
Notes for breaking changes to dependent projects after this issue is completed:
LSP information will have another signature
The fees charged in LSPS2 are calculated differently than the current LSP fees.
Also the fees will have millisatoshi precision
The text was updated successfully, but these errors were encountered:
Tracking issue for implementation of the LSPS2 spec into Breez SDK. The corresponding tracking issue for lspd can be found here
Is issue is completed when the entire open channel flow in the SDK has been replaced by LSPS2.
Notes for implementation
extra_fee
tlv.Tasks
lsps0.list_protocols
+lsps2.get_versions
)lsp_list
calllsps2.get_info
. This will change the method signature, because fields are different. Perhaps this step is unnecessary if all the required fields can be represented by the Breez server.get_lsp
calllsps2.get_info
create_invoice
function in the lsps2 module, that follows the LSPS2 protocol. callslsps2.buy
, creates the smaller and larger invoice, puts the scid as hop hint in the invoice. The caller will have already determined it needs the inbound liquidity.Notes for breaking changes to dependent projects after this issue is completed:
The text was updated successfully, but these errors were encountered: