Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offers: send invoice request #87

Merged
merged 24 commits into from
Mar 7, 2024
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
a4ad1cc
multi: propagate shutdown signal from caller to lndk
carlaKC Dec 20, 2023
b104164
multi: refactor to create OfferHandler and LndkOnionMessenger
carlaKC Dec 20, 2023
8241ca1
lib: implement and use OfferMessageHandler on OfferHandler
carlaKC Dec 20, 2023
277e53e
lib: refactor create_invoice_request to be a method of OfferHandler
orbitalturtle Jan 31, 2024
6f4ae68
offers: rename create_invoice_request
orbitalturtle Jan 31, 2024
9bfed00
itests: update lnd submodule to tagged hash change
orbitalturtle Nov 14, 2023
8b00be5
itests: add walletrpc subserver to lnd Makefile/README
orbitalturtle Nov 14, 2023
53640aa
Pin rust-lightning to a custom version
orbitalturtle Nov 16, 2023
3f9982f
Add tokio clock default to satisfy clippy
orbitalturtle Nov 17, 2023
26b039f
utils: add Default for MessengerUtilities to satisfy clippy
orbitalturtle Jan 19, 2024
fbd5ae1
main: ignore unused imports from configure_me
orbitalturtle Jan 25, 2024
6de424f
tests: specify log level in ldk nodes
orbitalturtle Nov 19, 2023
be673e6
README: Fix bakemacaroon typo
orbitalturtle Nov 22, 2023
a469d71
Fix Makefile test typo
orbitalturtle Jan 1, 2024
8263b9e
Export MessengerUtilities for integration tests
orbitalturtle Jan 5, 2024
780d0fb
offers: add logic for connecting to the introduction node peer
orbitalturtle Jan 2, 2024
ac957e4
offers: validate offer amount user input
orbitalturtle Jan 2, 2024
f97bd3d
offers: wait for onion messenger ready signal before sending request
orbitalturtle Jan 22, 2024
3b09ec2
offers: Build a reply path for invoice request
orbitalturtle Jan 29, 2024
df50a92
itests: add lnd API calls needed to set up channels
orbitalturtle Jan 31, 2024
491e42e
itests: export bitcoind for tests
orbitalturtle Jan 12, 2024
8bfb006
itests: bump ldk-sample to newer version
orbitalturtle Jan 31, 2024
8af07f4
itests: advertise ldk node address
orbitalturtle Feb 6, 2024
b85cad4
offers: send invoice request
orbitalturtle Jan 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
README: Fix bakemacaroon typo
orbitalturtle committed Mar 6, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
orbitalturtle Alyssa Hertig
commit be673e6a9c45abe19d15f4c9e99ed4018df89154
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -82,7 +82,7 @@ Or in a more concrete example:
Rather than use the admin.macaroon with unrestricted permission to an `LND` node, we can bake a macaroon using lncli with much more specific permissions for better security. With this command, generate a macaroon which will give `LNDK` only the specific grpc endpoints it's designed to hit:

```
lncli --save_to=<FILEPATH>/lndk.macaroon uri:/lnrpc.Lightning/GetInfo uri:/lnrpc.Lightning/ListPeers uri:/lnrpc.Lightning/SubscribePeerEvents uri:/lnrpc.Lightning/SendCustomMessage uri:/lnrpc.Lightning/SubscribeCustomMessages uri:/peersrpc.Peers/UpdateNodeAnnouncement uri:/signrpc.Signer/DeriveSharedKey
lncli bakemacaroon --save_to=<FILEPATH>/lndk.macaroon uri:/lnrpc.Lightning/GetInfo uri:/lnrpc.Lightning/ListPeers uri:/lnrpc.Lightning/SubscribePeerEvents uri:/lnrpc.Lightning/SendCustomMessage uri:/lnrpc.Lightning/SubscribeCustomMessages uri:/peersrpc.Peers/UpdateNodeAnnouncement uri:/signrpc.Signer/DeriveSharedKey
```

## Security