Git Product home page Git Product logo

Comments (5)

ziggie1984 avatar ziggie1984 commented on May 26, 2024 1

So to_self_delay wouldn't be a problem to add because the counter party does send it via the channel negotiation, the other parameters are not negotiated but are part of the Channel_Update Gossip msg, which is only sent when the channel is already confirmed. So I don't think it is feasible, maybe query his other channels before opening a channel to get an idea of their fee strategy and timelock security evaluation ?

from lnd.

ziggie1984 avatar ziggie1984 commented on May 26, 2024 1

exactly fees and timelock are not exchanged during the opening process, so we cannot build this into the channel acceptor.

from lnd.

saubyk avatar saubyk commented on May 26, 2024

maybe query his other channels before opening a channel to get an idea of their fee strategy and timelock security evaluation

You're suggesting this as a logic which user can apply, correct? Not something that we might build into channel acceptor

from lnd.

AndySchroder avatar AndySchroder commented on May 26, 2024

exactly fees and timelock are not exchanged during the opening process, so we cannot build this into the channel acceptor.

Okay, so actually one's script calling Channel Acceptor actually can already do the best we can because we can look at the node_pubkey and then use other RPC calls to query that nodes other channels and then decide what to do before accepting.

However, why does Channel Acceptor provide min_htlc and max_value_in_flight? Are those policies or channel parameters?

from lnd.

ziggie1984 avatar ziggie1984 commented on May 26, 2024

However, why does Channel Acceptor provide min_htlc and max_value_in_flight? Are those policies or channel parameters?

The latter, they are channel constraints your peer has to follow when creating the commitment transaction. So his max_htlc amount in his channel policy can never be greater than the max_value_in_flight you negotiated during the channel opening.

from lnd.

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.