Comments (5)
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.
exactly fees and timelock are not exchanged during the opening process, so we cannot build this into the channel acceptor.
from lnd.
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.
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.
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)
- [bug]: lncli openchannel breaking change - fee preference HOT 2
- NewAddress returns duplicate addresses HOT 4
- [feature]: unify address creation behavior between `BtcWalletKeyRing.DeriveNextKey` and `BtcWalletKeyRing.DeriveKey`
- [bug]: I'm completely unable to be synced with the Lightning network. HOT 2
- [bug]: Cannot send coins with 1 sat/vB HOT 6
- [bug]: Creating a new channel
- [bug]: Regression: Missing newline in "Shutdown complete" log message HOT 11
- [bug]: sweep: data race on TxPublisher.currentHeight HOT 2
- [bug]: `ChannelRouter` cannot be shutdown while the `syncGraphWithChain` function is running. HOT 4
- [bug]: Inbound fees are not in the gossip message when using `subscribeChannelGraph` HOT 2
- [bug]: Ping time is not accurate HOT 1
- [feature]: lncli command for walletrpc.EstimateFee HOT 4
- [bug]: Unable to pay AMP invoice with `amp` flag set to true
- Add new RPCs to control the fee bumping process
- [bug]: sweep: BumpFee can cause transaction conflicts HOT 1
- [bug]: contractcourt: max budget used immediately for anchor sweeps HOT 3
- [bug]: sweep: LinearFeeFunction off by one HOT 6
- [feature]: sweep: eliminate change address reuse HOT 2
- [bug]: sweep: AddWalletInputs modifies BudgetInputSet when error occurs
- [feature]: sweep: implement alternative fee functions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lnd.