ElementsProject / ElementsProject/lightning
`cln_grpc`: How to use default behavior of `exposeprivatechannels`?
Open
- Dominant language
- C
- Stars
- 3.1k
- Forks
- 1k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 13
Description
# Context
The `invoice`-method in the JSON-rpc has a `exposeprivatechannels`-field.
If this field is not specified Core Lightning will only include private channels in the invoice if no public channels are available.
I'd like to get the same behavior using `cln_grpc`. In this case the `exposeprivatechannels`-field which expects a vector of short-channel-id's. If the vector is empty, the invoice will not contain any private channels.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.