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
{{ message }}
Repository navigation
Commit e5b9665
Browse filesBrowse the repository at this point in the historyBrowse files
|`Bolt11ReceiveViaJitChannel`| Create a fixed-amount invoice with JIT channel opening |
127
127
|`Bolt11ReceiveVariableAmountViaJitChannel`| Create a variable-amount invoice with JIT channel opening |
128
+
|`Bolt11ReceiveViaJitChannelForHash`| Create a fixed-amount invoice with JIT channel opening for a given payment hash (manual claim required) |
129
+
|`Bolt11ReceiveVariableAmountViaJitChannelForHash`| Create a variable-amount invoice with JIT channel opening for a given payment hash (manual claim required) |
128
130
129
131
### BOLT12 Offers and Refunds
130
132
@@ -262,7 +264,7 @@ Hodl invoices allow you to inspect and conditionally accept incoming payments:
262
264
263
265
1.**Subscribe:** Call `SubscribeEvents` before you create or share the invoice. Events are not
264
266
replayed.
265
-
2.**Create the invoice:** Generate a new payment hash. Call `Bolt11ReceiveForHash` with this hash.
267
+
2.**Create the invoice:** Generate a new payment hash. Call `Bolt11ReceiveForHash`, `Bolt11ReceiveViaJitChannelForHash` or `Bolt11ReceiveVariableAmountViaJitChannelForHash` with this hash.
266
268
Never reuse a payment hash. Reuse is unsafe and can cause loss of funds.
267
269
3.**Handle each payment:** Save the payment ID from each `PaymentClaimable` event. A payer can pay
268
270
the same invoice more than once. Each payment has a separate event and payment ID.
Copy file name to clipboardExpand all lines: docs/configuration.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -157,8 +157,8 @@ to register several LSPs. Each LSP's supported protocols are discovered on start
157
157
[bLIP-50 / LSPS0](https://github.com/lightning/blips/blob/master/blip-0050.md). LDK Server
158
158
currently supports LSPS2 only, so an LSP that does not advertise it is registered but unused.
159
159
160
-
When at least one LSPS2-capable LSP is configured, the `Bolt11ReceiveViaJitChannel` and
161
-
`Bolt11ReceiveVariableAmountViaJitChannel` RPCs become available, and the cheapest fee offer
160
+
When at least one LSPS2-capable LSP is configured, the `Bolt11ReceiveViaJitChannel`,
161
+
`Bolt11ReceiveVariableAmountViaJitChannel`, `Bolt11ReceiveViaJitChannelForHash` and `Bolt11ReceiveVariableAmountViaJitChannelForHash` RPCs become available, and the cheapest fee offer
162
162
across all LSPS2-capable LSPs is selected per invoice.
163
163
164
164
Requires each LSP's public key and address. Some LSPs also require an authentication token.
0 commit comments