Proposed payment system leveraging payment channels which allow re-negotiation of balances that finally get executed on the Bitcoin blockchain.
Questions tagged [lightning-network]
14 questions
4
votes
2 answers
Lightning secret generation from seed
I am trying to implement the function in the following section: Per-commitment Secret Requirements.
generate_from_seed(seed, I):
P = seed
for B in 47 down to 0:
if B set in I:
flip(B) in P
P = SHA256(P)
…

Janus Troelsen
- 20,267
- 14
- 135
- 196
2
votes
0 answers
gRPC connection error "CaUsedAsEndEntity" using Rust Tonic
I've been having some problem connecting to an LND node running on Polar.
I keep constantly getting this error:
tonic::transport::Error(Transport, hyper::Error(Connect, Custom { kind: InvalidData, error: InvalidCertificate(Other(CaUsedAsEndEntity))…

lescuer
- 63
- 1
- 4
0
votes
1 answer
BlueWallet: How to find channels infos
I setup a LN wallet with BlueWallet. Then I use a faucet (https://lightningnetworkstores.com/faucet) to get 6 SAT.
In BlueWallet I can see I'm connected to lndhub.io
My question: Where are the channel's infos ?
To open a channel, there must be a tx…

jfjobidon
- 327
- 5
- 18
0
votes
1 answer
ln-service (npm-package) [ 400, 'ExpectedLndToCreateNewInvoice' ]
I'm using ln-service package and I'm connected to a local instance of lnd node (created with polar). I'm using plain js.
import lnservice from 'ln-service';
let lndz = lnservice.authenticatedLndGrpc({
cert: tls,
macaroon: adminMacaroon,
…

sander
- 1,426
- 4
- 19
- 46
0
votes
1 answer
How to collect donations within lightning network?
Weeks ago, I have set up my own ln node (Umbrel). Now I try to use the lightning network for receiving donations. Here start my questions.
How can I set up a donation address where donors can decide how much to donate?
(I have discovered "keysend"…

NewbieXXL
- 155
- 1
- 1
- 11
0
votes
1 answer
/bin/sh: 1: go: not found , but `go` is clearly in the PATH variable
Been pulling out my hairs on this one, it must be so simple but for some reason I can't get it to work..
I'm using go1.15, on Ubuntu 18.04, trying to build lnd from source off of github.
I run sudo make install after all the preliminaries but keep…

jojeyh
- 276
- 1
- 3
- 12
0
votes
1 answer
How to implement the RSMC part of Lightning network?
The Lightning Network consists of two contracts, RSMC(revocable sequence maturity contract) and HTLC. Now I need to implement the RSMC part.
I understand the specific steps in the theory of the RSMC contract, but the implementation process…

Oiiiwk
- 31
- 5
0
votes
1 answer
Why is c-lightning working when launched manually, but fails to start via systemd?
I am trying to get a pruned c-lightning to launch on boot on a Raspberry Pi Zero W. It works when launched manually (which is great!) but not via systemd. I have tried many variations on the lightning.service file, but none of them have worked. It…

Anders
- 25
- 1
0
votes
1 answer
How to find all nodes and connections in LN?
I am looking for a way to find all the available connections and channels in the lightning network.
For example, if you go to www.1ml.com/testnet, you can see the number of nodes and number of connections. Somehow they achieve this information. How…

Bit111
- 11
- 1
0
votes
1 answer
How to create 3 of 3 multisig address in Bitcoin/Litecoin lightning network
Suppose we have 3 lightning nodes and a underlying bitcoin network, we need a way to create a 3 of 3 multisig address, where one node will send some satoshis to the multisig and the 2nd node will be able to withdraw the satoshis after some time lock…

annant vijay
- 21
- 5
-1
votes
1 answer
Connecting to LND Node through a local-running Django Rest API
I am trying to connect to my LND node running on AWS (I know it is not the best case scenario for an LND node but this time I had no other way of doing it) from my local running Django Rest Api. The issue is that it cannot find the admin.macaroon…

Pau1aAm7
- 36
- 8
-1
votes
1 answer
c-lightning public node data on explorers
I'm trying to set my first clightning node with docker-compose using image from https://hub.docker.com/r/elementsproject/lightningd. Currently, my node can connect and open channel with other nodes (and I can open a channel to the node just fine),…

nhubest
- 1
- 3
-1
votes
1 answer
HTLC implementation manually
Is there any way to implement HTLC manually for locking funds in the channels in lightning network and releasing the funds after the time lock expired.

prajna
- 29
- 1
- 9
-2
votes
2 answers
lightning network, identity cahnnel
I want to make a service that allows to bind private user's channels to a user's account.
The user opens a private channel with my node. But I don't know which user exactly.
To identify the channel, I plan to ask the BOLT11 request from user, with a…

Petr Stukalov
- 9
- 4