Skip to main content

Questions tagged [lightning-network]

A peer-to-peer payment system leveraging unbroadcast pre-signed transactions to track user balances.

Filter by
Sorted by
Tagged with
3 votes
0 answers
64 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 ...
user141713's user avatar
2 votes
1 answer
94 views

What happens if HTLC value is below dust limit

What happens if the HTLC value is less than the dust limit? Logic tells me that you cannot create an HTLC output because the transaction would be rarely propagated. How do you make multi-hop payments ...
polespinasa's user avatar
1 vote
0 answers
15 views

How do I connect an lnd docker image to my umbrel bitcoin node?

I have an umbrel node running a full bitcoin node as an app. I would like to run a lnd docker image (https://github.com/lightningnetwork/lnd/blob/master/docs/DOCKER.md) on my laptop and connect to it ...
user2741831's user avatar
1 vote
1 answer
26 views

Is there any reason a lightning node could not be ran without fees?

Every lightning node charges fees to route payments. This is I assume because running a node costs electricty and effort. But I was wondering, since bitcoin fees are not incurred after a channel is ...
user2741831's user avatar
1 vote
0 answers
31 views

What does KeyError: 'zmq-pub-channel-opened' mean?

Can anybody tell me if this is an issue when loading the zeromq plugin for Core Lightning? 2024-06-09T14:54:53.169Z INFO plugin-cl-zmq.py: Traceback (most recent call last): 2024-06-09T14:54:53....
user152547's user avatar
1 vote
0 answers
16 views

Force closes reasons

What are the different reasons for a Lightning Network node to force a channel closure automatically, without user interaction?
polespinasa's user avatar
0 votes
0 answers
47 views

Am I correct in assuming that for-profit Lightning Channels need to be regularly "emptied out"?

Lets say we have three people/nodes, Tom, Jack and Bob. Tom wants to send Bob 50 satoshi. Tom has a channel with Jack with 1000 sats capacity (the multisig transactions contains 1000 sats from Tom and ...
user2741831's user avatar
1 vote
1 answer
52 views

Is it possible to generate lightning address / invoice that can be used multiple times?

I'm planning to attend art exhibition, displaying some of my pieces, it's actually for the πŸ• coming soon. I can easily print QR code with my on-chain BTC address. I would like to print QR code with ...
Mars Robertson's user avatar
1 vote
1 answer
95 views

Increase the fees in regtest

I have a Regtest environment with some Lightning nodes. I need to make the fees go up a lot to do some tests on how the Lightning nodes behave with high fees. What would be the most efficient/simple ...
polespinasa's user avatar
0 votes
0 answers
19 views

BTC to LND Node Transfer Not Showing yet on node's wallet after almost two weeks?

I realize that this may or may not be a question to ask of the Umbrel developers but I have to sadly report to you all that they rarely answer any posts on their forum. Please help us with this ...
Orange_Bitcoin's user avatar
0 votes
1 answer
30 views

Maximum Number of Hops an Onion Message Can Travel?

According to the specifications: https://github.com/lightning/bolts/blob/master/04-onion-routing.md#onion-messages What's the maximum number of hops an onion message can travel?
Amin Bashiri's user avatar
0 votes
0 answers
72 views

Extremely slow blockchain syncing issue on RaspBerry Pi 4 with Raspiblitz

I'm encountering a significant delay in synchronizing the blockchain on my Raspberry Pi 4. Even after 11 days, the sync progress is only at 68%. I'm using a brand new Raspberry Pi 4 with a 1TB USB 3.0 ...
bvh9000's user avatar
0 votes
1 answer
43 views

What effect on Lightning Network would be of setting dustrelayfee to 0.003 by all nodes?

Having thought a lot of spam bloating my node, I cannot but wonder of what effect on Lightning Network would be of setting dustrelayfee to 0.003 by all nodes, instead of the default value of 0.00003. ...
John Smith's user avatar
2 votes
0 answers
31 views

Lightning force close detection

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ outputs contain revocation script? β”œβ”€β”€yes──► force close w/ penalty = 3 β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ ...
sanket1729's user avatar
  • 1,402
0 votes
0 answers
22 views

How to use chantools pullanchor?

The official documentation describes very little about how to do this, and we would like to get more information, in particular how to count <vout
Oleh Baidiuk's user avatar
1 vote
0 answers
16 views

Calculate total assets in a lnd

How can I calculate my total assets in a lnd? Something like the sum of "wallet confirmed", "wallet pending", "channels local balance", "channels pending local ...
Rainer Feike's user avatar
3 votes
1 answer
144 views

How do I run a Core Lightning Node on top of Bitcoin Knots?

Recently, Giacommo Zucco mentioned that he runs Bitcoin Knots instead of Bitcoin Core. As far as I know, he is an experienced Lightning user and so there must be a way in which he runs his lightning ...
John Smith's user avatar
0 votes
1 answer
75 views

Lightning Network channel reserve

How is the calculation of the amount of sats reserved to pay fees in L1 in case of having to launch a penalty transaction or make a forced closure of a channel? In bolt2 I have read that 1% of the ...
polespinasa's user avatar
0 votes
1 answer
43 views

Does the Lightning Network support Bitcoin scripts, and what do the identifiers of Lightning wallets look like?

I'm currently exploring the deployment of Bitcoin scripts within the Lightning Network. Specifically, I'm interested in understanding the compatibility and functionality of Bitcoin scripts within the ...
Nerses Asaturyan's user avatar
0 votes
1 answer
48 views

How I can detect transactions submitted on bitcoin from L2 Lightening network?

I want to identify transactions submitted from L2 on the Bitcoin blockchain. How I can find these transactions? For example, in the Lightening network, do transactions wait in Mempool? If not, how the ...
Motiv's user avatar
  • 109
1 vote
0 answers
18 views

Why does a single expired HTLC with an unresponsive peer cause automatic force closure of the whole channel?

As far as I understand: the expiration of a single HTLC in a payment channel with an unresponsive partner causes the whole payment channel to force close (Behaviour A). This has been discussed, for ...
user141713's user avatar
2 votes
1 answer
64 views

How do I send the change output from an input to fundchannel to a taproot address instead of to a SegWit v.0 address?

Is there a way send the change output from an input to fundchannel to a taproot address instead of to a SegWit v.0 address? I have only one large utxo in onchain funds of my Core Lightning node. Its ...
John Smith's user avatar
4 votes
0 answers
32 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 ...
John Smith's user avatar
1 vote
1 answer
69 views

Does a pruned node have the same chainstate/ as the unpruned one? Does not seeing historical data impact transacting?

Let's assume that I have two identical clearnet-only Bitcoin Core nodes on the same ethernet LAN. I then moved 1BTC on the same day of October of 2021 to the Core Lightning wallets connected to those ...
John Smith's user avatar
2 votes
0 answers
62 views

What determines how long a HOLD invoice will be held before it times out and is forced on chain?

How long can a HOLD invoice be held before it times out and is forced on chain? Is there a way for the receiver to define a minimum timeout requirement in the invoice in order for it to be ...
user1748155's user avatar
3 votes
0 answers
542 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@...
polespinasa's user avatar
0 votes
1 answer
81 views

What are the default timelocks in Lightning implementations today? How are they negotiated on channel opening?

There are two timelocks in Lightning that both channel counterparties must agree to if a channel is going to be opened between them. These are (from BOLT5) to_self_delay (a CSV relative timelock) ...
Michael Folkson's user avatar
2 votes
0 answers
83 views

How does Electrum's "send change to lightning" work?

In Electrum, when sending to a non-Lightning β‚Ώ address, I can choose the "send change to lightning" option. How does this work?
Geremia's user avatar
  • 4,704
0 votes
0 answers
47 views

Which Lightning wallets support splicing?

Which Lightning wallets support splicing (the ability to add funds to payment channels)?
Geremia's user avatar
  • 4,704
5 votes
1 answer
64 views

What is a payment basepoint?

The BOLT #3 Commitment Transaction documentation talks about a payment basepoint, but I can't find it defined in the glossary or anywhere else. It also mentions various other basepoints like a ...
Zephyrus's user avatar
  • 782
3 votes
0 answers
48 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 ...
Ryan's user avatar
  • 31
0 votes
0 answers
33 views

After re-install my fullnode (kept the btc and lnc data directories), previously ACTIVE ln channel stays Inactive

Reset my Node and reinstalled ALL softwares including lnd and Thunderhub. Now my bitcoin is running well, LND is running well. Thunderhub is also OK. but my previous opened channel is not Active. from ...
Nick's user avatar
  • 1
1 vote
0 answers
51 views

Closing tx stuck in mempool

I'm running core lightning 23.11. I have a channel closing tx stuck in the mempool: https://mempool.space/tx/9245a9fc09ada2b1709d6f83ed2fa0875c91996a4c81eb6a03e84946f13c1042#flow=&vin=0 How can I ...
Tasos Sidiropoulos's user avatar
0 votes
2 answers
132 views

Unable to pay invoice with route hints

I'm unable to pay a lightning invoice that includes route hints. The node in the route hint never receives the forward request which makes me believe that the invoice has some issue and no route is ...
apotdevin's user avatar
2 votes
2 answers
170 views

How does Bitcoin core knows whether CPFP carve out rule is already used?

Bitcoin node has 2 rules that limit the use of CPFP: number of descendants (including transaction itself) can't be more than 25 total size of transaction and all its descendants can't be more than ...
LeaBit's user avatar
  • 980
2 votes
1 answer
112 views

Why can't I import a Bitcoin Core private key into an Electrum wallet that supports Lightning?

Why can't I import a Bitcoin Core private key into an Electrum wallet that supports Lightning? Running importprivkey in the Electrum console, I get: Error: This type of wallet cannot import private ...
Geremia's user avatar
  • 4,704
0 votes
0 answers
26 views

Having issues when starting Lnd. Lncli create command provides no output

I have lnd running on MacOs (m2 machine) with Bitcoind as a back end. Bitcoin is in my external SSD drive. When I start Lnd, I am able to get to the lncli create option, but the lmcli create command ...
Anasosadances's user avatar
3 votes
1 answer
105 views

Open Anchor Output channels on CoreLightning

I want to open a channel from my CoreLightning node to my LND node, and I want that channel to use anchor outputs to be used for the channel closing later on. How can I enforce my CoreLightning node ...
Dalit Sairio's user avatar
1 vote
0 answers
57 views

Building a CPFP raw transaction to confirm a force-closed Lightning channel [closed]

I am attempting to use bitcoin-cli createrawtransaction to build a CPFP transaction to pay for a low-fee channel close that has been unconfirmed for over a week. I have all of the details, i.e, txid, ...
The Daniel's user avatar
0 votes
0 answers
49 views

Where is the custody with lightning node?

I wrapped my head about LN a bit with LND and voltage ressources but regarding the custody I don't really get it. With bitcoin it's stateless as one can have the utxo's key and sign offline and just ...
onepix's user avatar
  • 400
1 vote
1 answer
259 views

Sats stuck in "pending" after lightning channel force closure

I had a lightning channel force close because the other node went offline. Its now been 24 days yet the on chain sats are still stuck in "Pending" status and can't be spent. This is the ...
j5s's user avatar
  • 31
1 vote
0 answers
39 views

How to organize a lightning node so that the liquidity is self balancing?

Does anyone here know a method to organize a lightning node so that it becomes self balancing? By self balancing I mean that the liquidity is "mostly" balanced so that transactions flow in ...
Orange_Bitcoin's user avatar
1 vote
0 answers
60 views

Destination in WoS invoice is not WoS node

When I create an invoice in Wallet of Satoshi / Android, and lncli decodepayreq --pay_req=lnbc2 the invoice, there's a destination { "destination": "...
Rainer Feike's user avatar
2 votes
0 answers
23 views

Are there internal 1sat invoices in LND?

Every day I find several (like 3) amount=1 sat invoices in my lnd's listinvoices. These invoices have an empty payment_request, a zero expiry, an empty description_hash etc. Is this kind of a health ...
Rainer Feike's user avatar
3 votes
3 answers
155 views

For running a lightning node and getting maximum exposure, should I forward port 8333 also (for bitcoin)? Or only 9735 (lightning)?

I've been wondering about this. From what I read, people only open 9735 to run a "successful" node. To me it makes sense not to open bitcoins port, but I could also imagine that some ...
codepleb's user avatar
  • 187
1 vote
1 answer
77 views

bech32 serialized lightning invoice from lnd rest endpoint /v1/invoices

I am using the LND Rest API to create an invoice. As response I get something like {'r_hash': 'Wchr...E=', 'payment_request': 'lnbc210n1p....z9s', 'add_index': '4', 'payment_addr': 'Lyn...50=' } ...
Rainer Feike's user avatar
0 votes
0 answers
33 views

LND per_commitment_secret

I'm trying to restore per_commitment_secret from channel.backup file (LND). What is the seed? Is the seed saved in channel.backup file? BOLT #03 per_commitment_secret calculation generate_from_seed(...
Pawel's user avatar
  • 91
1 vote
0 answers
48 views

LND per-commitment-secret derivation

For learning purposes I'm trying to recreate all keys in LND channel. I could reproduce MultiSigKey, RevocationBasePoint, PaymentBasePoint, DelayBasePoint, HtlcBasePoint. The workflow to reproduce ...
Pawel's user avatar
  • 91
0 votes
0 answers
73 views

Determine the amount to pay to send bitcoin from lnd (lightning network) to on-chain address

I am currently working on a project that requires multiple users using lightning network to generate and pay invoices through my website but I want to be able to calculate each user's transaction fee ...
Topman's user avatar
  • 11
1 vote
0 answers
34 views

Which are the default features enabled on the main three Lightning Network node implementations (LND, C-Lightning and Eclair)?

Which are the default features enabled on the main three Lightning Network node implementations (LND, C-Lightning and Eclair)? I mean the features shown when you use "describegraph" command.
Mani T's user avatar
  • 197

1
2 3 4 5
…
21