Questions tagged [c-lightning]

c-lightning is a standard compliant implementation of the Lightning Network protocol. The Lightning Network is a scalability solution for Bitcoin, enabling secure and instant transfer of funds between any two parties for any amount.

Filter by
Sorted by
Tagged with
1
vote
1answer
64 views

How to upgrade bitcoind in docker?

I am running the docker version for c-lightning 0.7 On a raspberry I need to clone the blockchain, but it needs version 0.17.1 Looking at the docker-compose.yml file I see: version: "3" services: ...
1
vote
1answer
61 views

How to get all potential routes in c-lightning?

I'm trying to write some services on top of c-lightning and I need to check if certain payments hit certain nodes. lightning-cli getroute nodeid amount riskfactor This gives me a randomly ...
1
vote
1answer
114 views

How to use remote bitcoind with docker

I want to use multiple nodes with the same remote bitcoind. E.g. my node on my desktop, my node on digital ocean, my node on Google cloud ... I don't want to run everywhere a full bitcoind and pay ...
1
vote
1answer
245 views

How to tell if Lightning nodes are lnd, c-lightning, eclair

I am performing some experiments on the Lightning Testnet Network. I would like to perform the experiment on the 3 main lightning implementations, for which I would like to be able to connect and open ...
1
vote
2answers
401 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 ...
1
vote
1answer
159 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 ...
1
vote
1answer
47 views

lightning node data visibility on explorers

I'm trying to set my first c-lightning 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 (...
1
vote
0answers
44 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
213 views

What are the issues of running lightning daemon with pruning node?

Most lightning implementations I came across don't officially support pruned full node. Why is pruned mode implementation a challenge? What risk am I taking when I run lnd with pruned bitcoind?
0
votes
1answer
50 views

How to securely update and verify C-Lightning release?

Recently, a new version (v0.7.3) of C-Lightning was released. The GitHub page has detailed instructions on how to build the software from source, but does not provide much details as to how to update ...
0
votes
1answer
167 views

c-lightning determine channel capacity

I'm using c-lightning to experiment with sending micropayments backwards and forwards between 2 separate nodes. One area I am experiencing great difficulty with is being able to generate an invoice ...
0
votes
1answer
30 views

Bidirectional channel opening in c-lightning

With the current version of c-lightning is it possible to open a bidirectional channel funded by both parties? I managed to open a channel with fundchannel command, but that seems to be a ...
0
votes
1answer
58 views

Total channel count differs from explorers

I have my own c-lightning node. listchannels returns 11,455 but explorers, e.g https://explore.casa/ show around 39,000. Do I need to set something to get all channel info? $ lightning-cli ...
0
votes
1answer
85 views

Please help me to understand lightning-cli getinfo more

I have now clightning running for a month. I watch very often lightning-cli getinfo Here I found in the first three weeks: "msatoshi_fees_collected": 0 A week ago it changed to "...
0
votes
2answers
45 views

How to debug lightning-cli invoice

I tried: lightning-cli invoice 100 invoice20190126 payme and nothing happens. How to debug?
0
votes
1answer
26 views

Doubt on lightning channel opening

It's 5 days since I opened my first (and unique, for now) lightning channel. Unfortunately it seems that only me have funded the channel while the counterparty didn't, so the channel it's actually a ...
0
votes
1answer
41 views

c-lightning - Unknown Peer

I'm trying to create a channel using c-lighting (testnet), but I keep getting an Unknown Peer error message. I used cli/lightning-cli connect which seemed to work fine. I used cli/lightning-cli ...
0
votes
2answers
81 views

Is it possible to connect remotely to a c-lightning node with an exposed TCP port?

If you run a c-lightning node with EXPOSE_TCP set to True, it seems to me it should be possible to connect with it remotely, provided that the c-lightning RCP is listening to all incoming traffic. (IP ...
0
votes
1answer
55 views

Question regarding LN node backups

I have LN node running on c-lightning. I am performing ~/.lightning dir backups time-to-time. Let's say after backup i open few new channels and withdraw rest of onchain funds to my electrum. Then i ...
0
votes
2answers
67 views

Sharing the lightning-rpc socket

I'm using user "lightning" to start the daemon, but would like to have user "bitcoin" to make the lightning-cli calls. How do I share the lightning-rpc file to do so? Thanks! Francois
0
votes
1answer
241 views

How to close stale lightning channels with c-lightning

I was running a lightning node using c-lightning about 9 months ago. Unfortunately the server was shutdown while a few channels were open. I have restarted the server and updated c-lightning to the ...
0
votes
1answer
42 views

clightning uses all my resources, … till I have to shutdown!

clightning runs for a while great. However, every second day the computer locks up, I use docker-compose for that: version: "3" services: bitcoind: image: nicolasdorier/docker-bitcoin:0.16.3 ...
0
votes
1answer
88 views

Lightning payment between two nodes

I'm struggling to work out how I can setup a channel between two lightning nodes so that I can send a single payment from one node to the other. I have set up two separate c-lightning nodes connected ...
0
votes
1answer
38 views

Check which C-Lightning version I am running?

Ive downloaded and unpacked the new version 0.6 but is there anyway I can check through CLI commands which version i'm running to ensure the update worked?
0
votes
0answers
33 views

c-lightning missing outputs

A few days ago I did a submarine swap in order to rebalance a channel of mine. I opted to be refunded on-chain using a brand-new address generated with c-lightning newaddr command. I used the p2sh ...
0
votes
2answers
109 views

“Cannot afford transaction”

version 0.7 clightning Listfunds shows me: 963692 satoshi available to fund channels 6280512 satoshi owned in channels 14832105 satoshi total channel capacity When I try to fund a channel with ...
0
votes
0answers
59 views

How to upgrade docker clightning

I tried to update clightning to the new version of 0.7 by docker-compose stop docker-compose rm clightning_bitcoin docker-compose up However, it is still version 0.63 Where do I set that it is ...
0
votes
0answers
27 views

Why channel closed automatically

I got this message: I tried looking in the logs. Just prior to the channel closing, seems like there was a temporary network issue and the re-establishment message wasn't received by your node. ...
0
votes
1answer
30 views

channel count differs on my site and 1ML

I wonder why: lightning-cli getinfo;listfunds { "id": "035aef5661e1a6e370db60dc0455796800afd5b51fbc12a0a8b34836b15f5d7ef6", "alias": "TWronald✅", "color": "15c315", "num_peers": 41, "...