New answers tagged

0 votes

Negative fees on Lightning network and fees on incoming liquidity

Adding on a little later, here. There was some discussion on Twitter about this, regarding nodes used for the purpose of surveillance. Better statistical on-chain data can be obtained by processing ...
user avatar
2 votes
Accepted

Is there an absolute limit the payment request expiry?

I think it is not explicitly specified. But c-lightning uses for example an unsigned int 64. Overall the expiry is obviously created to allow nodes to not store payment preimages for requested ...
user avatar
0 votes

How can i get the payee public key from the payment request

Here is the solution I ended up using: // var invoice *lnrpc.Invoice inva, err := zpay32.Decode(invoice.PaymentRequest, &chaincfg.MainNetParams) if err != nil { return err } fmt.Sprintf(&...
user avatar
2 votes

What is "Link-Level Multiplexing"?

It means that one peer can decide what is the best way of reaching another when forwarding a HTLC. Let Alice and Bob having 2 channels between then, each one with 0.5 on each side, so looks like this: ...
user avatar
1 vote
Accepted

Can you do P2WSH / P2SH on Lightning Network (LN)?

I understand that a channel is a 2 of 2 multisig. Right, a channel according to the current Lightning protocol must be a 2-of-2 multisig. As far as the blockchain is concerned any funds moved from ...
user avatar
2 votes

Can you do P2WSH / P2SH on Lightning Network (LN)?

As you realized the point of Lightning is to reduce latency. At the same time coordinating signatures from various parties in order to move forward the state seems rather impractical. Thus as far as I ...
user avatar
6 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 ...
user avatar
  • 63.3k
2 votes

Broadcasting fake Lightning channels

I think you answered your own question in the first part: Gossip at no-cost on a broadcast network is a potential Denial-of-Service attack vector. Since there is nothing stopping Sybil from creating ...
user avatar
  • 3,220
0 votes

Is the Lightning network a proof-of-stake system?

Let me disagree with the one asking the question and answering it, the Lighting Network is using PoS, the network connects nodes by channels that are created using a transaction on chain (the funding ...
user avatar
  • 192
1 vote

Broadcasting fake Lightning channels

This sound like an interesting idea. I fear it will be a bit complicated though. As gossip is peer to peer a node could announce verious fake open channels to its different peers. Nodes opon relying ...
user avatar

Top 50 recent answers are included