[c-lightning] possible to run lightning behind NAT

Ján Sáreník jajomojo at gmail.com
Tue Apr 3 02:26:58 AEST 2018


Hi Yubin!

On Mon, Apr 2, 2018 at 12:50 PM, Yubin Ruan <ablacktshirt at gmail.com> wrote:

> I used testnet to test the functionality of C-lightning. I generated an
> address by
>
>     $ lightning-cli newaddr
>
> and transfered some bitcoin to that address by
>
>     $ bitcoin-cli -testnet sendtoaddress <address> <amount_in_bitcoins>
>
> After this I could see in my bitcoin-qt client that this transaction had
> been
> confirmed (by 10+ confirmation). However when I used
>
>     $ lightning-cli listfunds
>
> to list the funds I still see no fund. Will that be caused by the NAT
> issue?
> (and FYI, lightningd keep syncing after I did
>
>     $ lightningd --network=testnet --log-level=debug
>
> now it has reached "Adding block 64500+...".
>

Last time I had similar problem (lightningd syncing always from 0) I
removed the ~/.lightning directory and started over. Maybe the issue was in
incompatible DB version (which was upgraded in the meantime) but I have not
really investigated it.

Best regards, Ján
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/c-lightning/attachments/20180402/70e142ed/attachment.html>


More information about the c-lightning mailing list