mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-24 14:50:40 +01:00
This commit introduces a singleton invoice HTLC modifier RPC server and an endpoint to activate it. The server interfaces with the internal invoice HTLC modifier interpreter, handling the marshalling between RPC types and internal formats.
21 lines
No EOL
657 B
YAML
21 lines
No EOL
657 B
YAML
type: google.api.Service
|
|
config_version: 3
|
|
|
|
http:
|
|
rules:
|
|
- selector: invoicesrpc.Invoices.SubscribeSingleInvoice
|
|
get: "/v2/invoices/subscribe/{r_hash}"
|
|
- selector: invoicesrpc.Invoices.CancelInvoice
|
|
post: "/v2/invoices/cancel"
|
|
body: "*"
|
|
- selector: invoicesrpc.Invoices.AddHoldInvoice
|
|
post: "/v2/invoices/hodl"
|
|
body: "*"
|
|
- selector: invoicesrpc.Invoices.SettleInvoice
|
|
post: "/v2/invoices/settle"
|
|
body: "*"
|
|
- selector: invoicesrpc.Invoices.LookupInvoiceV2
|
|
get: "/v2/invoices/lookup"
|
|
- selector: invoicesrpc.Invoices.HtlcModifier
|
|
post: "/v2/invoices/htlcmodifier"
|
|
body: "*" |