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
117 views

Sweeping funds from addresses generated by Extended Private Key (BIP39)

I have a site that is trying to process micropayments. It uses a mnemonic / extended private key generated here to generate a new Bitcoin address for every payment. Everything works fine except I'm ...
0
votes
1answer
73 views

BIP Difference between final and active

What is the difference in the Bitcoins Improvements Proposals between the final status and the active status? According to the wiki An Proposed BIP may progress to Final only when specific ...
3
votes
1answer
49 views

Lightning Network on the main chain question

Does opening a channel mean that a 2-to-2 multisig address (3xxxx) is created? And then both parties put money into the address? What if someone pays money to the address on main chain while the ...
0
votes
0answers
85 views

Multisig wallet spending in LN

I'm not clear on multisig wallets spending and how it is used in LN. So I understand this: LN is gonna use 2-2 multisig implementation of wallets to store funds from both merchant and customer and ...
3
votes
1answer
70 views

What's the sense of how lightning network is performing? [closed]

I realize that we are still very early in the deployment of Lightning network, but is there a sense of how things have been performing thus far? Is this the solution which BTC has been waiting for? I'...
1
vote
2answers
85 views

Lightning: How would I make a monthly payment to a utility company, etc

I see a number of deep theory questions and highly detailed answers for questions about fraud, opening channels, etc. What I cannot find is a simple explanation of how one would go about doing ...
0
votes
1answer
36 views

Lightning - a lost transaction

I would like to understand if there is a way to loose a transaction received over the payment channel. What is a mechanism for keeping track of all the transactions occurred in a channel?
0
votes
1answer
39 views

Woo Commerce pubKey+publicIP (URI)?

I have integrated my bitcoin lightning network node with the Woo Commerce plugin available on the " https://github.com/ElementsProject/woocommerce-gateway-lightning" . But facing trouble to get ...
0
votes
1answer
212 views

How does the lightning network solve double spending?

This is probably obvious to some of you on here, but I'm a beginner. I recently read the lightning network whitepaper and its very unclear to me how the lightning network addresses the double spend ...
0
votes
1answer
240 views

Mapping the Bitcoin Lightning Network: Why not use the Blockchain?

Researching about the available routing algorithms for the Bitcoin Lightning Network, I have been reading the Flare whitepaper, and this idea/question came to mind: Since all payment channels are ...
2
votes
1answer
37 views

Any data immediately written to the blockchain when opening a lightning channel?

When opening a lightning channel, is there any data immediately written to the blockchain? I mean, the channel is not considered opened until the data is on the blockchain. The data may be the funding ...
0
votes
1answer
95 views

Lightning network avoiding bad channels

Lets say I open a lightning network channel and the other party goes offline. Lets say I haven't actually used the channel yet. What if I want my bitcoin back from that channel so I can use it. I ...
4
votes
1answer
128 views

How the disposable private keys are being shared in Lightning Network?

From the Lightning Network paper: ... once an updated commitment transaction is agreed upon, the previous commitment transaction pair is revoked by sharing the private keys needed to redeem those ...
0
votes
1answer
98 views

Problem of crashing command on “lightningd/lightningd --network=testnet --log-level=debug”

When I try running the "lightningd/lightningd --network=testnet --log-level=debug" after sucessfully starting the Bitcoin server using the "bitcoind -daemon -testnet" ,following issue occurs: ...
0
votes
1answer
100 views

Lightning Network: what if one broadcast an old transaction?

I understand that after a channel is created, A and B need to agree and sign to create a new transaction. The new transaction overrides the previous transaction. A or B could quit the channel by ...
0
votes
0answers
408 views

problem with “Connecting to 'lightning-rpc': Connection refused”

I am getting error in doing transaction functionalities . My error goes like this: ~/lightning$ cli/lightning-cli newaddr lightning-cli: Connecting to 'lightning-rpc': Connection refused I have ...
3
votes
2answers
176 views

Lightning Network can work, live independently from Bitcoin?

Is Lightning Network Protocol capable serve micro payment services without broadcast any transaction to blockchain?
2
votes
1answer
94 views

C-lightning lightningd crashing

To run a lightning node I followed the instructions here: https://medium.com/@dougvk/run-your-own-mainnet-lightning-node-2d2eab628a8b except that I downloaded and installed bitcoind and lightningd ...
1
vote
1answer
433 views

How to receive funds in LN

http://lightning-wallet.com/using-lightning-wallet#receiving-lightning-funds This link states that: Nothing can be received once a fresh channel is created since a room for incoming funds should ...
8
votes
1answer
709 views

Lightning Route Discovery - How to know capacity in each direction?

So i have a question how routing works in the LN. I read partly through the RFC described in https://github.com/lightningnetwork/lightning-rfc but I have still this open question. I know every node ...
2
votes
1answer
468 views

Bitcoin Full Node + Lightning running on single-board-computer, possible?

I know similar questions (regarding a Bitcoin Full Node) were already asked here, but they date all back to 2014 and I think especially the space needed by the blockchain changed a lot since then. I ...
0
votes
1answer
78 views

BTC Lightning Network

Can someone please give me some insight as to when LN will be fully operational on the bitcoin network. Additionally, as outlined in the 2008 Nakamoto whitepaper, the solution to the double-spend ...
0
votes
2answers
313 views

What is the size of different types of channel funding/closing transactions for the Lightning Network?

This matters a lot for people who want to host a Lightning Network node and will influence LN-transaction fees, because a node-host has to justify the miner fees of setting up channels for others with ...
-1
votes
1answer
672 views

How to give IP to my node on the Bitcoin Lightning Network

I want to give Ip address to my new node . I have got the pubkey for my node , on the lightning.exe application ,but could not set IP address to my node so that it can be seen publicly on the site "...
2
votes
1answer
367 views

How to set up a node on Testnet of Lightning network on the world map

I am currently having problems posting my node on the "World Map." I can see my node on the "Force Map" on this site. Can anyone tell me how to enter the public IP so that it can be seen on the "World ...
1
vote
1answer
51 views

Is the statement that LN hot wallets will be less secure than non LN hot wallets correct?

I say this because of the following reasoning: Lightning network wallets will have to completely possess my private key, whereas non-LN hot wallets will most of the time only have my key encrypted (I ...
0
votes
1answer
76 views

Will Lightning be implemented on Bitcoin network?

Lightning cannot currently operate with pruned nodes. I presume without limitation the same applies to SPV nodes. Will Lightning be implemented on the Bitcoin network?
6
votes
1answer
2k views

What is a millisatoshi? I thought satoshi is the smallest unit?

I encountered 'millisatoshi' (msat) while browsing Lightning Network..., see screenshoot below: And subsequently I found it mentioned here: https://github.com/ElementsProject/lightning/blob/master/...
0
votes
1answer
216 views

LND describegraph and getnetworkinfo RPC response

The LND API documentation is here, but doesn't contain much information about what the responses to various calls mean. Can anyone explain what these responses are describing? describegraph['edges'] ...
2
votes
1answer
1k views

My lightning node URI is not visible

I did set up a mainnet c-lightning node by following the guide. https://medium.com/@dougvk/run-your-own-mainnet-lightning-node-2d2eab628a8b I noticed my node is visible on https://lnmainnet.gaben.win/...
3
votes
1answer
81 views

What differences exist between the Lightning Network implementation versus the white paper?

I'm reading the Lightning Network WP and came across SIGHASH_NOINPUT, then came across this: Lightning network: how was malleability actually fixed? Are there any other design considerations in the ...
4
votes
2answers
341 views

Why was transaction malleability fix required for Lightning network?

Transaction malleability is that TXID can be changed modifying the signature slightly without the private key. To implement Lightning Network, it was required to fix the malleability. However, I ...
1
vote
1answer
140 views

Lightning Network Unidirectional Transaction

In Lightning Network is it possible to setup a channel to make payment in on direction only. For example Bob is buying Donut from Alice every day. So Bob put in 0.001 BTC into the channel and pay ...
4
votes
1answer
380 views

Who pays the miner fees for the closing transaction of a payment channel?

For single-funded channels, I understand the miner fee for the the transaction that is opening the channel is paid by the actual party wanting to make a payment. However it's unclear who will ...
4
votes
3answers
2k views

How does the lightning network affect miners?

Not a miner here, just wondering what other changes might be coming to the space. With Lightning fees are really low, how do miners manage this? Does this have a simple answer or is any resource I ...
3
votes
2answers
122 views

Payment channels with dynamic signatures

Talking about single-funded payment channels, the idea is quite simple: Alice puts 10 btc into a multi-sig signed with Bob, and then they each update the state accordingly to send money to each-other ...
4
votes
1answer
430 views

Opening Lightning network channel: who is paying?

When opening a lightning network channel between two parties, which of the following is true: 1) They must both pay a fee to open the channel 2) They might both pay a fee to open the channel 3) ...
0
votes
0answers
75 views

Lightning Network understanding

Is the below scenario is how transaction are carried out in lightning network? Is this a proper understanding? Alice & Bob where they transfer 1 BTC each other.  1. Both Alice & Bob transfer ...
7
votes
3answers
3k views

How are fees determined in the Lightning Network?

How are fees determined in the Lightning Network? For transactions that occur on chain, fees are determined by the availability or demand for space in node's mempools. How are they determined in the ...
3
votes
4answers
1k views

Lightning mainnet peer list?

I just set up c-lightning on mainnet and I'd like to open a channel but I can't find a list of node ids and ip addresses. Does anyone know where I can find this?
3
votes
2answers
349 views

Need a cold wallet. Segwit, Lightning, Fees?

I have all my coins on exchanges. I'd like to keep some in cold storage. I know I can create one at walletgenerator.net. But I'm scared because I think there might be a better way or it may not be ...
1
vote
1answer
454 views

Will the lightning network reduce BTC Liquidity due to “locking-up” funds in channels?

How will people be able to buy and sell their BTC if all of it is locked inside Lightning channels?
2
votes
4answers
400 views

Can the Lightning Network work on any other cryptocurrency?

I believe Lightning can be used with other cryptos such as LTC, what needs to be implemented to make it compatible with other cryptos? How difficult is it to implement on those other cryptos if they ...
0
votes
1answer
454 views

How does the Lightning Network stop flooding nodes (DDoS) with micro transactions? Is this even an issue?

I'm creating a "Megathread" regarding the Lightning Network and have been fielding questions. To help obtain the correct answers with sources, I'm reaching out to the Bitcoin StackExchange. Thank you ...
0
votes
1answer
240 views

Is it possible to design a hardware wallet that can allow operation of a routing Lightning node with the security level of a hardware wallet?

I'm wondering if its possible to design a hardware wallet such that it can be used for a Lightning node that routes payments for their channel partners such that their funds can never be stolen even ...
1
vote
1answer
115 views

How can you make sure that there will be routes with large enough balances to handle transactions?

I'm creating a "Megathread" regarding the Lightning Network and have been fielding questions. To help obtain the correct answers with sources, I'm reaching out to the Bitcoin StackExchange. I was ...
3
votes
3answers
529 views

Will Lightning Network still require a confirmation from the network?

I have studies the Lightning Network, and although I understand the concept, I have not understood the following: Let's assume that a network channel is opened between parties and all transactions ...
2
votes
1answer
399 views

Network of 3rd-parties to monitor for Lightning Network theft transactions

Whenever the balance of a Lightning channel is updated, the counterparties must revoke the Commitment Transaction reflecting the channel's earlier balance, and sign a new Commitment Transaction with ...
1
vote
1answer
55 views

How Lightning channels will helps with scaling in practice

I watched the 2015 presentation of LN, and I've read a portion of the paper - so I understand basically how the channels work (I think). However, I'm not sure I've fully grasped how this will help ...
38
votes
1answer
12k views

What are Channel Factories and how do they work?

One of the open research questions for Lightning Network is that it will take a massive amount of on-chain transactions to create enough payment channels for all the Lightning Network users. Lately, I'...