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.

3
votes
1answer
121 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
41 views

Can anyone help me broadcast my IP ln the lightning explorer testnet

I have my lightning node set up but I my IP isn't broadcasting
1
vote
2answers
195 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
84 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 ...
2
votes
0answers
51 views

How to implement Lightning Network in to a cryptocurrency exchange

A highly potent use-case for the lightning network are the millions of transactions that occur on a daily basis. There's still a good chance of data breach and hacks due to centralization. The ...
0
votes
1answer
48 views

docker container ip setting

How to setting docker container ip? root@instance-1:~# lightning-cli getinfo { "id": "0230c8826852e2a39883f36233483419e9c139b644c696b8dbcca38fef7303ee95", "port": 9735, "address": [ ], "...
0
votes
0answers
81 views

My IP address is showing 0.0.0.0 on Lightning Network Explorer Testnet, can someone assist me with this issue?

I set up my lightning node on a raspberry pi using the raspibolt instructions on medium, after buy from starblocks and waiting a few weeks I see this on Lighting Explorer can anyone point me in the ...
0
votes
0answers
182 views

lightning-rpc': Connection refused

I am setup my lightning network on ubuntu by using instructions below: https://docs.google.com/document/d/195oDM7wG-Kkx073R1B6GhiqsMIwAxNx9BEA3Fsfpnw0/edit?usp=sharing I have a trouble in step 18, ...
5
votes
1answer
979 views

How does lnd's autopilot feature work?

Autopilot automatically connects to peers in order to establish a p2p network. I didn't find however a complete explanation of its motivation and logic.
1
vote
1answer
123 views

Can you use the same seed for normal BTC and Lightning wallets?

If I generated 24 words from a Ledger Nano, can I import these to a lightning network wallet e.g. Eclair?
3
votes
1answer
88 views

What is 'birthday' in the context of BIP39 / Lightning seed generation?

In this talk about Lightning Network, roasbeef speaks about BIP39 as having no support for 'birthdays'. What does that mean? https://www.youtube.com/watch?v=LXY0L8eeG3k minute 22
1
vote
1answer
57 views

Is Lightning network really a hope for better scalability and low latency?

BTC can't do transaction in 1/4000 times to what VISA does and then still claims that it will disrupt industry. The proof of work has limitations to scalability and in no way it can record transaction ...
2
votes
1answer
231 views

Lightning close-channel transaction example?

From this article, I can understand that a punishment-based bidirectional payment channel (the type used by Lightning) would contain roughly this bitcoin script as one of the outputs: OP_IF “+7 days” ...
1
vote
1answer
233 views

ZeroMQ support in Bitcoin Core 0.16.0 out-of-the-box?

In my previous question, I'm wondering why Lightning Networks lnd cannot talk to my Bitcoin Core bitcoind backend. The docs for lnd says it requires ZeroMQ compiled into bitcoind. Does the binary ...
0
votes
1answer
373 views

lightning node daemon hangs at “waiting for chain backend to finish sync, start_height=521042”

I'm using Lightning Networks' lnd 0.4.1-beta node in Windows, with a Bitcoin Core bitcoind full node backend. The bitcoind full node has the --txindex option, and is fully synced according to ...
2
votes
2answers
179 views

What is Bitcoin's “genesis hash”?

From Lightning Network documentation: Used in several of the BOLT documents to denote the genesis hash of a target blockchain. This allows nodes to create and reference channels on several ...
0
votes
1answer
209 views

Funding channels In Lightning Network

I was attempting to learn more about LN and came across the post below. https://medium.com/tokensoft/tokensoft-lightning-node-how-to-connect-for-free-62b9aaec18b8 I also made a picture of my ...
1
vote
1answer
72 views

Unable to remotely access lightning-charge

My setup is a little bit complicated and I'm almost sure that my problem is port related. So I'm running Mac OS X 10.13.4 with Parallels Desktop with a Ubuntu 14.04 VM. I managed to setup bitcoin ...
1
vote
1answer
227 views

Programming API for Lightning Network

I am trying to learn how to work with Bitcoin and the Lightning Network from a programming perspective. I saw that bitcoin-core was using: https://bitcoin.org/en/developer-reference#bitcoin-core-apis ...
2
votes
1answer
96 views

Extract lightning network funding transactions with python bitcoin blockchain parser lib

My ultimate goal is to parse funding transactions (as well as channel closes in a later step) from the blockchain. In order to do so I wanted to start with a funding transaction and disect it. ...
2
votes
1answer
259 views

In-channel messages via Lightning network

Is it possible to send messages to a receiver address via lightning channels. For example Alice send 25000 Satoshi to Bob with the message 'thank you for the coffee'. I'm trying to find information ...
4
votes
1answer
387 views

Qualities of “Pay to Nested Witness Key Hash”

The lightning dev tutorial mentions the np2wkh or Pay to Nested Witness Key Hash address type, and I would like to find out more about it, so far without success. Can anybody explain how they are ...
0
votes
2answers
268 views

Is it possible to / should one use a Lightning Network client?

When looking at all of the examples with the Lightning Network, they involve "Alice" and "Bob". Alice is usually sending some kind of payment to Bob (or vice-versa). The thing is, "Alice" and "Bob" ...
0
votes
1answer
58 views

Can I open many channels to one connection?

Trying to learn the Lightning Network :) Can I do something like this: STEP 1: Generate new addresses address_1 = cli/lightning-cli newaddr address_2 = cli/lightning-cli newaddr address_3 = cli/...
0
votes
1answer
106 views

Using Docker version of Lightning Network daemon to gain understanding

In trying to understand the Lightning Network further. To do so, I was looking at the link below (it shows how it is being used with Docker): https://hub.docker.com/r/cdecker/lightning-ci/ Based on ...
0
votes
1answer
166 views

Asymmetric revocable commitment's revocation key

I am reading 'Mastering Bitcoin' to study for bitcoin and blockchain. At page 295-296, Author described that two parties should exchange their revocation key before signing new commitment transaction ...
0
votes
1answer
116 views

How does one manage the shifts of Channel Balances in the Lightning Network

I saw the video below that shows the possibility of a shift in Channel Balances. It shows that the amount that one uses to fund a channel may "disappear" if the channel is used as part of a route to ...
0
votes
1answer
479 views

RPC call to lnd

I wanto to send a simple "getinfo" request to lnd using golang. I currently have package main import ( "fmt" "log" "net/rpc" ) func main() { client, err := rpc.Dial("tcp", "...
0
votes
1answer
390 views

Eclair Lightning network node is not public

I'm using Eclair and have a conf file with content: eclair.chain=testnet eclair.node-alias=mynodename eclair.node-color=ff0000 eclair.api.enabled=true eclair.server.public-ips=["<ip one>","<...
1
vote
1answer
211 views

How many channels can I create from a Lightning Node?

I am new to the Lightning Network / Bitcoin and am trying to get an understanding as to how it functions. Basically, suppose I have a Lightning Node (created with "lightningd"). It is my ...
1
vote
1answer
278 views

Do you have to be a node to use the Lightning Network

I am new to the use of the Lightning Network and had a question. To run a bitcoin node, one would need to start btcd. What would one need to run for a Lightning Node? One can specify the port a ...
1
vote
1answer
108 views

How can I connect to the Lightning Network on Litecoin's testnet?

I installed the software but cannot find any nodes to connect to on testnet. There is a website with mainnet nodes but not testnet. Does anyone know where I can find some testnet nodes?
-1
votes
3answers
127 views

Where can I find a step by step guide to become a node, and use the lightning network?

I am looking for information about how to run a node on the Lightning Network and start using it? Is there a step-by-step guide available somewhere?
0
votes
0answers
21 views

What are the fees on the lightning network? [duplicate]

If the lightning network is a off chain layer 2 setup. The only fee you pay initially is sending it to a lightning network channel. But are there any fees when your on the lightning network? How is ...
1
vote
1answer
42 views

Is there a way to link a bitcoin user's transaction to entering a lightning network channel?

Since lightning channels are offchain. When you send bitcoins to a lightning network node or wallet. Is there a way for companies like chainalysis to see if your on the lightning network? And then ...
1
vote
1answer
381 views

Is there a compiled list of merchants that are taking lightning network payments for testing?

How many merchants are adopting lightning network payments? And is there a list somewhere?
2
votes
2answers
205 views

If lightning network transactions are “off chain”, can we still see the transaction history then?

If the lightning network is a off chain system. Are the transactions private or public? And does that mean once you send bitcoin to a lightning network address, it can possible get hidden in a payment ...
3
votes
1answer
854 views

What is the address format of a lightning network address?

Are lightning network addresses the same as bitcoin addresses or are they completely different?
0
votes
1answer
938 views

How do I set up a Lightning Node on Mainnet using windows?

I want to set up a lightning node on windows. I have found lightning-app which seems to work only on testnet. help me finding a good guide to set up a lightning node on windows. the reason I am ...
1
vote
1answer
45 views

Where is the lightning history persisted?

In relation to this question: Alice & Bob where they transfer 1 BTC each other. Both Alice & Bob transfer 1 BTC into a shared multisig address. A ‘balance sheet’ is created where 1 BTC is ...
0
votes
2answers
76 views

Do you have to have bitcoin core fully downloaded (150gb+) in order to run a lightning node?

Looking to setup a lightning node, but what are the EXACT requirements? Do you have to install bitcoin core and fully have the blockchain downloaded of 150gb+?
1
vote
1answer
199 views

How does LN solve the liquidity problem?

How do nodes in LN manage to provide 100% collateral to all the outgoing channels? I attached an example below that details my confusion about the lack of liquidity.
0
votes
1answer
54 views

How net earners got their incomming channels?

Lighting looks good for net spenders: download node/wallet lock your funds by openning channel to some hub spend until has something in channel close it All costs like channel fees and locked ...
0
votes
1answer
153 views

Lightning networks revocable commitments: unilaterally closing could cause funds lost forever?

If I understands correctly, A and B will exchange their revocation key once they are ready to move to the next state. What happens if B received the revocation key and decided to close the channel ...
0
votes
0answers
61 views

Lightning transaction revocation: what if one disappears after receiving the revocation key

In Asymmetric Revocable Commitments, what if B disappears after receiving A's revocation key, will this prevent A from getting his money back? Let's simulate it step by step (please correct me if my ...
2
votes
1answer
105 views

Lightning network hub security?

Reading the whitepaper, I came across a point: nodes wishing to act as effective intermediaries, 'hubs' or not, need high availability and need to operate autonomously. This means they must have ...
4
votes
3answers
809 views

Is there incentive for those who run lightning nodes?

This is likely very much a noob question, but I would like to know if there are fees or incentives for those who are running a lightning node? Of course, other than having access to lightning network?
1
vote
0answers
47 views

what happens if one node goes down in lightning network multihop payments? [duplicate]

In a scenario where we have the following lightning payment channels: Alice <-> Bob <-> Carol <-> Dave Alice wants to pay Dave. Dave generates a payment request by selecting a random R and ...
0
votes
0answers
34 views

Lightning payment channels protection against broadcasting old state transactions

As reading here: "Alice can thus revoke her claim to the money in some state by giving Bob the secret to the closing transaction. This allows Bob to take all of Alice’s money, but only if Alice attest ...
0
votes
1answer
116 views

Lightning Network transaction, how many transactions will be created

A simple Lightning Network transaction, how many transactions will be created on the main bitcoin chain? I guess is three transactions. Example: Alice create 2-to-2 multi-sig address AC Alice put ...