Git Product home page Git Product logo

Comments (4)

shesek avatar shesek commented on May 24, 2024

Bandwidth is mostly going to be used by bitcoind and lightningd, not so much by Lightning Charge itself.

For bitcoind, this depends on the number of peers you'll be connected to and whether you run in blocksonly mode or not. For lightningd, this depends on the number of connections and channels that you'll have open. So kinda hard to say.

from lightning-charge.

juanwall avatar juanwall commented on May 24, 2024

@shesek Gotcha. Thanks.

Is there a configuration you would recommend to keep bandwidth reasonably low?

from lightning-charge.

shesek avatar shesek commented on May 24, 2024

With lightning, you don't really care about unconfirmed transactions, so you can run bitcoind with -blocksonly which will significantly reduce traffic usage. From the linked page on bitcoin.org:

Blocks-only mode

-blocksonly

Causes your node to stop requesting and relaying transactions unless they are part of a block and also disables listening as described above.

This reduces your node’s bandwidth to the absolute minimum necessary to stay synchronized with the network, about 150 megabytes incoming data per day and about 1 megabyte of outgoing data per day, but it does mean that your node won’t see incoming transactions until they’ve received at least one confirmation.

As for lightningd itself, you can run it with --port 0 to disable listening for incoming connections, so that the only connections are the ones you initiate. The traffic usage will vary greatly depending on the numbers of peers you connect to, the numbers of open channels, and the number of payments you make/route. But it should be quite low overall, its really mainly bitcoind that's going to use traffic here.

from lightning-charge.

juanwall avatar juanwall commented on May 24, 2024

Awesome. I'm looking forward to trying this out. Appreciate it.

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.