Merge pull request #6577 from ziggie1984/hop-hints-opt-in-addholdinvoice

Hop hints opt in addholdinvoice
This commit is contained in:
Olaoluwa Osuntokun 2022-06-28 15:38:48 -07:00 committed by GitHub
commit 3759b0f1ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -184,7 +184,7 @@ var addHoldInvoiceCommand = cli.Command{
"specified, an expiry of 3600 seconds (1 hour) " + "specified, an expiry of 3600 seconds (1 hour) " +
"is implied.", "is implied.",
}, },
cli.BoolTFlag{ cli.BoolFlag{
Name: "private", Name: "private",
Usage: "encode routing hints in the invoice with " + Usage: "encode routing hints in the invoice with " +
"private channels in order to assist the " + "private channels in order to assist the " +

View File

@ -72,6 +72,10 @@ releases. Backward compatibility is not guaranteed!
caveats/restrictions to be added to an existing macaroon (instead of needing caveats/restrictions to be added to an existing macaroon (instead of needing
to bake a new one). to bake a new one).
* [Hop hints are now opt in when using `lncli
addholdinvoice`](https://github.com/lightningnetwork/lnd/pull/6577). Users now
need to explicitly specify the `--private` flag.
## Neutrino ## Neutrino
[Neutrino now suports BIP [Neutrino now suports BIP
@ -454,3 +458,4 @@ gRPC performance metrics (latency to process `GetInfo`, etc)](https://github.com
* Torkel Rogstad * Torkel Rogstad
* Vsevolod Kaganovych * Vsevolod Kaganovych
* Yong Yu * Yong Yu
* Ziggie