ldk-sample
2 months agoFix signmessage offset calculation main
Matt Corallo [Sun, 14 Nov 2021 22:06:57 +0000 (22:06 +0000)]
Fix signmessage offset calculation

2 months agoAuto-reconnect peers every second
Matt Corallo [Thu, 11 Nov 2021 17:54:42 +0000 (17:54 +0000)]
Auto-reconnect peers every second

2 months agoInclude total local balance across all channels in `nodeinfo`
Matt Corallo [Thu, 11 Nov 2021 17:49:45 +0000 (17:49 +0000)]
Include total local balance across all channels in `nodeinfo`

2 months agoPrint CLI prompt at top of loop instead of before each `continue`
Matt Corallo [Sun, 7 Nov 2021 18:08:52 +0000 (18:08 +0000)]
Print CLI prompt at top of loop instead of before each `continue`

2 months agoMerge pull request #40 from jkczyz/2021-11-release-103
Matt Corallo [Thu, 4 Nov 2021 21:13:12 +0000 (21:13 +0000)]
Merge pull request #40 from jkczyz/2021-11-release-103

Update sample for 0.0.103

2 months agoPersist channel scores
Jeffrey Czyz [Tue, 2 Nov 2021 21:06:05 +0000 (16:06 -0500)]
Persist channel scores

2 months agoUse InvoicePayer in send_payment
Jeffrey Czyz [Tue, 2 Nov 2021 20:31:28 +0000 (15:31 -0500)]
Use InvoicePayer in send_payment

2 months agoUpdate dependencies to LDK 0.0.103
Jeffrey Czyz [Tue, 2 Nov 2021 17:28:35 +0000 (12:28 -0500)]
Update dependencies to LDK 0.0.103

3 months agoMerge pull request #39 from TheBlueMatt/main
valentinewallace [Tue, 19 Oct 2021 18:41:09 +0000 (14:41 -0400)]
Merge pull request #39 from TheBlueMatt/main

Update dependencies to LDK 0.0.102

3 months agoSwap time for chrono and log subsecond precision for times
Matt Corallo [Sun, 17 Oct 2021 00:50:34 +0000 (00:50 +0000)]
Swap time for chrono and log subsecond precision for times

The `time` crate appears to be basically undocumented (or, at
least, I couldn't find any documentation). `chrono` isn't super
well-documented, but at least its passable.

3 months agoAdd lightning message-signing support
Matt Corallo [Sun, 17 Oct 2021 00:48:04 +0000 (00:48 +0000)]
Add lightning message-signing support

3 months agoUpdate dependencies to LDK 0.0.102
Matt Corallo [Sun, 17 Oct 2021 00:30:23 +0000 (00:30 +0000)]
Update dependencies to LDK 0.0.102

3 months agoMerge pull request #37 from radixrat/main
Matt Corallo [Sun, 17 Oct 2021 01:12:28 +0000 (01:12 +0000)]
Merge pull request #37 from radixrat/main

use rsplitn for rpc info extraction in case passwords have @

3 months agouse rsplitn for rpc info extraction in case passwords have @
cadwgan0 [Fri, 15 Oct 2021 04:14:03 +0000 (00:14 -0400)]
use rsplitn for rpc info extraction in case passwords have @

remove swap, fix rustfmt issue

remove return

3 months agoMerge pull request #36 from lightningdevkit/moneyball-patch-1
Conor Okus [Thu, 14 Oct 2021 15:52:57 +0000 (16:52 +0100)]
Merge pull request #36 from lightningdevkit/moneyball-patch-1

update installation instructions to work even if ssh keys aren't setup

3 months agoupdate installation instructions to work even if ssh keys aren't setup
Steve Lee [Thu, 14 Oct 2021 14:47:03 +0000 (07:47 -0700)]
update installation instructions to work even if ssh keys aren't setup

3 months agoMerge pull request #35 from TheBlueMatt/2021-09-0.0.101
valentinewallace [Wed, 29 Sep 2021 23:36:57 +0000 (19:36 -0400)]
Merge pull request #35 from TheBlueMatt/2021-09-0.0.101

Update to rust-lightning 0.0.101 API and use release, not git deps

4 months agoUse an explicit handle when spawning RPC calls 2021-09-0.0.101
Matt Corallo [Mon, 27 Sep 2021 20:03:12 +0000 (20:03 +0000)]
Use an explicit handle when spawning RPC calls

This resolves a panic like the following, which is caused when a
non-Tokio thread tries to broadcast a transaction, for example
when a transaction is broadcasted indirectly by the background
processor.

```
thread '<unnamed>' panicked at 'there is no reactor running, must be called from the context of a Tokio 1.x runtime', src/bitcoind_client.rs:253:9
```

4 months agoUpdate to rust-lightning 0.0.101 API and use release, not git deps
Matt Corallo [Sat, 25 Sep 2021 19:15:16 +0000 (19:15 +0000)]
Update to rust-lightning 0.0.101 API and use release, not git deps

4 months agoMerge pull request #34 from lightningdevkit/2021-08-fix-33
valentinewallace [Tue, 31 Aug 2021 01:32:46 +0000 (21:32 -0400)]
Merge pull request #34 from lightningdevkit/2021-08-fix-33

Correctly parse args without port but with net

5 months agoMerge pull request #28 from sr-gi/fix-sendrawtransaction
Jeffrey Czyz [Fri, 27 Aug 2021 17:41:30 +0000 (10:41 -0700)]
Merge pull request #28 from sr-gi/fix-sendrawtransaction

Makes send_raw_transaction return TxidHex instead of RawTx

5 months agoCorrectly parse args without port but with net
Matt Corallo [Thu, 26 Aug 2021 04:17:59 +0000 (04:17 +0000)]
Correctly parse args without port but with net

Fixes #33.

5 months agoMakes send_raw_transaction return Txid instead of RawTx
Sergi Delgado Segura [Thu, 26 Aug 2021 15:14:31 +0000 (17:14 +0200)]
Makes send_raw_transaction return Txid instead of RawTx

'bitcoind_client::send_raw_transaction' was returning 'RawTx' which, while syntactically correct (it's a wrapper around String), made no sense conceptually.

Since rust-bitcoin/rust-lightning@f65d05c, `Txid` can be used instead.

5 months agoBumps lightning dependencies
Sergi Delgado Segura [Thu, 26 Aug 2021 15:11:53 +0000 (17:11 +0200)]
Bumps lightning dependencies

'rust-lightning' needs to be bumped to v0.0.100 rev d523b6e so 'TryInto::<Txid>' can be found in 'lightning-block-sync'. Bumping it any further will change 'PeerManager's API due to https://github.com/rust-bitcoin/rust-lightning/commit/45853b3a956f83569dff1010a43a33c57487698a

5 months agoMerge pull request #32 from lightningdevkit/2021-08-skip-change-check
valentinewallace [Wed, 18 Aug 2021 15:50:53 +0000 (11:50 -0400)]
Merge pull request #32 from lightningdevkit/2021-08-skip-change-check

Drop unused change output calculation

5 months agoDrop unused change output calculation
Matt Corallo [Wed, 18 Aug 2021 15:48:16 +0000 (15:48 +0000)]
Drop unused change output calculation

We don't need this at all anymore since LDK automatically scans
for the correct output index these days.

Fixes #31.

5 months agoMerge pull request #30 from lightningdevkit/2021-08-more-failure-codes
valentinewallace [Tue, 17 Aug 2021 15:53:10 +0000 (11:53 -0400)]
Merge pull request #30 from lightningdevkit/2021-08-more-failure-codes

Allow "rejecting replacement" tx broadcast error

5 months agoAllow "rejecting replacement" tx broadcast error
Matt Corallo [Tue, 17 Aug 2021 01:33:01 +0000 (01:33 +0000)]
Allow "rejecting replacement" tx broadcast error

We occasionally will attempt to broadcast transactions which conflicting
with mempool transactions which are marked RBF. If we don't have a
higher fee, we'll get a "rejecting replacement" error, which should not
cause a panic.

5 months agoMerge pull request #29 from TheBlueMatt/main
valentinewallace [Fri, 13 Aug 2021 19:37:49 +0000 (15:37 -0400)]
Merge pull request #29 from TheBlueMatt/main

Update to latest upstream rust-lightning, bumping deps

5 months agoUpdate Cargo.lock with updated deps
Matt Corallo [Fri, 13 Aug 2021 19:27:12 +0000 (19:27 +0000)]
Update Cargo.lock with updated deps

5 months agoUpdate to latest upstream rust-lightning, bumping deps
Matt Corallo [Fri, 13 Aug 2021 19:26:57 +0000 (19:26 +0000)]
Update to latest upstream rust-lightning, bumping deps

5 months agoMerge pull request #26 from TheBlueMatt/main
valentinewallace [Fri, 6 Aug 2021 22:37:15 +0000 (18:37 -0400)]
Merge pull request #26 from TheBlueMatt/main

Display our local balance in addition to the available-for-send balance

5 months agoMerge pull request #24 from jkczyz/2021-07-background-processor
Matt Corallo [Sun, 1 Aug 2021 19:48:24 +0000 (19:48 +0000)]
Merge pull request #24 from jkczyz/2021-07-background-processor

Explicitly stop BackgroundProcessor

5 months agoDisplay our local balance in addition to the available-for-send balance
Matt Corallo [Fri, 30 Jul 2021 16:21:06 +0000 (16:21 +0000)]
Display our local balance in addition to the available-for-send balance

6 months agoMerge pull request #25 from valentinewallace/2021-06-keysend
Matt Corallo [Wed, 28 Jul 2021 22:01:50 +0000 (22:01 +0000)]
Merge pull request #25 from valentinewallace/2021-06-keysend

Keysend

6 months agoKeysend support
Valentine Wallace [Wed, 28 Jul 2021 21:49:49 +0000 (17:49 -0400)]
Keysend support

6 months agoDon't force announced channel preference
Valentine Wallace [Wed, 28 Jul 2021 21:47:54 +0000 (17:47 -0400)]
Don't force announced channel preference

6 months agoMerge pull request #22 from TheBlueMatt/main
valentinewallace [Wed, 28 Jul 2021 21:22:37 +0000 (14:22 -0700)]
Merge pull request #22 from TheBlueMatt/main

Allow multiple publicly-announced addresses and avoid funding panic

6 months agoExplicitly stop BackgroundProcessor
Jeffrey Czyz [Sun, 18 Jul 2021 17:33:15 +0000 (12:33 -0500)]
Explicitly stop BackgroundProcessor

An upcoming change will stop the BackgroundProcessor's thread upon drop.
Store the processor in a variable and explicitly stop it. Otherwise, the
thread would be stopped immediately after it is started.

6 months agoMerge pull request #23 from valentinewallace/2021-07-0.0.99-bump
Matt Corallo [Wed, 14 Jul 2021 20:36:04 +0000 (20:36 +0000)]
Merge pull request #23 from valentinewallace/2021-07-0.0.99-bump

Update to RL upstream 0.0.99

6 months agoUpdate to RL upstream 0.0.99
Valentine Wallace [Wed, 14 Jul 2021 20:32:54 +0000 (16:32 -0400)]
Update to RL upstream 0.0.99

6 months agoDo not panic if we fail to fund a channel
Matt Corallo [Mon, 5 Jul 2021 02:34:33 +0000 (02:34 +0000)]
Do not panic if we fail to fund a channel

I saw this where a bitcoind was hung connecting a block, and while
we were waiting the peer refused the channel via an error message.
When bitcoind eventually returned, we paniced as the channel was
now gone.

6 months agoAllow multiple publicly-announced addresses
Matt Corallo [Mon, 5 Jul 2021 00:00:01 +0000 (00:00 +0000)]
Allow multiple publicly-announced addresses

6 months agoMerge pull request #21 from TheBlueMatt/main
Jeffrey Czyz [Wed, 30 Jun 2021 04:11:51 +0000 (21:11 -0700)]
Merge pull request #21 from TheBlueMatt/main

Correct Feerate Calc and Tweak Funding Feerate

6 months agoUse a reasonable target fee when opening channels
Matt Corallo [Sat, 26 Jun 2021 17:21:33 +0000 (17:21 +0000)]
Use a reasonable target fee when opening channels

Bitcoin Core defaults to conservative fee estimation, which often
results in significant overtargeting on weekends. We also disable
RBF, here, though, with a comment describing how clients should
handle funding RBF.

6 months agoCorrect feerate units
Matt Corallo [Sat, 26 Jun 2021 17:19:34 +0000 (17:19 +0000)]
Correct feerate units

Lightning, unlike every other Bitcoin-related protocol or API, uses
satoshis-per-1000-weight, instead of
satoshis-per-1000-virtual-bytes. This requires a division by 4 to
calculate the correct fees when passing Bitcoin Core fees into LDK.

7 months agoMerge pull request #20 from TheBlueMatt/main
Matt Corallo [Thu, 24 Jun 2021 17:00:00 +0000 (17:00 +0000)]
Merge pull request #20 from TheBlueMatt/main

Include bad-txns-inputs-missingorspent in allowed tx-broadcast errs

7 months agoInclude bad-txns-inputs-missingorspent in allowed tx-broadcast errs
Matt Corallo [Mon, 21 Jun 2021 00:19:13 +0000 (00:19 +0000)]
Include bad-txns-inputs-missingorspent in allowed tx-broadcast errs

I saw this with Bitcoin Core 0.21.2, I guess "Inputs missing or
spent" was renamed.

7 months agoMerge pull request #14 from TheBlueMatt/main
Matt Corallo [Fri, 18 Jun 2021 20:24:21 +0000 (20:24 +0000)]
Merge pull request #14 from TheBlueMatt/main

Persist network graph

7 months agoPersist network graph
Matt Corallo [Wed, 26 May 2021 00:11:44 +0000 (00:11 +0000)]
Persist network graph

7 months agoMerge pull request #17 from jkczyz/2021-06-guide-updates
Jeffrey Czyz [Mon, 14 Jun 2021 17:03:31 +0000 (10:03 -0700)]
Merge pull request #17 from jkczyz/2021-06-guide-updates

Updates to align with Using LDK guide

7 months agoSimplify loop in connect_peer_if_necessary
Jeffrey Czyz [Fri, 11 Jun 2021 20:15:00 +0000 (13:15 -0700)]
Simplify loop in connect_peer_if_necessary

7 months agoRemove outdated comment on payment secret
Jeffrey Czyz [Fri, 11 Jun 2021 20:30:05 +0000 (13:30 -0700)]
Remove outdated comment on payment secret

7 months agoSimplify extracting fields from invoice
Jeffrey Czyz [Fri, 11 Jun 2021 20:00:34 +0000 (13:00 -0700)]
Simplify extracting fields from invoice

7 months agoInitialize UserConfig in one statement
Jeffrey Czyz [Fri, 11 Jun 2021 02:32:42 +0000 (19:32 -0700)]
Initialize UserConfig in one statement

7 months agoMerge pull request #16 from valentinewallace/update-to-0.98
Jeffrey Czyz [Fri, 11 Jun 2021 19:41:13 +0000 (12:41 -0700)]
Merge pull request #16 from valentinewallace/update-to-0.98

Update to RL upstream 0.0.98

7 months agoUpdate to RL upstream 0.0.98
Valentine Wallace [Fri, 11 Jun 2021 19:33:11 +0000 (15:33 -0400)]
Update to RL upstream 0.0.98

8 months agoMerge pull request #12 from jkczyz/2021-05-event-handler
Jeffrey Czyz [Wed, 26 May 2021 02:23:01 +0000 (19:23 -0700)]
Merge pull request #12 from jkczyz/2021-05-event-handler

Process events with BackgroundProcessor

8 months agof - Rename steps to match Build a Node guide
Jeffrey Czyz [Wed, 26 May 2021 00:13:34 +0000 (17:13 -0700)]
f - Rename steps to match Build a Node guide

8 months agoProcess events with BackgroundProcessor
Jeffrey Czyz [Wed, 12 May 2021 17:44:09 +0000 (10:44 -0700)]
Process events with BackgroundProcessor

8 months agoMerge pull request #13 from valentinewallace/fix-broadcast-tx-panic
Jeffrey Czyz [Mon, 17 May 2021 17:46:08 +0000 (10:46 -0700)]
Merge pull request #13 from valentinewallace/fix-broadcast-tx-panic

Don't panic if broadcast_transaction fails due to duplicate broadcasts

8 months agoDon't panic if broadcast_transaction fails due to duplicate broadcasts
Valentine Wallace [Thu, 13 May 2021 17:25:22 +0000 (13:25 -0400)]
Don't panic if broadcast_transaction fails due to duplicate broadcasts

or from broadcasting too early.

8 months agoMerge pull request #11 from valentinewallace/expose-channel-publicness
Jeffrey Czyz [Wed, 12 May 2021 18:35:26 +0000 (11:35 -0700)]
Merge pull request #11 from valentinewallace/expose-channel-publicness

Indicate whether a channel is public in `listchannels`

8 months agoMerge pull request #10 from valentinewallace/fix-log
Jeffrey Czyz [Wed, 12 May 2021 18:31:20 +0000 (11:31 -0700)]
Merge pull request #10 from valentinewallace/fix-log

Fix badly formatted log

8 months agoFix broken 'open public channels' feature
Valentine Wallace [Wed, 12 May 2021 17:33:19 +0000 (13:33 -0400)]
Fix broken 'open public channels' feature

8 months agoIndicate whether chan is public in listchannels
Valentine Wallace [Wed, 12 May 2021 17:23:06 +0000 (13:23 -0400)]
Indicate whether chan is public in listchannels

8 months agoUpdate `help` to include new commands and clean up parameters
Valentine Wallace [Wed, 12 May 2021 17:22:52 +0000 (13:22 -0400)]
Update `help` to include new commands and clean up parameters

8 months agoFix badly formatted log
Valentine Wallace [Wed, 12 May 2021 16:36:40 +0000 (12:36 -0400)]
Fix badly formatted log

Otherwise there's random \t\t's in the log

8 months agoMerge pull request #7 from TheBlueMatt/main
Jeffrey Czyz [Wed, 12 May 2021 16:24:31 +0000 (09:24 -0700)]
Merge pull request #7 from TheBlueMatt/main

Small tweaks to logging and printing + node_announcement

8 months agoFix on-startup peer connection due to missing await.
Matt Corallo [Wed, 5 May 2021 20:48:43 +0000 (20:48 +0000)]
Fix on-startup peer connection due to missing await.

8 months agoPrint more clear information about channel state in listchannels
Matt Corallo [Wed, 5 May 2021 18:43:38 +0000 (18:43 +0000)]
Print more clear information about channel state in listchannels

User feedback found `channel_can_send_payments` confusing on its
own, and now that we have an upstream `is_confirmed` field, print
that.

Further, it is useful to have an explicit txid field, even if if is
basically duplicative with channel_id.

8 months agoBroadcast node_announcements regularly.
Matt Corallo [Wed, 5 May 2021 02:47:42 +0000 (02:47 +0000)]
Broadcast node_announcements regularly.

8 months agoUpdate payment error messages to better match reality
Matt Corallo [Wed, 5 May 2021 00:00:04 +0000 (00:00 +0000)]
Update payment error messages to better match reality

8 months agoMerge pull request #8 from jkczyz/2021-05-git-dependencies
Jeffrey Czyz [Sat, 8 May 2021 02:54:26 +0000 (19:54 -0700)]
Merge pull request #8 from jkczyz/2021-05-git-dependencies

Use dependencies from git when building locally

8 months agoUse dependencies from git when building locally
Jeffrey Czyz [Sat, 8 May 2021 00:36:39 +0000 (17:36 -0700)]
Use dependencies from git when building locally

Specifying a version number for dependencies prevents building against
recent changes upstream. However, either `path` or `git` can be given to
be used locally while `version` is still used when publishing to a
registry like crates.io. For details, see:

https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#multiple-locations

8 months agoMerge pull request #6 from TheBlueMatt/main
Jeffrey Czyz [Tue, 4 May 2021 23:37:54 +0000 (16:37 -0700)]
Merge pull request #6 from TheBlueMatt/main

Make connections non-blocking

8 months agoSwitch to ToSocketAddrs to support connecting to hostnames not IPs
Matt Corallo [Tue, 4 May 2021 22:06:13 +0000 (22:06 +0000)]
Switch to ToSocketAddrs to support connecting to hostnames not IPs

8 months agoMake panic message for port-already-bound more human readable
Matt Corallo [Tue, 4 May 2021 20:37:45 +0000 (20:37 +0000)]
Make panic message for port-already-bound more human readable

8 months agoMake everything unreadable so rustfmt is happy
Matt Corallo [Tue, 4 May 2021 20:07:59 +0000 (20:07 +0000)]
Make everything unreadable so rustfmt is happy

8 months agoConnect to peers with tokio TcpStreams isntead of blocking tokio
Matt Corallo [Tue, 4 May 2021 20:02:27 +0000 (20:02 +0000)]
Connect to peers with tokio TcpStreams isntead of blocking tokio

8 months agoFix inbound connections by using tokio net instead of std
Matt Corallo [Tue, 4 May 2021 19:42:02 +0000 (19:42 +0000)]
Fix inbound connections by using tokio net instead of std

8 months agoMerge pull request #5 from TheBlueMatt/main
Jeffrey Czyz [Tue, 4 May 2021 19:18:02 +0000 (12:18 -0700)]
Merge pull request #5 from TheBlueMatt/main

Trivial Usability Fixes

8 months agoAdopt rustfmt's completely braindead expected formatting
Matt Corallo [Tue, 4 May 2021 18:47:06 +0000 (18:47 +0000)]
Adopt rustfmt's completely braindead expected formatting

8 months agoPrint the local Node ID on startup
Matt Corallo [Tue, 4 May 2021 18:37:14 +0000 (18:37 +0000)]
Print the local Node ID on startup

8 months agoBump to release 0.0.14
Matt Corallo [Tue, 4 May 2021 18:06:25 +0000 (18:06 +0000)]
Bump to release 0.0.14

8 months agoCheck that the node we connect to matches the user-provided chain
Matt Corallo [Tue, 4 May 2021 17:44:04 +0000 (17:44 +0000)]
Check that the node we connect to matches the user-provided chain

8 months agoMake an initial dummy RPC call to check that the connection works
Matt Corallo [Tue, 4 May 2021 17:10:18 +0000 (17:10 +0000)]
Make an initial dummy RPC call to check that the connection works

This provides a much better panic message if the RPC password is
incorrect.

8 months agoSet panic = abort as we don't want to keep running if we panic.
Matt Corallo [Tue, 4 May 2021 17:09:32 +0000 (17:09 +0000)]
Set panic = abort as we don't want to keep running if we panic.

8 months agoFix minor indentation issue
Matt Corallo [Tue, 4 May 2021 16:17:22 +0000 (16:17 +0000)]
Fix minor indentation issue

8 months agoMerge pull request #4 from valentinewallace/sample-v0
Jeffrey Czyz [Tue, 4 May 2021 00:21:10 +0000 (17:21 -0700)]
Merge pull request #4 from valentinewallace/sample-v0

Sample v0

8 months agoUpdate to latest RL + fix step numbers + nodeinfo + listpeers commands
Valentine Wallace [Sun, 2 May 2021 21:22:44 +0000 (17:22 -0400)]
Update to latest RL + fix step numbers + nodeinfo + listpeers commands

8 months agoAdapt to the lightning_invoice crate moving to Rust-Lightning
Valentine Wallace [Wed, 14 Apr 2021 19:02:56 +0000 (15:02 -0400)]
Adapt to the lightning_invoice crate moving to Rust-Lightning

8 months agoCheck payment secret before succeeding payment
Valentine Wallace [Wed, 14 Apr 2021 18:58:27 +0000 (14:58 -0400)]
Check payment secret before succeeding payment

8 months agoSplit payments hashmap into inbound and outbound
Valentine Wallace [Wed, 14 Apr 2021 18:25:14 +0000 (14:25 -0400)]
Split payments hashmap into inbound and outbound

To prevent clashes between payment hashes

8 months agoRemove HTLCDirection struct
Valentine Wallace [Wed, 14 Apr 2021 15:31:11 +0000 (11:31 -0400)]
Remove HTLCDirection struct

We're going to split payment storage into two maps, one for
inbound and one for outbound.

8 months agoSatoshiAmount -> MillisatAmount and PaymentInfo struct
Valentine Wallace [Wed, 14 Apr 2021 02:35:26 +0000 (22:35 -0400)]
SatoshiAmount -> MillisatAmount and PaymentInfo struct

8 months agoUpdate to latest upstream RL
Valentine Wallace [Wed, 14 Apr 2021 02:34:45 +0000 (22:34 -0400)]
Update to latest upstream RL

8 months agoMove startup to separate from `main` for better errors
Valentine Wallace [Wed, 14 Apr 2021 02:23:47 +0000 (22:23 -0400)]
Move startup to separate from `main` for better errors

8 months agoInclude min_final_cltv when generating invoices
Valentine Wallace [Fri, 2 Apr 2021 19:36:17 +0000 (15:36 -0400)]
Include min_final_cltv when generating invoices

8 months agoRead routehints from invoices when sending a payment
Valentine Wallace [Fri, 2 Apr 2021 19:35:52 +0000 (15:35 -0400)]
Read routehints from invoices when sending a payment