Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [lightning-network]

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

0
votes
1answer
14 views

Is it possible to create pure lightning lockboxes (without touching the blockchain)?

I'm considering a scenario in lightning, where it would be extremely useful to be able to lock the funds in 2/3 lock Is this possible on lightning network (even in theory)?
1
vote
2answers
71 views

Are there any risks on publicizing a Lightning network invoice?

What are the negative effects of publicizing a LN invoice either before or after its payment? From what I understand, after its payment it won't allow a 2nd payment of the invoice, so 3rd parties ...
0
votes
1answer
27 views

My lnd node hasn't routed any payments (1 week + since initial setup)

So I finally setup a lightning node (lnd) and according to "feereport" I haven't routed any payments (no fees collected). I have used my node to send payments (yalls, satoshis.place, blockstream...) ...
1
vote
1answer
17 views

Lightning network Fraudulent Channel Close

If a lightning network transaction between 2 participants, where the payment is routed by multiple channels, does it means that all full LN nodes that routed the payment should stay online to avoid ...
1
vote
1answer
11 views

Lightning Network: can I create a channel from a preexisting channel?

If I open a channel with myself for 0.01 BTC, with one end having all, and the other having none, could I create an updated contract, or state, to send 0.001 BTC to an address owned by Alice, even ...
2
votes
1answer
38 views

Restore lightning network node/channels

If one wanted to restore a lightning network node, what files have to be saved? I read that saving hsm_secret is enough to restore private key(s), but I also read about a problem with channels. How ...
0
votes
1answer
15 views

Lightning network: funds into channels

Is there a minimum limit of bitcoin that can be added into a channel during the initialization? And, if I decided to open a channel with a lightning node, also that node has to add money to the ...
1
vote
1answer
17 views

Full node vs lightning node

What is the difference between a full node and a lightning (network) node? If a lightning node, that is not a full node, opens a payment channel with another lightning node, how can the first peer ...
0
votes
0answers
28 views

Lightning network: Open a channel with a peer that is not a full node?

Is it possible to open a channel with a peer that is not a full node? Or to exchange lightning payments between two peers that are not full nodes, they both have to open a channel with full lightning ...
1
vote
1answer
112 views

Can you run a bitcoin lightning node on a raspberry pi zero?

Will a bitcoin lightning node run on a raspberry pi zero? Does it have to have the full Bitcoin blockchain synced or can it connect to a remote node? Also what are the minimum requirements to get a ...
1
vote
1answer
22 views

Failed to start lightningd.service: Unit bitcoind.service not found

I followed the tutorial https://medium.com/@meeDamian/c-lightning-node-on-rbp3-b950660fb835 without error. When I type: sudo systemctl start lightningd I get Failed to start lightningd.service: ...
2
votes
1answer
41 views

Lightning Network: what happens if parties lose their txs?

Let's take the classical example of Alice and Bob with 0.5BTC each. Commitment Txs are exchanged for a new balance sheet: Alice has 0.6BTC, and Bob 0.4BTC. If Alice loses Bob's Breach Remedy Tx, she ...
1
vote
2answers
38 views

Can LN clog main chain BTC?

Main chain BTC can handle something about 300k tx per day without increasing fees, open and closing channels need to be done using standard tx on main chain. So the question is if we will have large ...
2
votes
2answers
31 views

How to convert channel id from c-lightning to lnd?

Sorry for the dumb question, but I'm not very good in lightning network... So I have two daemons: c-lightning and LND. Channels from the c-lightning comes like this 505580:1917:1; Channels from the ...
1
vote
0answers
20 views

Has Lightning Network seen any fraud or major vulnerabilities? [closed]

I'm curious to know has LN faced any major issues so far?
1
vote
1answer
54 views

What type of smart contacts will be available on Lightning Network? [closed]

What kind of contacts will we be seeing eventually on LN? Will it be anything like what Ethereum has?
2
votes
2answers
92 views

Can SPV clients offer “proof of absence” of a transaction?

So light SPV clients give the user the ability to obtain merkle proofs (from a full node) that a given transaction is included in a block. Is there some cryptographic mechanism by which an SPV client ...
1
vote
1answer
45 views

Share balance between lnd and bitcoind

I have a bitcoind instance with some balance. When I run lnd (which is connected to this bitcoind instance) it seems to use its own wallet. Is there any way I can use lnd with the bitcoind balance ...
1
vote
1answer
34 views

Clarification about lightning network

When I run a lightning node, I have to set up a lightning channel with, for example, a highly connected node. Here a first question: When I set up a lightning channel with a node, have I need to put ...
0
votes
0answers
30 views

“state channel” v.s “micro-payment channel” : are they the same?

We use "micro-payment channels" such as "Bitcoin Lightning Network" or "Duplex Micro-Payment Channels" for saving transaction fee, accelerating payments, supporting better micro-payment and scaling ...
3
votes
1answer
34 views

How to migrate lightning nodes?

I am wondering what steps to take to migrate a lighting node to a different server, keeping the pubkey/identity. The safest option is obviously to close the channels first. How is the identitiy pubkey ...
2
votes
0answers
41 views

How does channel factory act?

I am reading paper named "Scalable Funding of Bitcoin Micropayment Channel Networks". If Alice, Bob, and Charlie created a channel factory, I thought that only these three people can make a payment ...
0
votes
1answer
35 views

does Lightning Network can work and solve Bitcoin scalability problem? [closed]

from what i managed to understand(if i got it right), the lightning network is supposed to work by using "channels" which can be created by some users with some seller and also be used by anyone who ...
0
votes
0answers
72 views

How to know earning LN routing fees

I am using c-lightning version:v0.6-182-g1851ebb. Is there a way to know how much I have earned routing fees? I found that lnd has lncli feereport command that shows earned fees. Does c-lightning have ...
0
votes
1answer
34 views

How can I make Zap synchronize with the Bitcoin network?

I'm using the Mac operating system. I downloaded Lightning App and Zap from Github. The wallet can not be synchronized with the network, how can I synchronize it and can I do it without having to ...
0
votes
1answer
24 views

Lightning: Is it possible to send lightning BTC outside of a lightning state channel?

Let's say that I have a channel opened and I want to send some lightning BTC to someone who didn't ever used lightning, is it possible or will it be? Or will I need to open a channel first then send ...
1
vote
2answers
40 views

Can we avoid third party trust for mobile / desktop wallets with respect to lightning network channels?

Mobile and desktop wallets are nodes that are not connected 24/7 (when the application is closed, computer is powered off, etc...). The fact that they are not connected 24/7 creates mainly one ...
0
votes
1answer
49 views

What are the pitfalls of repurposing the nLocktime field for backward compatability in eltoo?

In the eltoo proposal for paymentchannel management with less overhead proposed by Christian Decker et al. the update transactions need to be ordered. In chapter 4.1.2 of the proposal it is described ...
2
votes
1answer
165 views

When opening a LN channel using LND, what does 'push-amt' do?

I set up Lightning node (LND) and wanted to receive a payment. Autopilot for managing the channels always creates channels w/ zero remote balance, thus nobody can route a payment to/through my node. ...
0
votes
1answer
62 views

c-lightning - CHANNELD_AWAITING_LOCKIN - Freeze

I have open 3 channels with a c-lightning node (with rompert.com and satoshis.place and HP). When I look for the funding_txid field on the blockchain the transactions are all confirms for more than ...
4
votes
1answer
98 views

How long can my lightning node be safely offline?

I am interested in setting up a full bitcoin and lightning node on my pi. I want to open a few channels and be well connected in the network. I intend to keep this machine on permanently, but may ...
2
votes
1answer
97 views

c-lightning & Lightweight nodes (no local bitcoind)

I am trying to take advantage of the new release of c-lightning 0.6 that provide the ability to setup a lightweight node (i.e. No Local bitcoind instance running). But did not found any documentation ...
2
votes
1answer
41 views

What is the input and output script of the funding transaction?

I'm looking for what the state block look like on the blockchain to set a channel on the lightning network. I found everywhere that the input script is a multisig script (since the two people that set ...
3
votes
1answer
58 views

Lightning Network node without opened channels

If I have a LN node without open channels, does that improve the robustness of the network? I have a BTC and LN node running 24/7 on a Raspberry Pi 3, and no BTC at the moment to open a channel.
0
votes
0answers
23 views

Lightning Network: why should the receiver send an equal payment to the sender with the same hash?

From the whitepaper, page 46, chapter 8.3 "Clearing Failure and Rerouting": If a transaction fails to reach its final destination, the receiver should send an equal payment to the sender with the ...
1
vote
0answers
25 views

Lightning Network: are all keys pre-generated in the base row of the merkle tree?

From the whitepaper, page 41: Keys are generated in a merkle tree and are very deep within the tree. For instance, Alice pre-generates one million keys, each key being a child of the previous ...
0
votes
0answers
35 views

SIgnature calculation in Bolt 3

Attempting to verify the local signature in Bolt 3 of Lightning Network RFC. (https://github.com/lightningnetwork/lightning-rfc/blob/5c11b6a4022b75fc7717133081eab6f34d7d56a6/03-transactions.md) The ...
1
vote
1answer
88 views

C-Lightning update 0.6 doc

How do you update safely to 0.6 the working C-Lightning node?
0
votes
0answers
15 views

Does fees on Lightning network scale with transaction size? [duplicate]

I did some reading around and various sources claim that the fee is proportional to the amount you would like to route. One source says that the fees are a flat fee + a certain percentage of your ...
0
votes
1answer
61 views

Lightning Network's RSMC: what happens if there's no revocation transaction?

From the Lightning Network's whitepaper, page 19: If they do not broadcast their most recent version, they will be penalized by taking all the funds in the channel and giving it to the ...
0
votes
0answers
21 views

What is the impact of increasing maxpendingchannels?

How will increasing the value of maxpendingchannels impact my experience both as an end-user sending/receiving payments, and as a node operator? I currently have it set at 5, which I believe is the ...
4
votes
1answer
53 views

Lightning incentive for micro-cheating?

New to Lightning, and I'm having a hard time understanding something about the incentive system. So, if block sizes remain fixed, and transaction fees become prohibitively expensive one day, owing to ...
2
votes
1answer
120 views

Lightning Payment failed (Could not find a route)

I tried to move funds between my two nodes. From A to B. 'A' node is 035ac00f3bfe7fd991ec7cd9b5fcad0bdaa338c343895e56f4ada7df181bc43622@46.101.114.3:9735 'B' node is ...
1
vote
1answer
106 views

Receiving payment in Lightning Network is a big problem?

There are some requirements to receive Lightning funds. According to here, Nothing can be received immediately after creating a new payment channel, as ‘room’ for incoming funds has to be made by ...
1
vote
1answer
38 views

How does lightning network find paths with sufficient liquidity?

According to this article article, all hops along the route must have sufficient liquidity to process any payment they wish to service. However, in LN, new commitments may not to be broadcast to the ...
3
votes
1answer
99 views

Basic questions about lightning network HTLC

I'm reading about lightning and I have a few questions: The HTLC contract seems to be different at each new path payment channel is opened (due to a different Hash value that needs to be provided), ...
2
votes
1answer
50 views

Obtaining Lightning network graph data

I was wondering if it is possible for me to obtain data about the Lightning network mainnet, particularly the nodes and the edges (channels) in the network. I know that the graph is visualized in ...
0
votes
0answers
31 views
1
vote
2answers
73 views

lightning network funding transaction clearification

Im trying to understand the funding transaction for a channel on the lightning network. I am wondering how the input looks like to the funding transaction. Does it require In_{Alice}(tx_{id}, tx_{...
2
votes
0answers
72 views

Post SegWit Inclusion, how long until Lightning Network is included in the core?

Introduction - Reason for asking this question With most of the money in the cryptocurrency domain still being utilized in transactions on crypto-exchanges and the numerous hacks that have previously ...