4

The flags field (2 bytes) has been split into two different (1 byte) fields, the message_flags (most significant bits) and the channel_flags field (least significant bits). Hence the flags value displayed in lnd has the message_flags byte set to 0x00 and the message_flags set to 0x01. message_flags indicates that this channel_update has some optional fields ...


4

The time_lock_delta is the minimum difference in the number of blocks between the CLTV of an incoming HTLC and the forwarded HTLC. Full details are described in BOLT2 # CLTV expiry delta.


2

Lnd itself does as far as I remember not provide an api for rebalancing channels. However there is the lndmanage repository that uses the lnd api to provide a pretty strong rebalancing tool https://github.com/bitromortac/lndmanage Such rebalancing will cost you routing fees as they are regular (circular) payments. That being said it is not clear why you ...


2

Streaming payments is not part of the lightning network protocol yet. However you can build a lightning app that simulates exactly this. There was a demo by alekos Filini on lädt years lightning residency. Check out https://youtu.be/IlSVTir_9Ns When AMP is coming streaming payments could be stimulated with AMP by setting up more and more routes. But that ...


2

It seems to me that the field time_lock_delta in LND corresponds to what BOLT#7 refers to as cltv_expiry_delta. Which the specification explains to be "the number of blocks it will subtract from an incoming HTLC's cltv_expiry". Hence, the unit would be a count of blocks.


1

Everything but the last Comand looks correct. There is no command channel in c-lightning. In order to open a channel you need to execute cli/lightning-cli fundchannel id satoshi [feerate] [announce] [minconf] Fund channel with {id} using {satoshi} (or 'all') satoshis, at optional {feerate}. Only use outputs that have {minconf} confirmations. The thing ...


1

Yes. The channels are announced with the node ID. If the ip Address changes we get a new node announcement message so it takes some time until the information is through the gossip protocol. But moving a node to a new server is no problem


1

What is happening when a channel is pending when opened? How long does it usually take? A node establishes a channel by sending an open_channel message to its desired peer. This message specifies the parameters under which the channel will operate (e.g. the number of bitcoin the channel will be funded with and the cost to route payments through the channel)....


1

Opening a channel involves sending an on-chain transaction (with a multisig output controlled by the channel’s participants), so when the channel is ‘pending’ it simply means this transaction is not yet confirmed. How long it takes the transaction to confirm depends on the same factors as any other transaction. Further, the participants will often wait for ...


Only top voted, non community-wiki answers of a minimum length are eligible