Comments (4)
The new subdirectory structure simply means that the user has to specify the subdirectory as part of the --ln-path
argument.
How would you adopt to improve this?
(Note that Lightning Charge does not even have a --network
argument, it only accepts the path to the directory, so it couldn't know which network to expect. The NETWORK
env var that charge does have is only used in the docker deployment for setting automatically up lightningd
/bitcoind
.)
from lightning-charge.
wouldn't it be a solution to extend charged api to have a --network
argument. The solution with passing the path was what I explained to the person with the issue on stack exchange. But maybe you are right and everything right now is well. I just thought it might be confusing for more people than the initiater of the stack exchange topic
from lightning-charge.
Lightning Charge does default to using mainnet if it seems like the user provided the parent data directory instead of the network-specific one (while also showing a deprecation message for this usage). Wouldn't that solve it for most people?
from lightning-charge.
The problem was that the user used an old docker image in which the lightning node did not make a difference about which network was used as there were not subdirectories. while the user realized that there was a problem with the directory path the user did not understand the subdirectory structure. I thought such an API change might confuse others who might not bother to ask a question thus I pointed it out here. I was just wandering if there is something on charged
side that could be done to improve the user experience.
I remembered that my first experience with bitcoin / lightning was actually after charge was released. I had no ideas that the software talks through an RPC interface and at that time I would have been overwhelmed by such error messages and probably frustrated decided to move on.
from lightning-charge.
Related Issues (20)
- shesek/lightning-charge (standalone) is unable to start HOT 2
- shesek/lightning-charge:standalone - unable to start HOT 8
- Support for v0.8.0? HOT 3
- Look for lightning-rpc in the network subdirectory if it does not exists in the parent LN_PATH
- Change price from Bitcoin Average? HOT 2
- Weird 'forbidden' error HOT 2
- Can you use tini in the dockerfiles? HOT 1
- Feature request: Add support for displaying in satoshis HOT 3
- Docker image error HOT 2
- Docker container stops on boot using latest version of charged HOT 3
- Support for v0.10.0? HOT 1
- Lightning Charge container keeps restarting in docker , ARM64 HOT 2
- Toks
- gyp: Undefined variable module_name in binding.gyp while trying to load binding.gyp HOT 4
- Unable to run Docker with existing bitcoind/lightningd
- build fail
- lightning-charge not answering
- Add lightning-network as a topic to this repository
- Compatibility with Core-Lightning v23.05 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lightning-charge.