Questions tagged [lightning-network]

Proposed payment system leveraging payment channels which allow re-negotiation of balances that finally get executed on the Bitcoin blockchain.

Filter by
Sorted by
Tagged with
-1
votes
1answer
38 views

Is there a reason that Bitcoin Core won't add built-in support for Lightning Network, is it dead, and what is the real website?

I've spent a lot of time recently trying to understand what Bitcoin Lightning is. It appears as if the main website for it is this: https://www.bitcoinlightning.com/ However, the site feels extremely &...
6
votes
4answers
404 views

Can miners collude to bypass the penalty based revocation system of the lightning network?

The core lightning security assumption relies on a punishment mechanism called “Justice Transaction”. However, how can you prevent a malicious user from colluding with a miner, and producing a block ...
2
votes
4answers
86 views

What is the point of “Bitcoin Lightning” and “Bitcoin Liquid”?

Even having been "into" Bitcoin since almost since the start, I constantly find new weird things mentioned which are just apparently taken for granted and exist suddenly and somehow have ...
3
votes
1answer
64 views

How does muun lightning wallet requires no trust and no backups?

https://muun.com/ claims it has a wallet that does not rely on backups. Here: https://blog.muun.com/why-not-just-a-mnemonic/ it says Muun is a multisig wallet with lightning support, so backing up a ...
1
vote
1answer
49 views

Best way to store fund on the lightning network

Suppose that someone want to store 0.1 bitcoin on the lightning network for a period of 1 year to use services such as buying and selling things but doesnt know which one and with who yet. What would ...
2
votes
0answers
23 views

Circular rebalance through 1 of 7 channels always times out

I have the following 8 channels open I am able to do a circular rebalance through the first 6 as expected The bottom 2 channels are to the same node Every time I try to do a circular rebalance (tried ...
0
votes
0answers
3 views

Omni layer - not bitcoin? [migrated]

many times I'm seeing OMNI layer questions being closed as not related to bitcoin, but there is no such behavior for Lightning Network. Lightning network is L2 while Omni data sits purely on bitcoin ...
1
vote
1answer
23 views

Why use `update_add_htlc` when paying directly across a channel?

If Alice opens a channel to Bob and sends a payment directly to Bob, the following messages are exchanged: +-------+ +-------+ | |---- update_add_htlc ------&...
1
vote
1answer
21 views

Why are `update_add_htlc` and `commitment_signed` separate messages?

BOLT #2 indicates that a node will send one or more update_ messages before a subsequent commitment_signed. Since it seems like sending a payment over a channel involves update_add_htlc followed by ...
0
votes
1answer
28 views

One seed phrase created two wallets with two script types

I have a wallet on blockchain.com and it is saved with the backup phrase. Due to issues I was not able to buy anything there, so I created an account at coinbase. This lead to the usage of coinbase ...
3
votes
1answer
146 views

Is an SSD required to run a bitcoin full node and a lightning node?

To run a full node and lightning node, I always read that people should use SSDs. Is that really required? And why is that? It's a slowly growing blockchain after all. I would have everything for an ...
1
vote
1answer
27 views

How can I determine the reason for a failed routing on c-lightning

I am running a c-lightning node (v0.8.2). I am routing a payment every few days. However, I realized that dozens of payments every day fail, many of them fail locally (I see the status 'local_failed' ...
2
votes
1answer
31 views

Is Lightning Offers an improvement over Key Send?

The draft for BOLT#12 (Offers) introduces a new payment flow where the receiver of funds posts an Offer. The Payer can then request a unique invoice and pay the invoice. There are significant ...
0
votes
1answer
55 views

How to resolve eclair-node-gui-0.3.3-12ac145.jar getting CAPSULE EXCEPTION after java update to version 11.0.9.1?

I've been running Eclair node release eclair-node-gui-0.3.3-12ac145.jar smoothly for some time now on Ubuntu 18.04.5 LTS, but recently had an update to the java version i was using to the latest (?) ...
1
vote
0answers
40 views

Preparing a transaction with many outpts

What would be the exact command to prepare a transaction with multiple outputs, to a specific address? I'm able to list all my outputs with lightning-cli listfunds, but I'm not sure how to include ...
1
vote
1answer
39 views

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

As I understand lightning a node should in principle have a complete view of the lightning network graph (i.e., all nodes and channels). However, I also understand that for practical reasons the view ...
0
votes
1answer
28 views

Why, how, and when should an intermediate LN node terminate/resolve its HTLC(s) off-chain?

I once heard an attack against LN, which was called "flood & loot": https://medium.com/blockchains-huji/flood-loot-a-systemic-attack-on-the-lightning-network-5c3dac7bba24 The 3rd step of ...
5
votes
1answer
27 views

Is there a lightningd equivalent to bitcoind's -walletnotify or -blocknotify?

I'm looking at the docs, and I see they have lightning-notifications, but it looks like you can't configure where they go, and you can't trigger a shell script with them. Does this mean I have to have ...
2
votes
0answers
51 views

Lightning Node (MyNode) gone missing. How to recover funds?

I had a RaspPi/MyNode with a few LND channels open. The node has unfortunately gone missing/stolen and I'm trying to figure out the best way to get the funds back. I have access to my seed words for ...
0
votes
0answers
42 views

Settling the invoice/payment in lightning while the other party is unresponsive

Given that Alice wants to pay Bob in the lightning network, Bob first creates an invoice (using the python api) for A as follows: request = invoicesrpc.AddHoldInvoiceRequest(hash=r_hash, value=30000) ...
0
votes
0answers
45 views

Can we use lnurl-auth to create a better password manager?

LNURL-auth can be used to implement registration/login in a web app in which users don't need username/password or other credentials instead they can just use their LN wallet to login. However cannot ...
1
vote
0answers
13 views

Why does the funder send the signed settlement to the counter-party in eltoo?

Quoting from the Eltoo paper: Before signing and broadcasting the funding transaction the funder requires the other endpoint to create an initial settlement transaction that returns the funds back to ...
1
vote
1answer
71 views

How does circular rebalance on LN work?

How does circular rebalance on LN work? (note: circular rebalance is term used in RTL, I use lnd). Let me describe the situation that happened to me: I have two channels, one with Alice, one with Bob. ...
0
votes
1answer
37 views

Autonomous Loop channel

Can I have an autonomous loop channel with myself where I would suck all excess inbound/outbound capacity to/from channels I have with other parties? In such a case, I would not have to even burden ...
1
vote
1answer
58 views

Is the Lightning Network sufficiently secure and well tested for wumbo channels?

Has the Lightning Network reached a level of security and maturity where I can open wumbo channels (channels over the previous 0.1677 BTC limit) and be reasonably confident that I won't lose funds or ...
3
votes
1answer
82 views

What are the different types of spam that the Lightning Network is subject to?

What are the different types of spam that the Lightning Network is subject to and what are the possible strategies for dealing with such spam?
0
votes
1answer
59 views

LND doesnt create macaroons or directories

I installed lnd and got to the point of creating a wallet with "lncli create" but I get an error "unable to read macaroon path" and gives the path of where the macaroon should be. ...
2
votes
2answers
59 views

Should the nodes of a channel have the same Time Lock Delta?

Consider this channel https://1ml.com/channel/612829298476056576 : Node 1: Caffeine Time Lock Delta: 10 Node 2: HODLcat.com Time Lock Delta: 144 How is an HTLC passing through this ...
3
votes
1answer
32 views

If I receive a LN payment from an anon sender… is there a way to send back to this individual?

I see the preimage, hash, and payment request but all of those are transaction specific and unrepeatable. Any idea how it would be possible to send back the other way without knowing the individual?
4
votes
1answer
77 views

Why do Anchor Outputs need to enforce an nSequence of 1?

Quote from https://bitcoinops.org/en/topics/anchor-outputs: As of this writing, the most recent versions of the design add two outputs to the commitment transaction—one for each LN party—and require ...
0
votes
2answers
414 views
2
votes
0answers
20 views

New Node User Opening Channels Through Zap

I recently set up my first node and connected through Zap. I currently have one channel open which is funded on my local side and on the remote side for a small amount. I was told that my node is not ...
3
votes
0answers
34 views

What is “Link-Level Multiplexing”?

In a discussion about private channels, Conner Fromknecht mentioned a concept called Link-Level Multiplexing. What is this and what is it useful for? How does it work?
0
votes
0answers
31 views

Time locked puzzle for payment in Lightning Network

Currently HTLC's timeout transaction relies on absolute timelock enforced on the script. It allows a counterparty to withdraw the money from the contract if the other party doesn't release the ...
0
votes
0answers
32 views

Lightning Node Full Pubkey

I have my lnd node pubkey, public IP address and an open port as follows: 0286712a3a81b0d5e54469042146137fbdf7b77802f21fad1261c031a8d917f5da@... Do I have to set parameters after the '@' sign - in ...
1
vote
1answer
46 views

Problem with the first Initialization of my LN node, dial tcp my-external-ip:9735: connect: connection timed out

Background I was following 402 Payment Required's LN video and everything was good until the moment of the first Initialization of my LN node. I got an error: dial tcp my-external-ip:9735: connect: ...
1
vote
1answer
47 views

Connect C-lightning to a remote bitcoind through tor

I would like to connect my C-lightning node to a remote Bitcoin node, in order to be able to run lightningd on a small storage capacity VPS. I could achieve this by using clearnet connection and ...
3
votes
1answer
269 views

How to use the lightning network with Electrum multisig wallet?

I want to experience the lightning network transactions with my Electrum wallet. But the lightning network is not available, and it shows the following information: "Lightning is currently ...
3
votes
1answer
33 views

Lightning Network state deprecation secret keeping

When using a lightning channel, two sides are sending transactions representing the current state (or balance) between them, and for each state sent, they invalidate the previous state by sending a ...
0
votes
1answer
31 views

Is there already reached consensus on network upgrades like Taproot, Submarine Swaps?

I have read about some very interesting new protocol amendments. I am not asking for their explanations, but would be great if anyone explained their current status, if they are still considered to ...
4
votes
1answer
85 views

Cheat Lightning network (c-lightning)

I want to understand how cheat lightning network using c-lightning. I understand that if a participant of che channel send not last commitment transaction, it means that he tries to cheat. I'd like to ...
0
votes
1answer
20 views

Simulate HTLC in regtest c-lightning

I have three nodes in regtest environment l1, l2, and l3 l1 create a channel with l2 l2 create a channel with l3 l3 create an invoice for l1. l1 can pays it because use the route l1-l2-l3 I presume ...
1
vote
0answers
28 views

When commit_fee (fee_per_kw) renegotiation?

Looking at my channels on lnd node, fee_per_kw values are different for some channels (13332 or 6422). How is the fee_per_kw calculated when opening the channel? Does it take current bitcoin fees ...
2
votes
1answer
44 views

Sending lightning payment between TOR lighning nodes, any specific setup required?

I have two c-lightning nodes in different VMs in Qubes OS, both routed through TOR VM. They both can connect to other public nodes and establish channels with them but when I try sending satoshis ...
2
votes
1answer
44 views

Retrieve address when create a channel lightning network

I have two nodes in regtest. the first one is: $ l1-cli getinfo { "id": "02c3f99e70c8da59e428dd119d36c0a1317e5cd85218a760355b5f9b4f822f6109", "alias": "ALICE&...
1
vote
0answers
31 views

LSAT - stateless proof of payment through specific form of preimage

I am aware LSAT consists of macaroon and preimage. Preimage is part of the HTLC construction to route payments in lightning. It is generated by the receiver and eventually known by all participants on ...
2
votes
1answer
94 views

Get public or private key from address with C-lightning

I'm studying Lightning network and I use c-lightning. I can Get a new address with newaddr method, but I can't find private key. My address is bcrt1qmckts70jsq2u5886lgcq2yn7xjmp97t09zlrg, how can I ...
1
vote
1answer
36 views

Who bears the transaction fee for settling HTLC in Lightning Network?

Given a channel that exist between Alice and Bob, where Alice wants to transfer 0.0001 BTC to Bob. Alice makes HTLC payment to Bob contingent to the secret for the payment hash within a timelock of ...
1
vote
1answer
40 views

How can wallet software implement automatic channel management for Lightning Network?

If I'm building a desktop Bitcoin wallet with Lightning support, and I don't want the user to have to worry about channel management, what's the way to achieve that? I've seen the autopilot solutions ...
1
vote
1answer
43 views

How does the 12 keyword back phrase works and how does it allow the creation of infinite number wallet address across multiple cryptocoins?

I wonder how crypto wallet like BitPay works? They claim to be an offline wallet that you can back up with simply a 12 words phrase. Yet, they allow you to create an infinite number of wallets across ...

1
2 3 4 5
13