Commit graph

10 commits

Author SHA1 Message Date
Ignacio Porte
e9b29f4eb8 fix: use correct google.rpc.Status with structured error details
Replace custom JSON error info format with tonic_types ErrorDetails. Add missing import for google/rpc/error_details.proto in lndkrpc.proto to enable proper decoding of ErrorInfo messages in grpcurl and other clients.
2025-09-17 11:58:23 -03:00
Maurice Poirrier Chuden
13b60cbf36
server+cli: expose create_offer
Expose a way to create offers with amount, quantity, issuer,
exipiry and description parameters.
2025-09-05 08:37:20 -04:00
Ignacio Porte
5681b1124b cli: add fees limits args to pay_invoice and pay_offer 2025-08-11 23:01:09 -04:00
Maurice Poirrier Chuden
856eb68c1f
multi: Configurable timeout for receiving invoice
This commit introduces a parameter in the RPC to allow users to modify
the timeout when receiving an invoice from the offer creator.

Additionally, it adds a configuration parameter for the server to set
up a default value if no parameter is used.

The default timeout value is also decreased from 100 seconds to 20
seconds.
2024-08-09 22:41:11 +02:00
Orbital
29c552044b
server: include payer note in invoice contents
Co-authored-by: Tom <tom@strike.me>
2024-07-31 19:19:08 -05:00
Orbital
f499cdd602
multi: allow passing in a payer note 2024-07-31 16:29:43 -05:00
Tom Kirkpatrick
eff37bc02f
server+cli: add DecodeInvoice command 2024-07-22 15:37:20 -05:00
Orbital
25d5966e4a
server: return invoice object for now
Co-authored-by: Tom <tom@strike.me>
2024-07-22 15:36:43 -05:00
Maurice Poirrier Chuden
ec274c3325
server: new get_info and pay_offer endpoints
This commit expose two new endpoints to give users more control when paying
BOLT12 offers.

We use a hex serialization for the invoices. We should move to use a readable
from ldk and then hex serialize it in the future.
2024-07-22 15:35:23 -05:00
Orbital
d9ef3dbae4
multi: setup grpc server 2024-05-29 17:04:47 -05:00