Coder Social home page Coder Social logo

Comments (5)

michaelWuensch avatar michaelWuensch commented on June 19, 2024 1

This is done now and shipped with v0.8.0!

from bitbanana.

michaelWuensch avatar michaelWuensch commented on June 19, 2024

Thanks for the input.
It is already possible to set a fee limit for lightning transactions in the settings.
From your perspective, what would be the preferred User experience?
A: Don't show a fee estimate at all and just ensure the limit.
B: Calculate the exact fee, but unable to send while it does so (current situation).
C: Calculate fee estimate that can differ from actual fee, but allows sending while calculating.

from bitbanana.

bezysoftware avatar bezysoftware commented on June 19, 2024

I would prefer option c). It can keep the ui as is, but enable the send button even when fee is being calculated (progress ring is spinning). Bonus would be showing the maximum possible fee calculated from settings and the invoice amount.

from bitbanana.

michaelWuensch avatar michaelWuensch commented on June 19, 2024

Ok, thanks.
I'll see what I can do.
After the change, expect the payment to take about as long as the fee calculation did.
The fee calculation was basically sending a payment that fails on purpose. And then using the route it found to actually do the payment. This way it is possible to calculate the fee exactly, but with the drawback of waiting longer.

from bitbanana.

bezysoftware avatar bezysoftware commented on June 19, 2024

Thanks. Yes that was my guess, sending a failed payment. But technically the fee is still just a guess because the route might no longer be eligible when I actually pay, right?

from bitbanana.

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.