Questions tagged [lightning-network]

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

49 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
56 views

How to emulate SIGHASH_NOINPUT using CHECKSIGFROMSTACKVERIFY?

I read on bitcoin-dev that CHECKSIGFROMSTACKVERIFY (CHECKDATASIG in BCash) can be used to emulate new sighash flags. How would that work, concretely? As an example, please provide an example update ...
5
votes
0answers
98 views

Why did the lightning network implement a gossip protocol?

As pointed out by many lightning developers in the past (e.g. Rusty's 1 million channel challenge) the gossip protocol is quite noisy and a part of the BOLTs causing many engineering challenges. ...
2
votes
0answers
33 views

What are the pros/cons of preferring sending the latest commitment or the oldest commitment?

Roasbeef mentioned on IRC that the Lightning specification allows a client to either assume that the latest co-signed commitment has been received by the counterparty, or that it hasn't. (as far as I ...
2
votes
1answer
69 views

Accepting micropayment donations via Lightning Network - what is the most efficient / recommended architecture?

The difficulty that I am experiencing at the moment - how to accept Lightning Network micropayments donations supporting (shameless plug): https://genesis.re/wiki#Plan_B Zap / Joule: I send on-chain ...
2
votes
1answer
70 views

How to make a homomorphic preimage/payment hash with current lightning network / Bitcoin implementations?

If I remember / understand it correctly by using the mechanisms from the scriptless scripts paper we could easily create homomorphic preimages / paymenthashes. I think this would be a very desirable ...
2
votes
1answer
78 views

LND errors after upgraded to v0.5.2

Recently upgraded to the latest lnd version (following the stadicus guide) but once i restarted the client i keep getting this error when i check the logs: [ERR] LNWL: Failed to process consensus ...
2
votes
0answers
97 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
1answer
129 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 ...
2
votes
1answer
121 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 ...
2
votes
0answers
69 views

How would Bitcoin look like if the primary design goal was to have LN-like payments?

Today (assuming SW), we have Bitcoin, which allows us to build LN using a set of smart constructs such as HTLCs. But this is a result of a work of people trying to figure out how to take what Bitcoin ...
1
vote
0answers
31 views

Error pay invoice. Ran out of routes to try after 2 attempts: see paystatus

I wanted to send some satoshis on testnet lightning network but I got "Ran out of routes to try after 2 attempts: see paystatus" error. I have a channel with 02...48 (1ML.com node ALPHA) and created ...
1
vote
1answer
49 views

Why is it necessary for Multi-Path Payments in Lightning to be Atomic?

One way of achieving multi-path payments in lightning is by having the sender use the hash sent by the receiver to send multiple payments along different paths. The mailing list entry proposing atomic ...
1
vote
1answer
67 views

How does 1ML measure the availability ranking of nodes?

If there is an 1ML Node Rank ranking explanation anywhere ? My node is online 99.9% but "Availability" dropped down from 700 to 4000 in last 3 months. :( I guess this is somehow associated with the ...
1
vote
1answer
199 views

Is it possible to run two Lightning Network nodes on top of single Bitcoin Core node?

I would like to simultaneously run LND and Eclair nodes on top of single Bitcoin Core bitcoind node. Is it possible? I wasn't been able to pull it off so far. If possible, how to set up ZMQ and ...
1
vote
1answer
61 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: ...
1
vote
1answer
80 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 ...
1
vote
0answers
32 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 ...
1
vote
2answers
343 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_{...
1
vote
0answers
75 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 ...
1
vote
1answer
192 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?
1
vote
2answers
136 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 ...
0
votes
1answer
31 views

RPC for LND: rpc_pb2_grpc vs lnd_grpc

I'm trying to automate launching multiple LND instances with a Python script. I've been trying to use lnd_grpc but can't get it to work. I created an issue in the LND repository and was pointed ...
0
votes
1answer
40 views

I've been reading about “loop in” and it seems to be like a one-way offline channel, is that correct?

Am I oversimplifying? I feel like I must be missing some details. Can I use my Trezor to sign loop in transactions in theory?
0
votes
0answers
34 views

Cannot get feereport due to error “[lncli] rpc error: code = Unknown desc = no policy for outgoing channel”

Lots of my lnd command got stucked with error message like: [lncli] rpc error: code = Unknown desc = no policy for outgoing channel 591836322924134401 I have checked the channel id appeared in 1ml ...
0
votes
1answer
55 views

How to backup seed in lightning and give your channel to watchtower

this is followup on question #85475: I have learned in previous question that there is an automatic refund mechanism in case of force closure of a channel, except for some very rare circumstances. I ...
0
votes
0answers
206 views

How to perform CPU mining on bitcoin TESTNET on Linux?

I need approximately 100 Bitcoin Testnet to run an experiment on the lightning network. Any suggestion on how to run CPU mining? Should I use cgminer? Make any sense to perform solo mining on ...
0
votes
0answers
47 views

lnd - “unable to create server: no active channels exist” after successful lncli unlock

I'm setting up a Lightning node using bitcoind and lnd and this guide: How to Install and Use the Lightning Network with bitcoind on the Bitcoin Mainnet It's been an interesting couple of days, but ...
0
votes
1answer
16 views

What is a stub from the lightning grpc documentation?

For example, very often in the lightning documentation for their grpc api, you will see the following boilerplate python code: >>> import codecs, grpc, os >>> import rpc_pb2 as ln, ...
0
votes
1answer
38 views

how do i get my @host for LN

I cannot find where to get the host to complete a lightning channel. I have tried searching in the command prompt but cannot find host info anywhere.
0
votes
1answer
93 views

Remote SSH connection to Raspibolt Lightning Network Node

I am trying to establish a remote SSH session using Putty into the Raspberry Pi running my Lightning Network node without success (connecting from the local network works fine). The related port of ...
0
votes
2answers
67 views

How could LN mitigate NAT transversal problem?

As we all know, IPv4 address space is already exhausted, many ISPs have deployed carrier grade NAT (CGN). So how could an LN node living behind NAT deal with NAT transversal problem? How could two ...
0
votes
2answers
58 views

where can i do a testnet Lightning Network Reverse Submarine Swap?

i have Testnet LN Node, i have created a wallet, i have send on-chain funds to that wallet i have connected to several peers i have created several channels, all of these are outgoing one side funded ...
0
votes
0answers
37 views

LND not showing URI

LND seems to be running ok, i opened several channels and paid for a couple of things already, first couple of days i could see all the info regarding my node but since yesterday my uri just ...
0
votes
0answers
71 views

how connecting lnd to btcpayserver

status: lnd on raspberry pi / daily changing ip-address / btcpayserver on vps problem: i want to connect my lnd-node to my btcpayserver. i have to put my url with https in the required field, so i ...
0
votes
1answer
117 views

Ownership of private keys in the Lightning Network

My question refers to the technical side: who is holding the private keys if a third party is using my lightning node to participate in the Lightning Network payment channel ? Thank you
0
votes
2answers
86 views

How to check version number of lnd?

New lnd version came out recently, but I'm not sure which version I'm running. How can you check?
0
votes
1answer
53 views

Need help with a .conf file to run a lighting node?

This is my configuration file and i followed all of the instructions for the program but it always gives me the error message about something missing. I don't even know what programming language .conf ...
0
votes
1answer
298 views

unable to route payment to destination: TemporaryChannelFailure

Keep getting this error following attempting to pay an invoice. root@ubuntu-s-1vcpu-2gb-nyc3-01:~# lncli --network=testnet payinvoice ...
0
votes
1answer
27 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)?
0
votes
1answer
51 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 ...
0
votes
1answer
130 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 ...
0
votes
1answer
274 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 ...
0
votes
1answer
65 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
139 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 ...
0
votes
1answer
319 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'] ...
0
votes
0answers
85 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 ...
0
votes
2answers
136 views

Blockchain Recent Scaling Proposals : (Sharding, blocksize , SegWit, GHOST, Lightning, multichains, sidechains, DAGs)

What are some recent scaling proposals worth note? (Continually Updated)
-1
votes
1answer
41 views

Limitation for minimum output size? AND a fixed per-transaction fee for payments in Bitcoin?

In the following article by http://lightning.network/ entitled: "The Bitcoin Lightning Network Summary", (Link to the article) is mentioned: "Lightning enables one to send funds down to 0.00000001 ...
-1
votes
1answer
768 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 "...