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
0 votes
0 answers
20 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
-1 votes
0 answers
32 views

Mined 2.50 million Milisats to satoshis

If I've mined 2.50 million milisats how many satoshis would it equal out to? I tried asking Google and it doesn't do the math
benjamin rasnake's user avatar
0 votes
1 answer
36 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
22 views

Lightning force close detection

┌────────────────────────────────────┐ ┌────────────────────────────┐ │ outputs contain revocation script? ├──yes──► force close w/ penalty = 3 │ └──────────────┬─────────────────────┘ ...
sanket1729's user avatar
  • 1,380
0 votes
0 answers
11 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
10 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
92 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
48 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
0 answers
22 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
38 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
15 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
54 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
23 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
53 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
46 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
517 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
66 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
53 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,626
0 votes
0 answers
37 views

Which Lightning wallets support splicing?

Which Lightning wallets support splicing (the ability to add funds to payment channels)?
Geremia's user avatar
  • 4,626
5 votes
1 answer
56 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
  • 772
3 votes
0 answers
37 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
30 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
45 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
89 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
148 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
  • 930
2 votes
1 answer
85 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,626
0 votes
0 answers
21 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
85 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
46 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
47 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
168 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
37 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
50 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
18 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
124 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
  • 189
1 vote
1 answer
64 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
24 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
40 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
65 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
33 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
  • 187
9 votes
0 answers
181 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 ...
David A. Harding's user avatar
2 votes
1 answer
79 views

to_remote output 0 during unilateral closing of lightning channel

If there is a lightning channel A-B where A had a balance of c coins and B had 0 balance, it could be the case that A makes several off-chain payments and now the balance of A is 0 and balance of B is ...
Subhra Mazumdar's user avatar
2 votes
1 answer
235 views

Advantages of running a lightning clearnet node compared to one behind a TOR proxy?

Can anyone explain - maybe in a bulletpoint list - what we gain from that? Will that increase its usage? Or is it more about being able to access it from all of your devices everywhere? I'm ...
codepleb's user avatar
  • 189
1 vote
0 answers
24 views

Considerations for moving a lightning node to new hardware?

Lightning nodes get rated. Amongst other factors, uptime is a big one of them. If I want to upgrade to new hardware, what are the steps necessary to do so? Let's for simplicity assume, that I use ...
codepleb's user avatar
  • 189
0 votes
0 answers
61 views

Deriving revocation_pubkey BOLT #3

I'm trying to reproduce keys derivation for testing vectors in Bolt #03. At the moment I'm can not reproduce the local_revocation_pubkey: ...
Pawel's user avatar
  • 91
1 vote
0 answers
67 views

Max amount of peers connections on LND

I'm trying to connect to a long list of peers. I'm running a LND(0.17.0) node. My list has almost 1k peers and I can only connect to 6 of them. Is my node limiting the max connections? If so, is it ...
polespinasa's user avatar
2 votes
1 answer
85 views

Is a channel's 'max_htlc_msat' setting only for outbound HTLCs, or for both sides?

I'm currently setting max_htlc_msat value of my channels to a value similar to their curent local balance, in order to get hints about the max it can curently route (outbound). Indeed, this made ...
bartoli's user avatar
  • 43
1 vote
0 answers
59 views

What is the most successful method to automate circular rebalancing?

What is the most successful method to automate circular rebalancing? We have tried the Torq and the LNDG app but so far they both do not wotk for us so we are still performing manual circular ...
Orange_Bitcoin's user avatar
0 votes
1 answer
67 views

Is it possible to setup Lightning Network Nostr tipping using Bolt12 offers?

I see that NIP-57 references / depends on the LNURL specification, which references LUD-06 and LUD-16. As someone still rather new to all the various specifications, can somebody explain to me in ...
Aaron's user avatar
  • 1
1 vote
0 answers
58 views

Pending open lightning channel

I opened a lightning channel with RTL on my raspiblitz. It took too low fees by default (my fault). So I tried in RTL to pump the TX but this doesn't help. It seems that there was an second TX created ...
Kᴀτᴢ's user avatar
  • 111

1
2 3 4 5
21