Skip to main content

Unanswered Questions

236 questions with no upvoted or accepted answers
9 votes
0 answers
222 views

What are the advantages to attackers of different styles of replacement cycle attacks?

In Antoine Riard's original description of replacement cycle attacks against HTLCs, a replacement cycle looks like this: Bob broadcasts an HTLC-timeout (input A, input B for fees, output X) Mallory ...
5 votes
1 answer
270 views

How to compute the expected number of sats to arrive in a probabilistic payment flow?

Look at the following network example: Assume S wants to send 3 sats to R. You can further assume that S has enough liquidity in each of its local channels to send up to 3 sats. Also assume the ...
4 votes
0 answers
40 views

How do I negotiate the opening of a larger than 16777215 sats channel on a Core Lightning node?

Core Lightning's describes a maximum amount that can be given as a parameter to lightning-cli fundchannel: The value cannot be less than the dust limit, currently set to 546, nor more than 16777215 ...
4 votes
0 answers
67 views

How to calculate the hashes in Lightning

I was wondering how I calculate the hashes regarding BOLT03 Specification: The Revocation Pubkey is calculated like this: revocationpubkey = revocation_basepoint * SHA256(revocation_basepoint || ...
4 votes
0 answers
186 views

Sign lightning channel creation PSBT with Golang

I'm trying to open a channel on regtest with LND v0.13.0-beta.rc3 using their PSBT workflow to allow for remote signing. I've done the following steps: I create a regtest wallet using the BIP39 ...
4 votes
1 answer
1k views

Generate addresses from Trezor's xPub using Python

I am trying to generate BIP32 HD addresses from my Trezors xPub key. I keep getting errors with most of the libs our there. What am I missing? pywallet: from pywallet import wallet xpub = '...
3 votes
0 answers
96 views

How to force close a channel at the original state, for a good cause

A few months ago I created a payment channel from my desktop node, on LND, to my mobile node, on Blixt. Then I tested a few payments between the nodes, and the final balance on the mobile phone is now ...
3 votes
0 answers
548 views

Lightning Network Nodes do not report Bolt9 Features

Looking at the output of the describeGraph command of my node (LND), I have seen that my node detects approximately 19,000 nodes. Of those 19 thousand, 6 thousand do not report any bolt9 feature. lnd@...
3 votes
0 answers
61 views

Stuck low-feerate transaction after forced closed channel

Someone cooperatively closed a channel with me, then forced closed it later. It has not confirmed. In fact, it is not even showing up in mempool, which says "waiting for transaction". I'm ...
3 votes
1 answer
95 views

How to make sure the user receives lightning payment?

I am working on a side project to allow users to receive some payments from it. When a user clicks a button to withdraw to a lightning address, my webapp makes a request to the host of that lightning ...
3 votes
1 answer
275 views

How to avoid a force closure of a channel in the future

On May 14th our channel with LNBIG-42 was force closed and has only returned to the wallet minus some fees a few days ago. https://mempool.space/tx/...
3 votes
0 answers
126 views

What is the difference between singlesig and multisig xpubs?

When exporting the xpub from my SeedSigner, I'm asked whether to export the "singlesig xpub" or "multisig xpub." I understand the use cases for each but from a technical standpoint,...
3 votes
0 answers
250 views

What does the tlsextraip setting do in LND?

The lnd.conf documentation says: ; Adds an extra ip to the generated certificate. Setting multiple tlsextraip= entries is allowed. ; (old tls files must be deleted if changed) ; tlsextraip= I think ...
3 votes
0 answers
173 views

Lightning Network snapshot via lncli describegraph only includes about half the network?

I pulled a snapshot of the Lightning Network via lncli describegraph with my Umbrel node in July 2022. Everything worked fine and I analyzed the snapshot: ~18k nodes ~85k channels ~4k BTC total ...
3 votes
0 answers
51 views

Calculation of different Pubkeys in Lightning according to BOLT03

Lightning uses different Pubkeys to gain more privacy and security, I am not sure how they are calculated. In BOLT03 it says: The corresponding private keys can be similarly derived, if the basepoint ...

15 30 50 per page
1
2 3 4 5
16