Git Product home page Git Product logo

Comments (4)

shesek avatar shesek commented on June 26, 2024

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.

renepickhardt avatar renepickhardt commented on June 26, 2024

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.

shesek avatar shesek commented on June 26, 2024

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.

renepickhardt avatar renepickhardt commented on June 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.