Skip to content
This repository has been archived by the owner on Jan 27, 2022. It is now read-only.

Add support for hold invoices #13

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

takinbo
Copy link
Contributor

@takinbo takinbo commented Apr 9, 2019

With lnd 0.6, support for hold invoices has been merged. Hold invoices allow merchants to delay the settlement of invoices until conditions for fulfilling the service has been met - say for instance an inventory check. see here.

This pull request merges support for creating, settling and cancelling hold invoices into the lnd-grpc-client library. There were a few backwards-compatible changes to the regular rpc protocol buffers: support for static channel backups, new address types, peer states and a new descriptor for utxos were added. For a full list of the changes, please consult the diff.

@dgnsrekt
Copy link

Do I still need to use make with tags="invoicesrpc" flag to take advantage of hodl invoices in lnd v0.6?

@takinbo
Copy link
Contributor Author

takinbo commented Apr 12, 2019

@dgnsrekt Yes you do. v0.6 is currently at rc4 so still requires building with the invoicesrpc subserver.

This commit adds support for hold invoices which
is a part of the invoicesrpc subserver
@takinbo
Copy link
Contributor Author

takinbo commented Apr 12, 2019

Force push was an amendment to the last commit to add the new whitespace characters that keep showing up every time I recompile the protocol buffers. This update will ensure the next compile doesn't mark the file as having an update when it doesn't include any new changes.

@kornpow
Copy link

kornpow commented Apr 22, 2021

Check out https://github.com/sako0938/lnd-grpc-client if you want, Im starting to add support for more subsystems, but Im just a beginner at async programming!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants