GithubHelp home page GithubHelp logo

Comments (2)

acrespo avatar acrespo commented on September 27, 2024

Hey there!

Thanks for the feedback! I'll let our Product team know so we can take your suggestion into account.

Not so long ago, we increased the expiration time of our invoices to 24h due to the feedback we received. If I may ask, is this really a need to be able to configure each invoice expiration time or would having a longer expiration time be simpler/better?

Be that as it may, I'll tell you a bit about why this is problematic. The longer the expiration time the more constraints and operational load we have when upgrading or changing Lightning nodes:

  • If you have a single node (no redundancy) you can't really do it (without downtime)
  • If you have multiple nodes, changing all nodes becomes an operational task that lasts the span of your invoice expiration time (currently for us, 24h).
  • Also, any configuration change (e.g. fee policy, adding a new node, etc...) takes longer to propagate (again, currently for us, 24h).

Hope this shed some light on the issue. Did you manage to find out why BTCPayServer requires longer than 24h expiration times?

Don't know if this is any help but note that expiration times may be approaching its sunset (though I imagine I'll take quite some time). AFAIU with Bolt12 there's no more expiration times.

from apollo.

avantgarden avatar avantgarden commented on September 27, 2024

I'm working on app which use BOLT11 invoices. For use case of this app longer expiration date would be much appreciated. Please increase default expiration date to eg: 1 month and/or allow users set their own. Thanks

from apollo.

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.