Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more
9 votes

What does TLV stand for?

TLV stands for type-length-value. It's an encoding scheme used when protocols allow for optional elements in their messages. The type is a label telling you what field you're looking at, the length ...
Murch's user avatar
  • 75.7k
4 votes
Accepted

lightning-cli listnodes is empty. Am I missing something?

In order for list nodes to provide some output you need to first connect to at least one peer on the network. Because the peer is giving you all the information from the gossip protocol about ...
Rene Pickhardt's user avatar
4 votes

Do the channel balances get publicly announced in real-time on Lightning Network?

Channels do not publicly announce their balance for several obvious reasons It would be a huge privacy concern if balances could be viewed live on the network. People could monitor large parts of the ...
Mark H's user avatar
  • 3,334
3 votes

Do the channel balances get publicly announced in real-time on Lightning Network?

The channel balance is not a public information. If you look at the channel_announcement-message in BOLT7 you see that the following information of the channel is public: [64:node_signature_1] [64:...
Rene Pickhardt's user avatar
3 votes
Accepted

What is the purpose of the announcement_signatures message as specified by the Lightning Network RFC?

As far as I understand the process the channel is constructed between two peers. For privacy reasons one of the two peers could decide to keep the channel private. Bolt7 uses the following quote with ...
Rene Pickhardt's user avatar
3 votes
Accepted

Can the lightning network be subject to DoS attacks due to message flooding?

The protocol is purposefully built in such a way that DoS attacks are mitigated and reduced in impact. Each channel_announcement contains a reference to the funding transaction, and each node verifies ...
cdecker's user avatar
  • 9,508
2 votes

How can I find out what proportion of the LN nodes are running specific implementations?

I think a naïve, manual approach would be to infer the implementation from the gossip information, as you suggested. In particular, there are various feature flags that are advertised in the ...
arik's user avatar
  • 218
1 vote

Why is lnd's channel.db so huge and when will it stop growing

Like vincenzopalazzo commented - it never stops growing by design. Solution is to add db.bolt.auto-compact=true to the lnd config. Then the db gets "compacted" (means cleaned-up here) at ...
Rainer Feike's user avatar
1 vote
Accepted

How to get a full view of the lightning network with c-lightning?

lightning-cli listchannels is what you are looking for to also see the channels and not only the nodes. In general the lightning nodes learn the network view from the gossip protocol where closed ...
Rene Pickhardt's user avatar
1 vote

Why did the lightning network implement a gossip protocol?

The main idea of Lightening Network is to make the Transactions as fast as possible and to solve blockchain Network scalability issues. Whereas the main essence of the Gossip protocol is that each ...
Haseeb Saeed's user avatar

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